diff options
author | Matt Ettus <matt@ettus.com> | 2010-06-06 02:26:48 -0700 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2010-06-06 02:26:48 -0700 |
commit | 761e22013c6715987c411216d012098e60684836 (patch) | |
tree | ba4638c2665e301f4c5839431e287b2fba5920d6 /usrp2/gpmc/gpmc_async.v | |
parent | 4f1b2441c0250a61f691c038f8bd9cfb229bd103 (diff) | |
download | uhd-761e22013c6715987c411216d012098e60684836.tar.gz uhd-761e22013c6715987c411216d012098e60684836.tar.bz2 uhd-761e22013c6715987c411216d012098e60684836.zip |
get rid of redundant fifo18, since we can just use fifo19 and ignore the occ bit
Diffstat (limited to 'usrp2/gpmc/gpmc_async.v')
-rw-r--r-- | usrp2/gpmc/gpmc_async.v | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usrp2/gpmc/gpmc_async.v b/usrp2/gpmc/gpmc_async.v index 380689c62..f42b835ed 100644 --- a/usrp2/gpmc/gpmc_async.v +++ b/usrp2/gpmc/gpmc_async.v @@ -82,16 +82,17 @@ module gpmc_async wire [15:0] rx_fifo_space; wire [35:0] rx36_data; wire rx36_src_rdy, rx36_dst_rdy; + wire dummy; fifo_cascade #(.WIDTH(36), .SIZE(RXFIFOSIZE)) rx_fifo36 (.clk(wb_clk), .reset(wb_rst), .clear(0), .datain(rx_data_i), .src_rdy_i(rx_src_rdy_i), .dst_rdy_o(rx_dst_rdy_o), .dataout(rx36_data), .src_rdy_o(rx36_src_rdy), .dst_rdy_i(rx36_dst_rdy)); - fifo36_to_fifo18 f18_to_f36 + fifo36_to_fifo19 f36_to_f19 (.clk(fifo_clk), .reset(fifo_rst), .clear(0), .f36_datain(rx36_data), .f36_src_rdy_i(rx36_src_rdy), .f36_dst_rdy_o(rx36_dst_rdy), - .f18_dataout(rx18_data), .f18_src_rdy_o(rx18_src_rdy), .f18_dst_rdy_i(rx18_dst_rdy) ); + .f19_dataout({dummy,rx18_data}), .f19_src_rdy_o(rx18_src_rdy), .f19_dst_rdy_i(rx18_dst_rdy) ); fifo_cascade #(.WIDTH(18), .SIZE(12)) rx_fifo (.clk(fifo_clk), .reset(fifo_rst), .clear(0), |