summaryrefslogtreecommitdiffstats
path: root/usrp2/gpif/packet_reframer.v
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2012-03-26 12:23:22 -0700
committerNick Foster <nick@nerdnetworks.org>2012-03-26 12:23:22 -0700
commit842c54ecb5f20d7787ccd8f6034755a92ed67b5f (patch)
treec122ed7d992addc6a55c15e4d1d8632bdc44ce9f /usrp2/gpif/packet_reframer.v
parent6d2d62ca6aebce0830da94ede6b3c7f995f127e1 (diff)
downloaduhd-842c54ecb5f20d7787ccd8f6034755a92ed67b5f.tar.gz
uhd-842c54ecb5f20d7787ccd8f6034755a92ed67b5f.tar.bz2
uhd-842c54ecb5f20d7787ccd8f6034755a92ed67b5f.zip
B100: port cleanups from b100-txbug to this branch
Diffstat (limited to 'usrp2/gpif/packet_reframer.v')
-rw-r--r--usrp2/gpif/packet_reframer.v5
1 files changed, 2 insertions, 3 deletions
diff --git a/usrp2/gpif/packet_reframer.v b/usrp2/gpif/packet_reframer.v
index 8bb8a3678..e0ce9e174 100644
--- a/usrp2/gpif/packet_reframer.v
+++ b/usrp2/gpif/packet_reframer.v
@@ -20,7 +20,7 @@
module packet_reframer
(input clk, input reset, input clear,
- input [18:0] data_i,
+ input [15:0] data_i,
input src_rdy_i,
output dst_rdy_o,
output [18:0] data_o,
@@ -60,8 +60,7 @@ module packet_reframer
wire occ_out = 0;
assign eof_out = (state == RF_PKT) & (length == 2);
wire sof_out = (state == RF_IDLE);
- wire [15:0] data_out = data_i[15:0];
- assign data_o = {occ_out, eof_out, sof_out, data_out};
+ assign data_o = {occ_out, eof_out, sof_out, data_i[15:0]};
endmodule // packet_reframer