aboutsummaryrefslogtreecommitdiffstats
path: root/usrp2/sdr_lib/rx_frontend.v
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2011-05-09 17:20:32 -0700
committerMatt Ettus <matt@ettus.com>2011-06-08 10:52:51 -0700
commit568535308d377eeb459a385f7a10b40cbe73a4d9 (patch)
tree746a8743e86c0e6d521c8c5a6cfcc74c2ab7e61e /usrp2/sdr_lib/rx_frontend.v
parent90c74cd45885ab2aba3d090a8deebd11b96c6d7c (diff)
downloaduhd-568535308d377eeb459a385f7a10b40cbe73a4d9.tar.gz
uhd-568535308d377eeb459a385f7a10b40cbe73a4d9.tar.bz2
uhd-568535308d377eeb459a385f7a10b40cbe73a4d9.zip
dsp: add2_and_clip_reg and round_sd now are now strobed to be compatible
with strobed (non-full rate) data
Diffstat (limited to 'usrp2/sdr_lib/rx_frontend.v')
-rw-r--r--usrp2/sdr_lib/rx_frontend.v13
1 files changed, 9 insertions, 4 deletions
diff --git a/usrp2/sdr_lib/rx_frontend.v b/usrp2/sdr_lib/rx_frontend.v
index 0ad83f6c7..98f72509c 100644
--- a/usrp2/sdr_lib/rx_frontend.v
+++ b/usrp2/sdr_lib/rx_frontend.v
@@ -63,13 +63,18 @@ module rx_frontend
add2_and_clip_reg #(.WIDTH(24)) add_clip_i
(.clk(clk), .rst(rst),
- .in1({adc_i_ofs,6'd0}), .in2({{4{corr_i[35]}},corr_i[35:16]}), .sum(i_final));
+ .in1({adc_i_ofs,6'd0}), .in2({{4{corr_i[35]}},corr_i[35:16]}), .strobe_in(1'b1),
+ .sum(i_final), .strobe_out());
add2_and_clip_reg #(.WIDTH(24)) add_clip_q
(.clk(clk), .rst(rst),
- .in1({adc_q_ofs,6'd0}), .in2({{4{corr_q[35]}},corr_q[35:16]}), .sum(q_final));
+ .in1({adc_q_ofs,6'd0}), .in2({{4{corr_q[35]}},corr_q[35:16]}), .strobe_in(1'b1),
+ .sum(q_final), .strobe_out());
- round_sd #(.WIDTH_IN(24),.WIDTH_OUT(18)) round_i (.clk(clk), .reset(rst), .in(i_final), .out(i_out));
- round_sd #(.WIDTH_IN(24),.WIDTH_OUT(18)) round_q (.clk(clk), .reset(rst), .in(q_final), .out(q_out));
+ round_sd #(.WIDTH_IN(24),.WIDTH_OUT(18))
+ round_i (.clk(clk), .reset(rst), .in(i_final), .strobe_in(1'b1), .out(i_out), .strobe_out());
+
+ round_sd #(.WIDTH_IN(24),.WIDTH_OUT(18))
+ round_q (.clk(clk), .reset(rst), .in(q_final), .strobe_in(1'b1), .out(q_out), .strobe_out());
endmodule // rx_frontend