]> jspc29.x-matter.uni-frankfurt.de Git - trb3sc.git/commitdiff
Remove SED from ECP5
authorJan Michel <michel@physik.uni-frankfurt.de>
Fri, 22 Dec 2023 09:57:01 +0000 (10:57 +0100)
committerJan Michel <michel@physik.uni-frankfurt.de>
Fri, 22 Dec 2023 09:57:01 +0000 (10:57 +0100)
code/trb3sc_tools.vhd

index 9ac4aeb460d1a67d0af8bb998e6b36ec091bd1fa..386d005b47070b38d70bdcc91d93a056112c45d3 100644 (file)
@@ -216,6 +216,7 @@ THE_FLASH_REGS : entity work.load_settings
 ---------------------------------------------------------------------------
 -- SED Detection
 ---------------------------------------------------------------------------
+gen_sed : if FPGA_TYPE = 3 generate
   THE_SED : entity work.sedcheck
     port map(
       CLK       => CLK,
@@ -224,6 +225,12 @@ THE_FLASH_REGS : entity work.load_settings
       BUS_TX    => bussed_tx,
       DEBUG     => open
       );        
+else generate
+  bussed_tx.unknown <= bussed_rx.write or bussed_rx.read;
+  bussed_tx.ack <= '0'; bussed_tx.nack <= '0';
+  bussed_tx.data <= (others => '0');
+  SED_ERROR_OUT <= '0';
+end generate;
 
       
 ---------------------------------------------------------------------------