mirror of
https://github.com/corundum/corundum.git
synced 2025-01-16 08:12:53 +08:00
Remove unused register
This commit is contained in:
parent
4a46cf72fd
commit
71511b3671
@ -66,8 +66,6 @@ reg [2:0] state_reg = STATE_IDLE, state_next;
|
||||
reg reset_crc;
|
||||
reg update_crc;
|
||||
|
||||
reg [7:0] frame_ptr_reg = 0, frame_ptr_next;
|
||||
|
||||
reg [7:0] gmii_rxd_d0 = 0;
|
||||
reg [7:0] gmii_rxd_d1 = 0;
|
||||
reg [7:0] gmii_rxd_d2 = 0;
|
||||
@ -118,8 +116,6 @@ always @* begin
|
||||
reset_crc = 0;
|
||||
update_crc = 0;
|
||||
|
||||
frame_ptr_next = frame_ptr_reg;
|
||||
|
||||
output_axis_tdata_next = 0;
|
||||
output_axis_tvalid_next = 0;
|
||||
output_axis_tlast_next = 0;
|
||||
@ -176,8 +172,6 @@ always @(posedge clk) begin
|
||||
if (rst) begin
|
||||
state_reg <= STATE_IDLE;
|
||||
|
||||
frame_ptr_reg <= 0;
|
||||
|
||||
output_axis_tdata_reg <= 0;
|
||||
output_axis_tvalid_reg <= 0;
|
||||
output_axis_tlast_reg <= 0;
|
||||
@ -190,8 +184,6 @@ always @(posedge clk) begin
|
||||
end else begin
|
||||
state_reg <= state_next;
|
||||
|
||||
frame_ptr_reg <= frame_ptr_next;
|
||||
|
||||
output_axis_tdata_reg <= output_axis_tdata_next;
|
||||
output_axis_tvalid_reg <= output_axis_tvalid_next;
|
||||
output_axis_tlast_reg <= output_axis_tlast_next;
|
||||
|
Loading…
x
Reference in New Issue
Block a user