summaryrefslogtreecommitdiffstats
path: root/usrp2/gpif/gpif_rd.v
diff options
context:
space:
mode:
Diffstat (limited to 'usrp2/gpif/gpif_rd.v')
-rw-r--r--usrp2/gpif/gpif_rd.v11
1 files changed, 1 insertions, 10 deletions
diff --git a/usrp2/gpif/gpif_rd.v b/usrp2/gpif/gpif_rd.v
index e79b275b3..ed0721a36 100644
--- a/usrp2/gpif/gpif_rd.v
+++ b/usrp2/gpif/gpif_rd.v
@@ -32,8 +32,7 @@ module gpif_rd
.arst(sys_rst));
reg [7:0] packet_count;
- reg do_padding;
- wire consume_data_line = gpif_rd & ~gpif_ep & ~read_count[8] & ~do_padding;
+ wire consume_data_line = gpif_rd & ~gpif_ep & ~read_count[8];
wire produce_eop = src_rdy_int & dst_rdy_int & data_int[17];
wire consume_sop = consume_data_line & final_rdy_data & data_o[16];
wire consume_eop = consume_data_line & final_rdy_data & data_o[17];
@@ -54,14 +53,6 @@ module gpif_rd
always @(negedge gpif_clk)
if(gpif_rst)
- do_padding <= 0;
- else if(~gpif_rd)
- do_padding <= 0;
- else if(consume_eop)
- do_padding <= 1;
-
- always @(negedge gpif_clk)
- if(gpif_rst)
gpif_empty_d <= 1;
else
gpif_empty_d <= ~|packet_count;