Skip to content

Commit

Permalink
Remove z from default states for FSM inference
Browse files Browse the repository at this point in the history
  • Loading branch information
alexforencich committed Mar 9, 2015
1 parent d73b296 commit 51b5335
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion rtl/arp_eth_rx.v
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ assign error_header_early_termination = error_header_early_termination_reg;
assign error_invalid_header = error_invalid_header_reg;

always @* begin
state_next = 2'bz;
state_next = STATE_IDLE;

input_eth_hdr_ready_next = 0;
input_eth_payload_tready_next = 0;
Expand Down
2 changes: 1 addition & 1 deletion rtl/arp_eth_rx_64.v
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ assign error_header_early_termination = error_header_early_termination_reg;
assign error_invalid_header = error_invalid_header_reg;

always @* begin
state_next = 2'bz;
state_next = STATE_IDLE;

input_eth_hdr_ready_next = 0;
input_eth_payload_tready_next = 0;
Expand Down
2 changes: 1 addition & 1 deletion rtl/arp_eth_tx.v
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ assign output_eth_type = output_eth_type_reg;
assign busy = busy_reg;

always @* begin
state_next = 2'bz;
state_next = STATE_IDLE;

input_frame_ready_next = 0;

Expand Down
2 changes: 1 addition & 1 deletion rtl/arp_eth_tx_64.v
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ assign output_eth_type = output_eth_type_reg;
assign busy = busy_reg;

always @* begin
state_next = 2'bz;
state_next = STATE_IDLE;

input_frame_ready_next = 0;

Expand Down
2 changes: 1 addition & 1 deletion rtl/eth_axis_rx.v
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ assign busy = busy_reg;
assign error_header_early_termination = error_header_early_termination_reg;

always @* begin
state_next = 2'bz;
state_next = STATE_IDLE;

input_axis_tready_next = 0;

Expand Down
2 changes: 1 addition & 1 deletion rtl/eth_axis_rx_64.v
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ always @* begin
end

always @* begin
state_next = 2'bz;
state_next = STATE_IDLE;

input_axis_tready_next = 0;

Expand Down
2 changes: 1 addition & 1 deletion rtl/eth_axis_tx.v
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ assign input_eth_payload_tready = input_eth_payload_tready_reg;
assign busy = busy_reg;

always @* begin
state_next = 2'bz;
state_next = STATE_IDLE;

input_eth_hdr_ready_next = 0;
input_eth_payload_tready_next = 0;
Expand Down
2 changes: 1 addition & 1 deletion rtl/eth_axis_tx_64.v
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ always @* begin
end

always @* begin
state_next = 2'bz;
state_next = STATE_IDLE;

input_eth_hdr_ready_next = 0;
input_eth_payload_tready_next = 0;
Expand Down
2 changes: 1 addition & 1 deletion rtl/ip.v
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ assign arp_request_ip = input_ip_dest_ip;
assign tx_error_arp_failed = arp_response_error;

always @* begin
state_next = 8'bz;
state_next = STATE_IDLE;

arp_request_valid_next = 0;
drop_packet_next = 0;
Expand Down
2 changes: 1 addition & 1 deletion rtl/ip_64.v
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ assign arp_request_ip = input_ip_dest_ip;
assign tx_error_arp_failed = arp_response_error;

always @* begin
state_next = 8'bz;
state_next = STATE_IDLE;

arp_request_valid_next = 0;
drop_packet_next = 0;
Expand Down
2 changes: 1 addition & 1 deletion rtl/ip_eth_rx.v
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ function [15:0] add1c16b;
endfunction

always @* begin
state_next = 2'bz;
state_next = STATE_IDLE;

input_eth_hdr_ready_next = 0;
input_eth_payload_tready_next = 0;
Expand Down
2 changes: 1 addition & 1 deletion rtl/ip_eth_rx_64.v
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ always @* begin
end

always @* begin
state_next = 2'bz;
state_next = STATE_IDLE;

flush_save = 0;
transfer_in_save = 0;
Expand Down
2 changes: 1 addition & 1 deletion rtl/ip_eth_tx.v
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function [15:0] add1c16b;
endfunction

always @* begin
state_next = 2'bz;
state_next = STATE_IDLE;

input_ip_hdr_ready_next = 0;
input_ip_payload_tready_next = 0;
Expand Down
2 changes: 1 addition & 1 deletion rtl/ip_eth_tx_64.v
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ always @* begin
end

always @* begin
state_next = 2'bz;
state_next = STATE_IDLE;

input_ip_hdr_ready_next = 0;
input_ip_payload_tready_next = 0;
Expand Down
2 changes: 1 addition & 1 deletion rtl/udp_ip_rx.v
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ assign error_header_early_termination = error_header_early_termination_reg;
assign error_payload_early_termination = error_payload_early_termination_reg;

always @* begin
state_next = 2'bz;
state_next = STATE_IDLE;

input_ip_hdr_ready_next = 0;
input_ip_payload_tready_next = 0;
Expand Down
2 changes: 1 addition & 1 deletion rtl/udp_ip_rx_64.v
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ function [7:0] count2keep;
endfunction

always @* begin
state_next = 2'bz;
state_next = STATE_IDLE;

input_ip_hdr_ready_next = 0;
input_ip_payload_tready_next = 0;
Expand Down
2 changes: 1 addition & 1 deletion rtl/udp_ip_tx.v
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ assign busy = busy_reg;
assign error_payload_early_termination = error_payload_early_termination_reg;

always @* begin
state_next = 2'bz;
state_next = STATE_IDLE;

input_udp_hdr_ready_next = 0;
input_udp_payload_tready_next = 0;
Expand Down
2 changes: 1 addition & 1 deletion rtl/udp_ip_tx_64.v
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ function [7:0] count2keep;
endfunction

always @* begin
state_next = 2'bz;
state_next = STATE_IDLE;

input_udp_hdr_ready_next = 0;
input_udp_payload_tready_next = 0;
Expand Down

0 comments on commit 51b5335

Please sign in to comment.