Remove unused state bit

This commit is contained in:
Alex Forencich 2019-06-20 18:02:15 -07:00
parent 0927f4c326
commit 9e7f4a9836

View File

@ -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;