summaryrefslogtreecommitdiffstats
path: root/usrp2/gpif/packet_reframer.v
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-03-26 15:09:46 -0700
committerJosh Blum <josh@joshknows.com>2012-03-26 15:09:46 -0700
commita40bb6e9b79f1ad519848dff6054d32a1cda2380 (patch)
tree90d4e00bd5c036f70837853277ddb849a0870fea /usrp2/gpif/packet_reframer.v
parent6d70e5b3ad4c973a798dd00335fb8785b8c84ff3 (diff)
parent842c54ecb5f20d7787ccd8f6034755a92ed67b5f (diff)
downloaduhd-a40bb6e9b79f1ad519848dff6054d32a1cda2380.tar.gz
uhd-a40bb6e9b79f1ad519848dff6054d32a1cda2380.tar.bz2
uhd-a40bb6e9b79f1ad519848dff6054d32a1cda2380.zip
Merge branch 'master' into next
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