]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
update
authorYour Name <you@example.com>
Wed, 10 Aug 2016 12:12:27 +0000 (14:12 +0200)
committerYour Name <you@example.com>
Wed, 10 Aug 2016 12:12:27 +0000 (14:12 +0200)
trb3_gbe/trb3_central_gbe.prj
trb3_gbe/trb3_central_gbe.vhd

index a1b521ef6822347c3e727854baa6814c7d4a3cfa..accecc8cf90185fd1b15fe97f8c9dd23cd29687d 100644 (file)
@@ -99,6 +99,7 @@ add_file -vhdl -lib work "../../trbnet/gbe_trb/base/trb_net16_gbe_setup.vhd"
 add_file -vhdl -lib work "../../trbnet/gbe_trb/base/ip_configurator.vhd"
 add_file -vhdl -lib work "../../trbnet/gbe_trb/protocols/trb_net16_gbe_response_constructor_ARP.vhd"
 add_file -vhdl -lib work "../../trbnet/gbe_trb/protocols/trb_net16_gbe_response_constructor_Ping.vhd"
+add_file -vhdl -lib work "../../trbnet/gbe_trb/protocols/trb_net16_gbe_response_constructor_KillPing.vhd"
 add_file -vhdl -lib work "../../trbnet/gbe_trb/protocols/trb_net16_gbe_response_constructor_DHCP.vhd"
 add_file -vhdl -lib work "../../trbnet/gbe_trb/protocols/trb_net16_gbe_response_constructor_SCTRL.vhd"
 add_file -vhdl -lib work "../../trbnet/gbe_trb/protocols/trb_net16_gbe_response_constructor_TrbNetData.vhd"
index 29d5a81c51607d047cbca7a742c98509cf7c6960..491defeb4fc37b95f1fbfbf427de89e9327093a5 100644 (file)
@@ -297,6 +297,8 @@ signal reset_i_temp  : std_logic;
    signal busgbeip_rx, busgbereg_rx : CTRLBUS_RX;
    signal busgbeip_tx, busgbereg_tx : CTRLBUS_TX;
 
+signal do_reboot, reboot_from_gbe : std_logic;
+
 
 begin
 
@@ -729,6 +731,8 @@ THE_MEDIA_ONBOARD : trb_net16_med_ecp3_sfp_4
       FEE_BUSY_IN              => fee_busy,       
       
       MC_UNIQUE_ID_IN          => mc_unique_id,  
+      MY_TRBNET_ADDRESS_IN => my_address,
+      ISSUE_REBOOT_OUT => reboot_from_gbe,  
       
       GSC_CLK_IN               => clk_sys_i,            
       GSC_INIT_DATAREADY_OUT   => gsc_init_dataready,   
@@ -912,7 +916,7 @@ THE_SPI_RELOAD : entity work.spi_flash_and_fpga_reload
     BUS_DATA_IN          => spimem_data_in,
     BUS_DATA_OUT         => spimem_data_out,
     
-    DO_REBOOT_IN         => common_ctrl_regs(15),     
+    DO_REBOOT_IN         => do_reboot, --common_ctrl_regs(15),     
     PROGRAMN             => PROGRAMN,
     
     SPI_CS_OUT           => FLASH_CS,
@@ -921,6 +925,8 @@ THE_SPI_RELOAD : entity work.spi_flash_and_fpga_reload
     SPI_SDI_IN           => FLASH_DOUT
     );
 
+do_reboot <= common_ctrl_regs(15) or reboot_from_gbe;
+
 ---------------------------------------------------------------------------
 -- Trigger logic
 ---------------------------------------------------------------------------