From 8575074ce0c6cfca9114bfc9e73bb790d09645c8 Mon Sep 17 00:00:00 2001 From: jcorgan Date: Mon, 27 Apr 2009 22:13:33 +0000 Subject: Fix swapped signals. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10926 221aa14e-8319-0410-a670-987f0aec2ac5 --- top/u2_rev3_iad/dsp_core_rx.v | 3 ++- top/u2_rev3_iad/dsp_core_tb.v | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'top/u2_rev3_iad') diff --git a/top/u2_rev3_iad/dsp_core_rx.v b/top/u2_rev3_iad/dsp_core_rx.v index 0ad823cac..2882464ba 100644 --- a/top/u2_rev3_iad/dsp_core_rx.v +++ b/top/u2_rev3_iad/dsp_core_rx.v @@ -117,7 +117,8 @@ module dsp_core_rx .xo(i_cordic),.yo(q_cordic),.zo() ); // Reconstruct original decimation rate from standard firmware settings - assign decim_rate = enable_hb1 ? (enable_hb2 ? {cic_decim,2'b0} : {1'b0,cic_decim,1'b0 }) : + assign decim_rate = enable_hb2 ? (enable_hb1 ? {cic_decim,2'b0} : + {1'b0,cic_decim,1'b0 }) : cic_decim; cic_strober #(.WIDTH(10)) // Convenient reuse of strobe generator diff --git a/top/u2_rev3_iad/dsp_core_tb.v b/top/u2_rev3_iad/dsp_core_tb.v index 6b4c1669b..4d5a5b537 100644 --- a/top/u2_rev3_iad/dsp_core_tb.v +++ b/top/u2_rev3_iad/dsp_core_tb.v @@ -175,7 +175,7 @@ module dsp_core_tb; set_rx_muxctrl(1); set_ddc_freq(0); set_rx_scale_iq(1243, 1243); - set_decim(1, 1, 10); + set_decim(0, 1, 3); #100000 $finish; end -- cgit v1.2.3