summaryrefslogtreecommitdiffstats
path: root/udp/udp_wrapper.v
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2010-01-05 18:10:36 -0800
committerMatt Ettus <matt@ettus.com>2010-01-05 18:10:36 -0800
commit869b6bf2f705c7cca2d6003687a3f43c08d0d914 (patch)
tree0e75bcbc70febaac28e7a3d98fe1fe3c2a9cdc0a /udp/udp_wrapper.v
parent0512ccc18c3595b0c71b2670fc9de598027eba53 (diff)
downloaduhd-869b6bf2f705c7cca2d6003687a3f43c08d0d914.tar.gz
uhd-869b6bf2f705c7cca2d6003687a3f43c08d0d914.tar.bz2
uhd-869b6bf2f705c7cca2d6003687a3f43c08d0d914.zip
actually connect the ports -- why this isn't flagged as an error I'll never know
Diffstat (limited to 'udp/udp_wrapper.v')
-rw-r--r--udp/udp_wrapper.v11
1 files changed, 8 insertions, 3 deletions
diff --git a/udp/udp_wrapper.v b/udp/udp_wrapper.v
index 2d516ac77..3ecc20b89 100644
--- a/udp/udp_wrapper.v
+++ b/udp/udp_wrapper.v
@@ -8,9 +8,10 @@ module udp_wrapper
output [18:0] tx_f19_data, output tx_f19_src_rdy_o, input tx_f19_dst_rdy_i,
output [35:0] rx_f36_data, output rx_f36_src_rdy_o, input rx_f36_dst_rdy_i,
- input [35:0] tx_f36_data, input tx_f36_src_rdy_i, output tx_f36_dst_rdy_o
+ input [35:0] tx_f36_data, input tx_f36_src_rdy_i, output tx_f36_dst_rdy_o,
+ output [31:0] debug
);
-
+
wire tx_int1_src_rdy, tx_int1_dst_rdy;
wire [18:0] tx_int1_data;
@@ -71,8 +72,12 @@ module udp_wrapper
fifo_cascade #(.WIDTH(36),.SIZE(RXFIFOSIZE)) eth0_rxfifo
(.clk(clk), .reset(reset), .clear(clear),
.datain(rx_int3_data), .src_rdy_i(rx_int3_src_rdy), .dst_rdy_o(rx_int3_dst_rdy),
- .dataout({f36_flags_o,f36_data_o}), .src_rdy_o(f36_src_rdy_o), .dst_rdy_i(f36_dst_rdy_i),
+ .dataout(rx_f36_data_o}), .src_rdy_o(rx_f36_src_rdy_o), .dst_rdy_i(rx_f36_dst_rdy_i),
.space(), .occupied() );
+ assign debug = { { 1'b0, rx_f19_data[18:16], rx_f19_src_rdy_i, rx_f19_dst_rdy_o, rx_f36_src_rdy_o, rx_f36_dst_rdy_i },
+ { 2'b0, rx_int1_src_rdy, rx_int1_dst_rdy, rx_int2_src_rdy, rx_int2_dst_rdy, rx_int3_src_rdy, rx_int3_dst_rdy},
+ { 4'b0, rx_f36_data_o[35:32] },
+ {} };
endmodule // udp_wrapper