mirror of
https://github.com/alexforencich/verilog-ethernet.git
synced 2025-01-14 06:43:18 +08:00
Remove unused state bit
This commit is contained in:
parent
0927f4c326
commit
9e7f4a9836
@ -152,12 +152,12 @@ localparam [3:0]
|
||||
INPUT_TYPE_TERM_6 = 4'd14,
|
||||
INPUT_TYPE_TERM_7 = 4'd15;
|
||||
|
||||
localparam [2:0]
|
||||
STATE_IDLE = 3'd0,
|
||||
STATE_PAYLOAD = 3'd1,
|
||||
STATE_LAST = 3'd2;
|
||||
localparam [1:0]
|
||||
STATE_IDLE = 2'd0,
|
||||
STATE_PAYLOAD = 2'd1,
|
||||
STATE_LAST = 2'd2;
|
||||
|
||||
reg [2:0] state_reg = STATE_IDLE, state_next;
|
||||
reg [1:0] state_reg = STATE_IDLE, state_next;
|
||||
|
||||
// datapath control signals
|
||||
reg reset_crc;
|
||||
|
Loading…
x
Reference in New Issue
Block a user