mirror of
https://github.com/alexforencich/verilog-ethernet.git
synced 2025-01-14 06:43:18 +08:00
Remove unused reg
This commit is contained in:
parent
88f3e97bad
commit
dfab866e99
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user