Remove unused reg

This commit is contained in:
Alex Forencich 2015-07-13 23:09:02 -07:00
parent 88f3e97bad
commit dfab866e99
2 changed files with 2 additions and 4 deletions

View File

@ -63,7 +63,7 @@ module axis_srl_fifo #
);
reg [DATA_WIDTH+2-1:0] data_reg[DEPTH-1:0];
reg [$clog2(DEPTH+1)-1:0] ptr_reg = 0, ptr_next;
reg [$clog2(DEPTH+1)-1:0] ptr_reg = 0;
reg full_reg = 0, full_next;
reg empty_reg = 1, empty_next;
@ -93,7 +93,6 @@ always @* begin
shift = 0;
inc = 0;
dec = 0;
ptr_next = ptr_reg;
full_next = full_reg;
empty_next = empty_reg;

View File

@ -66,7 +66,7 @@ module axis_srl_fifo_64 #
);
reg [DATA_WIDTH+KEEP_WIDTH+2-1:0] data_reg[DEPTH-1:0];
reg [$clog2(DEPTH+1)-1:0] ptr_reg = 0, ptr_next;
reg [$clog2(DEPTH+1)-1:0] ptr_reg = 0;
reg full_reg = 0, full_next;
reg empty_reg = 1, empty_next;
@ -96,7 +96,6 @@ always @* begin
shift = 0;
inc = 0;
dec = 0;
ptr_next = ptr_reg;
full_next = full_reg;
empty_next = empty_reg;