]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
add status port to gbe wrapper for possible LED use
authorJan Michel <michel@physik.uni-frankfurt.de>
Thu, 27 Oct 2022 12:54:58 +0000 (14:54 +0200)
committerJan Michel <michel@physik.uni-frankfurt.de>
Thu, 27 Oct 2022 12:54:58 +0000 (14:54 +0200)
gbe_trb/base/gbe_wrapper.vhd
trb_net16_endpoint_hades_full_gbe.vhd
trb_net16_endpoint_hades_full_handler_record.vhd
trb_net_components.vhd

index 4a23493a87fb855a7200ae1fd2a593a0a4bb75a5..1faac469c3c9db8f9b6187671336464caf9a5d92 100644 (file)
@@ -95,7 +95,8 @@ entity gbe_wrapper is
     FWD_FULL_OUT             : out std_logic_vector(NUMBER_OF_GBE_LINKS - 1 downto 0);
 
     MAKE_RESET_OUT           : out std_logic;
-    DEBUG_OUT                : out std_logic_vector(127 downto 0)
+    DEBUG_OUT                : out std_logic_vector(127 downto 0);
+    STATUS_OUT               : out std_logic_vector(15 downto 0)
   );
 end entity gbe_wrapper;
 
index 41cad6fa0ecfc0339c4201ce7ae4d967fd988bee..ebb099ddf581358ef9eda4c5abbf6d5498bb57ed 100644 (file)
@@ -166,6 +166,7 @@ entity trb_net16_endpoint_hades_full_gbe is
     STAT_ONEWIRE              : out std_logic_vector (31 downto 0);
     STAT_ADDR_DEBUG           : out std_logic_vector (15 downto 0);
     STAT_TRIGGER_OUT          : out std_logic_vector (79 downto 0);
+    STATUS_GBE_OUT            : out std_logic_vector (15 downto 0);
     DEBUG_LVL1_HANDLER_OUT    : out std_logic_vector (15 downto 0)
     );
 end trb_net16_endpoint_hades_full_gbe;
@@ -609,7 +610,7 @@ begin
                 
                 MAKE_RESET_OUT           => open,
 
-                DEBUG_OUT                => open
+                STATUS_OUT               => STATUS_GBE_OUT
                 ); 
           end generate;
           gen_no_gbe : if USE_GBE = 0 generate
index 5bd608f6413287c9d4c70a823a9ef6fd9705f01b..6d718ae551b8160cf86653856115ec6f58c3f5af 100644 (file)
@@ -84,6 +84,7 @@ entity trb_net16_endpoint_hades_full_handler_record is
     STAT_ONEWIRE                 : out std_logic_vector (31 downto 0);
     STAT_ADDR_DEBUG              : out std_logic_vector (15 downto 0);
     STAT_TRIGGER_OUT             : out std_logic_vector (79 downto 0);
+    STATUS_GBE_OUT               : out std_logic_vector (15 downto 0);    
     DEBUG_LVL1_HANDLER_OUT       : out std_logic_vector (15 downto 0)
     );
 end entity;
@@ -299,6 +300,7 @@ begin
       STAT_ONEWIRE               => open,
       STAT_ADDR_DEBUG            => open,
       STAT_TRIGGER_OUT           => STAT_TRIGGER_OUT,      
+      STATUS_GBE_OUT             => STATUS_GBE_OUT,
       DEBUG_LVL1_HANDLER_OUT     => DEBUG_LVL1_HANDLER_OUT
       );
 
index c0c81c014c8ba0da463fe4a0ca7be74346865db9..113169a5b93aa8652795b04cadf045912a69fe26 100644 (file)
@@ -113,7 +113,8 @@ component  gbe_wrapper is
     FWD_FULL_OUT : out std_logic_vector(NUMBER_OF_GBE_LINKS - 1 downto 0);\r
 \r
                MAKE_RESET_OUT           : out std_logic;\r
-               DEBUG_OUT                : out std_logic_vector(127 downto 0)\r
+               DEBUG_OUT                : out std_logic_vector(127 downto 0);\r
+               STATUS_OUT               : out std_logic_vector(15 downto 0)\r
        );\r
 end component;\r
 \r
@@ -1012,6 +1013,7 @@ component trb_net16_endpoint_hades_full_gbe is
     STAT_ONEWIRE              : out std_logic_vector (31 downto 0);\r
     STAT_ADDR_DEBUG           : out std_logic_vector (15 downto 0);\r
     STAT_TRIGGER_OUT          : out std_logic_vector (79 downto 0);\r
+    STATUS_GBE_OUT            : out std_logic_vector (15 downto 0);    \r
     DEBUG_LVL1_HANDLER_OUT    : out std_logic_vector (15 downto 0)\r
     );\r
 end component;  \r