diff options
author | Matt Ettus <matt@ettus.com> | 2011-02-17 21:40:45 -0800 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2011-02-17 21:40:45 -0800 |
commit | 105bf8a5ef1860b0fed22e1317e4507ea77b8d5e (patch) | |
tree | 564c5e1e64df1f230fa4baa0671b6f9b9b5d0feb /usrp2/fifo | |
parent | db9083fd8036317d2a19ba48b2e3feda26ef85a9 (diff) | |
download | uhd-105bf8a5ef1860b0fed22e1317e4507ea77b8d5e.tar.gz uhd-105bf8a5ef1860b0fed22e1317e4507ea77b8d5e.tar.bz2 uhd-105bf8a5ef1860b0fed22e1317e4507ea77b8d5e.zip |
u2/u2p: inserted short fifo into the packet inspector path to help routing and timing
Diffstat (limited to 'usrp2/fifo')
-rw-r--r-- | usrp2/fifo/packet_router.v | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/usrp2/fifo/packet_router.v b/usrp2/fifo/packet_router.v index 4667ab220..bad8fb7fc 100644 --- a/usrp2/fifo/packet_router.v +++ b/usrp2/fifo/packet_router.v @@ -117,6 +117,11 @@ module packet_router wire _eth_inp_valid; wire _eth_inp_ready; + // dummy signals to connect fifo_short + wire [35:0] _com_inp_data; + wire _com_inp_valid; + wire _com_inp_ready; + valve36 eth_inp_valve ( .clk(stream_clk), .reset(stream_rst), .clear(stream_clr), .shutoff(~master_mode_flag), .data_i(eth_inp_data), .src_rdy_i(eth_inp_valid), .dst_rdy_o(eth_inp_ready), @@ -127,10 +132,17 @@ module packet_router .clk(stream_clk), .reset(stream_rst), .clear(stream_clr), .cross(~master_mode_flag), .data0_i(_eth_inp_data), .src0_rdy_i(_eth_inp_valid), .dst0_rdy_o(_eth_inp_ready), .data1_i(ser_inp_data), .src1_rdy_i(ser_inp_valid), .dst1_rdy_o(ser_inp_ready), - .data0_o(com_inp_data), .src0_rdy_o(com_inp_valid), .dst0_rdy_i(com_inp_ready), + .data0_o(_com_inp_data), .src0_rdy_o(_com_inp_valid), .dst0_rdy_i(_com_inp_ready), .data1_o(ext_inp_data), .src1_rdy_o(ext_inp_valid), .dst1_rdy_i(ext_inp_ready) ); + // short fifo in the packet inspection path to help timing + fifo_short #(.WIDTH(36)) com_inp_fifo + (.clk(stream_clk), .reset(stream_rst), .clear(stream_clr), + .datain(_com_inp_data), .src_rdy_i(_com_inp_valid), .dst_rdy_o(_com_inp_ready), + .dataout(com_inp_data), .src_rdy_o(com_inp_valid), .dst_rdy_i(com_inp_ready), + .space(), .occupied() ); + //////////////////////////////////////////////////////////////////// // Communication output sink crossbar // When in master mode: |