]> jspc29.x-matter.uni-frankfurt.de Git - trb3sc.git/commitdiff
add ping-of-death via GbE to design
authorJan Michel <michel@physik.uni-frankfurt.de>
Thu, 20 Jul 2023 14:35:57 +0000 (16:35 +0200)
committerJan Michel <michel@physik.uni-frankfurt.de>
Thu, 20 Jul 2023 14:35:57 +0000 (16:35 +0200)
spillmonitor/trb3sc_spillmonitor.vhd

index ccde19306d93653e0c48c6877264eedc90ce5b71..3d466829a65f2a6c14f0b40b8dad666685f92595 100644 (file)
@@ -134,6 +134,7 @@ architecture trb3sc_arch of trb3sc_spillmonitor is
 
   signal reboot_from_gbe            : std_logic;
   signal reset_via_gbe              : std_logic;
+  signal do_reboot_i                : std_logic;
   signal ctrlbus_rx, bussci_rx, bustools_rx, busrdo_rx, bustc_rx, busgbeip_rx, busgbereg_rx, busspillmon_rx, bus_master_out  : CTRLBUS_RX;
   signal ctrlbus_tx, bussci_tx, bustools_tx, busrdo_tx, bustc_tx, busgbeip_tx, busgbereg_tx, busspillmon_tx, bus_master_in   : CTRLBUS_TX;
   
@@ -403,7 +404,7 @@ THE_CLOCK_RESET :  entity work.clock_reset_handler
       FLASH_IN    => FLASH_OUT,
       FLASH_OUT   => FLASH_IN,
       PROGRAMN    => PROGRAMN,
-      REBOOT_IN   => common_ctrl_reg(15),
+      REBOOT_IN   => do_reboot_i,
       --SPI
       SPI_CS_OUT  => spi_cs,  
       SPI_MOSI_OUT=> spi_mosi,
@@ -433,6 +434,7 @@ THE_CLOCK_RESET :  entity work.clock_reset_handler
       DEBUG_OUT  => debug_tools
       );
 
+ do_reboot_i <= common_ctrl_reg(15) or reboot_from_gbe;
       
 ---------------------------------------------------------------------------
 -- Hades Spill Mon