mirror of
https://github.com/alexforencich/verilog-ethernet.git
synced 2025-01-28 07:03:08 +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_6 = 4'd14,
|
||||||
INPUT_TYPE_TERM_7 = 4'd15;
|
INPUT_TYPE_TERM_7 = 4'd15;
|
||||||
|
|
||||||
localparam [2:0]
|
localparam [1:0]
|
||||||
STATE_IDLE = 3'd0,
|
STATE_IDLE = 2'd0,
|
||||||
STATE_PAYLOAD = 3'd1,
|
STATE_PAYLOAD = 2'd1,
|
||||||
STATE_LAST = 3'd2;
|
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
|
// datapath control signals
|
||||||
reg reset_crc;
|
reg reset_crc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user