summaryrefslogtreecommitdiffstats
path: root/usrp2/gpif/packet_splitter.v
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2011-04-25 16:26:02 -0700
committerMatt Ettus <matt@ettus.com>2011-05-26 17:31:22 -0700
commit56b133ea0d40de3a9bfcd5ed27fca083a809b084 (patch)
tree06e6485c61beca26c421631ada1519d272213fc4 /usrp2/gpif/packet_splitter.v
parent42561353c372696337983e74a5c7b690afa2aedd (diff)
downloaduhd-56b133ea0d40de3a9bfcd5ed27fca083a809b084.tar.gz
uhd-56b133ea0d40de3a9bfcd5ed27fca083a809b084.tar.bz2
uhd-56b133ea0d40de3a9bfcd5ed27fca083a809b084.zip
B100: added some packet splitter debug pins, removed debug from GPIO port, swapped I&Q in interleaver
Diffstat (limited to 'usrp2/gpif/packet_splitter.v')
-rw-r--r--usrp2/gpif/packet_splitter.v7
1 files changed, 6 insertions, 1 deletions
diff --git a/usrp2/gpif/packet_splitter.v b/usrp2/gpif/packet_splitter.v
index 1c289c2fa..a55f4cb4f 100644
--- a/usrp2/gpif/packet_splitter.v
+++ b/usrp2/gpif/packet_splitter.v
@@ -10,7 +10,9 @@ module packet_splitter
output dst_rdy_o,
output [18:0] data_o,
output src_rdy_o,
- input dst_rdy_i);
+ input dst_rdy_i,
+ output [31:0] debug0,
+ output [31:0] debug1);
reg [1:0] state;
reg [15:0] length;
@@ -98,4 +100,7 @@ module packet_splitter
wire [15:0] data_out = data_i[15:0];
assign data_o = {occ_out, eof_out, sof_out, data_out};
+ assign debug0 = { 8'd0, dst_rdy_o, src_rdy_o, next_state_is_idle, eof_out, sof_out, occ_out, state[1:0], frame_count[7:0], frames_per_packet[7:0] };
+ assign debug1 = { length[15:0], frame_len[15:0] };
+
endmodule // packet_splitter