ipv4: Remove obsolete signals
This commit is contained in:
parent
0d7981f801
commit
a0c9df28f1
@ -61,7 +61,6 @@ begin
|
|||||||
signal header_ok : std_logic;
|
signal header_ok : std_logic;
|
||||||
|
|
||||||
signal bytecount : integer range 0 to 65535;
|
signal bytecount : integer range 0 to 65535;
|
||||||
signal shifted : std_logic;
|
|
||||||
signal block_done : std_logic;
|
signal block_done : std_logic;
|
||||||
|
|
||||||
type state_t is (HEADER, OPT, PAYLOAD, DONE);
|
type state_t is (HEADER, OPT, PAYLOAD, DONE);
|
||||||
@ -79,7 +78,6 @@ begin
|
|||||||
begin
|
begin
|
||||||
if rst then
|
if rst then
|
||||||
state <= HEADER;
|
state <= HEADER;
|
||||||
shifted <= '0';
|
|
||||||
ipv4_out.rx_ok_stb <= '0';
|
ipv4_out.rx_ok_stb <= '0';
|
||||||
ipv4_out.rx_error_stb <= '0';
|
ipv4_out.rx_error_stb <= '0';
|
||||||
ipv4_out.rx_header_rcv <= '0';
|
ipv4_out.rx_header_rcv <= '0';
|
||||||
@ -90,8 +88,6 @@ begin
|
|||||||
ipv4_out.rx_error_stb <= '0';
|
ipv4_out.rx_error_stb <= '0';
|
||||||
ipv4_out.rx_header_rcv <= '0';
|
ipv4_out.rx_header_rcv <= '0';
|
||||||
|
|
||||||
shifted <= ethernet_ii_out.rx_data_valid;
|
|
||||||
|
|
||||||
if (ethernet_ii_out.rx_crc_ok or ethernet_ii_out.rx_crc_error) then
|
if (ethernet_ii_out.rx_crc_ok or ethernet_ii_out.rx_crc_error) then
|
||||||
state <= HEADER;
|
state <= HEADER;
|
||||||
bytecount <= BYTECOUNT_HEADER;
|
bytecount <= BYTECOUNT_HEADER;
|
||||||
|
@ -37,8 +37,6 @@ end entity trashernet_ipv4prot;
|
|||||||
architecture rtl of trashernet_ipv4prot is
|
architecture rtl of trashernet_ipv4prot is
|
||||||
constant SEL_PROTOCOL_NONE : integer := ipv4_protocol_out'low - 1;
|
constant SEL_PROTOCOL_NONE : integer := ipv4_protocol_out'low - 1;
|
||||||
|
|
||||||
-- signal tx_to_rx : ipv4_protocol_out_vector(ipv4_protocol_out'range); -- Only using `tx_` signals
|
|
||||||
|
|
||||||
signal rx_sel : integer range SEL_PROTOCOL_NONE to ipv4_protocol_out'high;
|
signal rx_sel : integer range SEL_PROTOCOL_NONE to ipv4_protocol_out'high;
|
||||||
signal tx_sel : integer range ipv4_protocol_in'low to ipv4_protocol_in'high;
|
signal tx_sel : integer range ipv4_protocol_in'low to ipv4_protocol_in'high;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user