PoC.net.ipv4.Wrapper

Todo

No documentation available.

Entity Declaration:

 1  );
 2  port (
 3    Clock                           : in  std_logic;
 4    Reset                           : in  std_logic;
 5    -- to MAC layer
 6    MAC_TX_Valid                    : out std_logic;
 7    MAC_TX_Data                     : out T_SLV_8;
 8    MAC_TX_SOF                      : out std_logic;
 9    MAC_TX_EOF                      : out std_logic;
10    MAC_TX_Ack                      : in  std_logic;
11    MAC_TX_Meta_rst                 : in  std_logic;
12    MAC_TX_Meta_DestMACAddress_nxt  : in  std_logic;
13    MAC_TX_Meta_DestMACAddress_Data : out T_SLV_8;
14    -- from MAC layer
15    MAC_RX_Valid                    : in  std_logic;
16    MAC_RX_Data                     : in  T_SLV_8;
17    MAC_RX_SOF                      : in  std_logic;
18    MAC_RX_EOF                      : in  std_logic;
19    MAC_RX_Ack                      : out std_logic;
20    MAC_RX_Meta_rst                 : out std_logic;
21    MAC_RX_Meta_SrcMACAddress_nxt   : out std_logic;
22    MAC_RX_Meta_SrcMACAddress_Data  : in  T_SLV_8;
23    MAC_RX_Meta_DestMACAddress_nxt  : out std_logic;
24    MAC_RX_Meta_DestMACAddress_Data : in  T_SLV_8;
25    MAC_RX_Meta_EthType             : in  T_SLV_16;
26    -- to ARP
27    ARP_IPCache_Query               : out std_logic;
28    ARP_IPCache_IPv4Address_rst     : in  std_logic;
29    ARP_IPCache_IPv4Address_nxt     : in  std_logic;
30    ARP_IPCache_IPv4Address_Data    : out T_SLV_8;
31    -- from ARP
32    ARP_IPCache_Valid               : in  std_logic;
33    ARP_IPCache_MACAddress_rst      : out std_logic;
34    ARP_IPCache_MACAddress_nxt      : out std_logic;
35    ARP_IPCache_MACAddress_Data     : in  T_SLV_8;
36    -- from upper layer
37    TX_Valid                        : in  std_logic_vector(PACKET_TYPES'length - 1 downto 0);
38    TX_Data                         : in  T_SLVV_8(PACKET_TYPES'length - 1 downto 0);
39    TX_SOF                          : in  std_logic_vector(PACKET_TYPES'length - 1 downto 0);
40    TX_EOF                          : in  std_logic_vector(PACKET_TYPES'length - 1 downto 0);
41    TX_Ack                          : out std_logic_vector(PACKET_TYPES'length - 1 downto 0);
42    TX_Meta_rst                     : out std_logic_vector(PACKET_TYPES'length - 1 downto 0);
43    TX_Meta_SrcIPv4Address_nxt      : out std_logic_vector(PACKET_TYPES'length - 1 downto 0);
44    TX_Meta_SrcIPv4Address_Data     : in  T_SLVV_8(PACKET_TYPES'length - 1 downto 0);
45    TX_Meta_DestIPv4Address_nxt     : out std_logic_vector(PACKET_TYPES'length - 1 downto 0);
46    TX_Meta_DestIPv4Address_Data    : in  T_SLVV_8(PACKET_TYPES'length - 1 downto 0);
47    TX_Meta_Length                  : in  T_SLVV_16(PACKET_TYPES'length - 1 downto 0);
48    -- to upper layer
49    RX_Valid                        : out std_logic_vector(PACKET_TYPES'length - 1 downto 0);
50    RX_Data                         : out T_SLVV_8(PACKET_TYPES'length - 1 downto 0);
51    RX_SOF                          : out std_logic_vector(PACKET_TYPES'length - 1 downto 0);
52    RX_EOF                          : out std_logic_vector(PACKET_TYPES'length - 1 downto 0);
53    RX_Ack                          : in  std_logic_vector(PACKET_TYPES'length - 1 downto 0);
54    RX_Meta_rst                     : in  std_logic_vector(PACKET_TYPES'length - 1 downto 0);
55    RX_Meta_SrcMACAddress_nxt       : in  std_logic_vector(PACKET_TYPES'length - 1 downto 0);
56    RX_Meta_SrcMACAddress_Data      : out T_SLVV_8(PACKET_TYPES'length - 1 downto 0);
57    RX_Meta_DestMACAddress_nxt      : in  std_logic_vector(PACKET_TYPES'length - 1 downto 0);
58    RX_Meta_DestMACAddress_Data     : out T_SLVV_8(PACKET_TYPES'length - 1 downto 0);
59    RX_Meta_EthType                 : out T_SLVV_16(PACKET_TYPES'length - 1 downto 0);
60    RX_Meta_SrcIPv4Address_nxt      : in  std_logic_vector(PACKET_TYPES'length - 1 downto 0);
61    RX_Meta_SrcIPv4Address_Data     : out T_SLVV_8(PACKET_TYPES'length - 1 downto 0);
62    RX_Meta_DestIPv4Address_nxt     : in  std_logic_vector(PACKET_TYPES'length - 1 downto 0);
63    RX_Meta_DestIPv4Address_Data    : out T_SLVV_8(PACKET_TYPES'length - 1 downto 0);
64    RX_Meta_Length                  : out T_SLVV_16(PACKET_TYPES'length - 1 downto 0);
65    RX_Meta_Protocol                : out T_SLVV_8(PACKET_TYPES'length - 1 downto 0)
66  );
67end entity;
68
69
70architecture rtl of ipv4_Wrapper is
71  constant IPV4_SWITCH_PORTS                : positive        := PACKET_TYPES'length;