]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
text formating
authorMichael Boehmer <mboehmer@ph.tum.de>
Wed, 10 Nov 2021 07:14:54 +0000 (08:14 +0100)
committerMichael Boehmer <mboehmer@ph.tum.de>
Wed, 10 Nov 2021 07:14:54 +0000 (08:14 +0100)
gbe_trb/base/gbe_logic_wrapper.vhd
gbe_trb/base/gbe_wrapper.vhd
gbe_trb/base/trb_net16_gbe_main_control.vhd

index 98bca315afa337ca3756ce32e3c45cfae592591f..362a16ea185579dc3ef0c45e750c8347587708c7 100644 (file)
@@ -21,7 +21,7 @@ entity gbe_logic_wrapper is
                INCLUDE_DHCP              : std_logic                   := '0';
                INCLUDE_ARP               : std_logic                   := '0';
                INCLUDE_PING              : std_logic                   := '0';
-               INCLUDE_FWD               : std_logic := '0';
+               INCLUDE_FWD               : std_logic                   := '0';
                FRAME_BUFFER_SIZE         : integer range 1 to 4        := 1;
                READOUT_BUFFER_SIZE       : integer range 1 to 4        := 1;
                SLOWCTRL_BUFFER_SIZE      : integer range 1 to 4        := 1;
@@ -126,16 +126,16 @@ entity gbe_logic_wrapper is
                CFG_AUTO_THROTTLE_IN     : in  std_logic;
                CFG_THROTTLE_PAUSE_IN    : in  std_logic_vector(15 downto 0);
 
--- Forwarder
-FWD_DST_MAC_IN : in    std_logic_vector(47 downto 0);
-FWD_DST_IP_IN : in     std_logic_vector(31 downto 0);
-FWD_DST_UDP_IN : in    std_logic_vector(15 downto 0);
-FWD_DATA_IN : in std_logic_vector(7 downto 0);
-FWD_DATA_VALID_IN : in std_logic;
-FWD_SOP_IN : in std_logic;
-FWD_EOP_IN : in std_logic;
-FWD_READY_OUT : out std_logic;
-FWD_FULL_OUT : out std_logic;
+    -- Forwarder
+    FWD_DST_MAC_IN : in        std_logic_vector(47 downto 0);
+    FWD_DST_IP_IN : in std_logic_vector(31 downto 0);
+    FWD_DST_UDP_IN : in        std_logic_vector(15 downto 0);
+    FWD_DATA_IN : in std_logic_vector(7 downto 0);
+    FWD_DATA_VALID_IN : in std_logic;
+    FWD_SOP_IN : in std_logic;
+    FWD_EOP_IN : in std_logic;
+    FWD_READY_OUT : out std_logic;
+    FWD_FULL_OUT : out std_logic;
 
                MONITOR_RX_BYTES_OUT     : out std_logic_vector(31 downto 0);
                MONITOR_RX_FRAMES_OUT    : out std_logic_vector(31 downto 0);
@@ -402,16 +402,15 @@ begin
                                CFG_AUTO_THROTTLE_IN          => '0', --CFG_AUTO_THROTTLE_IN,
                                CFG_THROTTLE_PAUSE_IN         => (others => '0'), --CFG_THROTTLE_PAUSE_IN,
 
-                               FWD_DST_MAC_IN => FWD_DST_MAC_IN,
-                               FWD_DST_IP_IN => FWD_DST_IP_IN,
-                               FWD_DST_UDP_IN => FWD_DST_UDP_IN,
-                               FWD_DATA_IN => FWD_DATA_IN,
-                               FWD_DATA_VALID_IN => FWD_DATA_VALID_IN,
-                               FWD_SOP_IN => FWD_SOP_IN,
-                               FWD_EOP_IN => FWD_EOP_IN,
-                               FWD_READY_OUT => FWD_READY_OUT,
-                               FWD_FULL_OUT => FWD_FULL_OUT,
-
+                               FWD_DST_MAC_IN                => FWD_DST_MAC_IN,
+                               FWD_DST_IP_IN                 => FWD_DST_IP_IN,
+                               FWD_DST_UDP_IN                => FWD_DST_UDP_IN,
+                               FWD_DATA_IN                   => FWD_DATA_IN,
+                               FWD_DATA_VALID_IN             => FWD_DATA_VALID_IN,
+                               FWD_SOP_IN                    => FWD_SOP_IN,
+                               FWD_EOP_IN                    => FWD_EOP_IN,
+                               FWD_READY_OUT                 => FWD_READY_OUT,
+                               FWD_FULL_OUT                  => FWD_FULL_OUT,
 
                                TSM_HADDR_OUT                 => open, --mac_haddr,
                                TSM_HDATA_OUT                 => open, --mac_hdataout,
@@ -555,15 +554,15 @@ begin
                                CFG_AUTO_THROTTLE_IN          => CFG_AUTO_THROTTLE_IN,
                                CFG_THROTTLE_PAUSE_IN         => CFG_THROTTLE_PAUSE_IN,
 
-                               FWD_DST_MAC_IN => FWD_DST_MAC_IN,
-                               FWD_DST_IP_IN => FWD_DST_IP_IN,
-                               FWD_DST_UDP_IN => FWD_DST_UDP_IN,
-                               FWD_DATA_IN => FWD_DATA_IN,
-                               FWD_DATA_VALID_IN => FWD_DATA_VALID_IN,
-                               FWD_SOP_IN => FWD_SOP_IN,
-                               FWD_EOP_IN => FWD_EOP_IN,
-                               FWD_READY_OUT => FWD_READY_OUT,
-                               FWD_FULL_OUT => FWD_FULL_OUT,
+                               FWD_DST_MAC_IN                => FWD_DST_MAC_IN,
+                               FWD_DST_IP_IN                 => FWD_DST_IP_IN,
+                               FWD_DST_UDP_IN                => FWD_DST_UDP_IN,
+                               FWD_DATA_IN                   => FWD_DATA_IN,
+                               FWD_DATA_VALID_IN             => FWD_DATA_VALID_IN,
+                               FWD_SOP_IN                    => FWD_SOP_IN,
+                               FWD_EOP_IN                    => FWD_EOP_IN,
+                               FWD_READY_OUT                 => FWD_READY_OUT,
+                               FWD_FULL_OUT                  => FWD_FULL_OUT,
 
                                -- signal to/from Host interface of TriSpeed MAC
                                TSM_HADDR_OUT                 => open, --mac_haddr,
index 1f432a05289f876608a98d4b89e8749cc59951fc..08dd2d0ef15efcd2ff45d1d69cf0dbb4af8f4422 100644 (file)
@@ -434,7 +434,7 @@ begin
                                        INCLUDE_DHCP              => LINK_HAS_DHCP(2),
                                        INCLUDE_ARP               => LINK_HAS_ARP(2),
                                        INCLUDE_PING              => LINK_HAS_PING(2),
-                                       INCLUDE_FWD               => LINK_HAS_FWD(2),
+                                       INCLUDE_FWD               => LINK_HAS_FWD(2),
                                        FRAME_BUFFER_SIZE         => 1,
                                        READOUT_BUFFER_SIZE       => 4,
                                        SLOWCTRL_BUFFER_SIZE      => 2,
@@ -585,7 +585,7 @@ FWD_FULL_OUT => FWD_FULL_OUT(2),
                                        INCLUDE_DHCP              => LINK_HAS_DHCP(1),
                                        INCLUDE_ARP               => LINK_HAS_ARP(1),
                                        INCLUDE_PING              => LINK_HAS_PING(1),
-                                       INCLUDE_FWD               => LINK_HAS_FWD(1),
+                                       INCLUDE_FWD               => LINK_HAS_FWD(1),
                                        FRAME_BUFFER_SIZE         => 1,
                                        READOUT_BUFFER_SIZE       => 4,
                                        SLOWCTRL_BUFFER_SIZE      => 2,
@@ -737,7 +737,7 @@ FWD_FULL_OUT => FWD_FULL_OUT(1),
                                        INCLUDE_DHCP              => LINK_HAS_DHCP(0),
                                        INCLUDE_ARP               => LINK_HAS_ARP(0),
                                        INCLUDE_PING              => LINK_HAS_PING(0),
-                                       INCLUDE_FWD               => LINK_HAS_FWD(0),
+                                       INCLUDE_FWD               => LINK_HAS_FWD(0),
                                        FRAME_BUFFER_SIZE         => 1,
                                        READOUT_BUFFER_SIZE       => 4,
                                        SLOWCTRL_BUFFER_SIZE      => 2,
index 75a90d5f45b4fb6d8704af9859f28f2eee19b709..6a6005842eaf2de092ba58c6a97db41b9f0da8e6 100644 (file)
@@ -145,16 +145,16 @@ entity trb_net16_gbe_main_control is
 
                MAKE_RESET_OUT                : out std_logic;
 
--- Forwarder
-FWD_DST_MAC_IN         : in    std_logic_vector(47 downto 0);
-FWD_DST_IP_IN          : in    std_logic_vector(31 downto 0);
-FWD_DST_UDP_IN         : in    std_logic_vector(15 downto 0);
-FWD_DATA_IN : in std_logic_vector(7 downto 0);
-FWD_DATA_VALID_IN : in std_logic;
-FWD_SOP_IN : in std_logic;
-FWD_EOP_IN : in std_logic;
-FWD_READY_OUT : out std_logic;
-FWD_FULL_OUT : out std_logic;
+    -- Forwarder
+    FWD_DST_MAC_IN             : in    std_logic_vector(47 downto 0);
+    FWD_DST_IP_IN              : in    std_logic_vector(31 downto 0);
+    FWD_DST_UDP_IN             : in    std_logic_vector(15 downto 0);
+    FWD_DATA_IN : in std_logic_vector(7 downto 0);
+    FWD_DATA_VALID_IN : in std_logic;
+    FWD_SOP_IN : in std_logic;
+    FWD_EOP_IN : in std_logic;
+    FWD_READY_OUT : out std_logic;
+    FWD_FULL_OUT : out std_logic;
 
                -- signal to/from Host interface of TriSpeed MAC
                TSM_HADDR_OUT                 : out std_logic_vector(7 downto 0);