Author: matt
Date: 2008-02-14 23:09:22 -0700 (Thu, 14 Feb 2008)
New Revision: 7701
Modified:
usrp2/trunk/fpga/sdr_lib/small_hb_dec.v
Log:
allow bypass
Modified: usrp2/trunk/fpga/sdr_lib/small_hb_dec.v
===================================================================
--- usrp2/trunk/fpga/sdr_lib/small_hb_dec.v 2008-02-15 06:01:22 UTC (rev
7700)
+++ usrp2/trunk/fpga/sdr_lib/small_hb_dec.v 2008-02-15 06:09:22 UTC (rev
7701)
@@ -73,7 +73,9 @@
reg [17:0] final_sum;
always @(posedge clk)
- if(go_d4)
+ if(bypass)
+ final_sum <= data_in;
+ else if(go_d4)
final_sum <= accum_rnd;
assign data_out = final_sum;
@@ -81,6 +83,8 @@
always @(posedge clk)
if(rst)
stb_out <= 0;
+ else if(bypass)
+ stb_out <= stb_in;
else
stb_out <= go_d4;
endmodule // small_hb_dec
_______________________________________________
Commit-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnuradio