]> jspc29.x-matter.uni-frankfurt.de Git - trb3sc.git/commitdiff
remove spillmon from CTS design
authorJan Michel <michel@physik.uni-frankfurt.de>
Fri, 10 Feb 2023 13:02:48 +0000 (14:02 +0100)
committerJan Michel <michel@physik.uni-frankfurt.de>
Fri, 10 Feb 2023 13:02:48 +0000 (14:02 +0100)
cts/config_32TDC.vhd
cts/config_8SFP_KEL.vhd
cts/config_8SFP_RJAdapter.vhd
cts/config_8TDC_R3B.vhd
cts/config_backplane_KEL.vhd
cts/config_compile_frankfurt.pl
cts/config_simple.vhd
cts/trb3sc_cts.vhd

index 46faf498e408dff306161211c69498c02dd7afef..19f67ae70a00c1dacdac2de8ed1bbfc98e5a5040 100644 (file)
@@ -77,7 +77,7 @@ package config is
 --     constant INCLUDE_MBS_MASTER : integer range c_NO to c_YES := c_NO; 
 --Which external trigger module (ETM) to use?
      constant INCLUDE_ETM : integer range c_NO to c_YES := c_NO;
-     type ETM_CHOICE_type is (ETM_CHOICE_MBS_VULOM, ETM_CHOICE_MAINZ_A2, ETM_CHOICE_CBMNET, ETM_CHOICE_M26, ETM_CHOICE_R3B, ETM_CHOICE_SPILLMON);
+     type ETM_CHOICE_type is (ETM_CHOICE_MBS_VULOM, ETM_CHOICE_MAINZ_A2, ETM_CHOICE_CBMNET, ETM_CHOICE_M26, ETM_CHOICE_R3B);
      constant ETM_CHOICE : ETM_CHOICE_type := ETM_CHOICE_MBS_VULOM;
      constant ETM_ID : std_logic_vector(7 downto 0);
 
index 1f282fd6c0af0f051ccf43a563401d0dd746bb70..d0135617a15ca255d3454aa548ffbb8f4b4f1052 100644 (file)
@@ -77,7 +77,7 @@ package config is
 --     constant INCLUDE_MBS_MASTER : integer range c_NO to c_YES := c_NO; 
 --Which external trigger module (ETM) to use?
      constant INCLUDE_ETM : integer range c_NO to c_YES := c_YES;
-     type ETM_CHOICE_type is (ETM_CHOICE_MBS_VULOM, ETM_CHOICE_MAINZ_A2, ETM_CHOICE_CBMNET, ETM_CHOICE_M26, ETM_CHOICE_R3B, ETM_CHOICE_SPILLMON);
+     type ETM_CHOICE_type is (ETM_CHOICE_MBS_VULOM, ETM_CHOICE_MAINZ_A2, ETM_CHOICE_CBMNET, ETM_CHOICE_M26, ETM_CHOICE_R3B);
      constant ETM_CHOICE : ETM_CHOICE_type := ETM_CHOICE_MBS_VULOM;
      constant ETM_ID : std_logic_vector(7 downto 0);
 
index 52b2db3055a4bb0d190cdc3705754095964814fa..1b72012cc58c45290d66f1e20d20231d477a4dc0 100644 (file)
@@ -77,7 +77,7 @@ package config is
 --     constant INCLUDE_MBS_MASTER : integer range c_NO to c_YES := c_NO; 
 --Which external trigger module (ETM) to use?
      constant INCLUDE_ETM : integer range c_NO to c_YES := c_YES;
-     type ETM_CHOICE_type is (ETM_CHOICE_MBS_VULOM, ETM_CHOICE_MAINZ_A2, ETM_CHOICE_CBMNET, ETM_CHOICE_M26, ETM_CHOICE_R3B, ETM_CHOICE_SPILLMON);
+     type ETM_CHOICE_type is (ETM_CHOICE_MBS_VULOM, ETM_CHOICE_MAINZ_A2, ETM_CHOICE_CBMNET, ETM_CHOICE_M26, ETM_CHOICE_R3B);
      constant ETM_CHOICE : ETM_CHOICE_type := ETM_CHOICE_MBS_VULOM;
      constant ETM_ID : std_logic_vector(7 downto 0);
 
index 9a597ffbf9e4afa473162d70baad194dc13bc82b..1caf3df67ae8e1ce938f414677c0c3e48a9dd4aa 100644 (file)
@@ -77,7 +77,7 @@ package config is
 --     constant INCLUDE_MBS_MASTER : integer range c_NO to c_YES := c_NO; 
 --Which external trigger module (ETM) to use?
      constant INCLUDE_ETM : integer range c_NO to c_YES := c_YES;
-     type ETM_CHOICE_type is (ETM_CHOICE_MBS_VULOM, ETM_CHOICE_MAINZ_A2, ETM_CHOICE_CBMNET, ETM_CHOICE_M26, ETM_CHOICE_R3B, ETM_CHOICE_SPILLMON);
+     type ETM_CHOICE_type is (ETM_CHOICE_MBS_VULOM, ETM_CHOICE_MAINZ_A2, ETM_CHOICE_CBMNET, ETM_CHOICE_M26, ETM_CHOICE_R3B);
      constant ETM_CHOICE : ETM_CHOICE_type := ETM_CHOICE_R3B;
      constant ETM_ID : std_logic_vector(7 downto 0);
 
index 527fa797d40197b5f6c5671d0f4cae624d5c630b..c984096f9aea8ef5d4793c7d09dd9982d8e70b26 100644 (file)
@@ -77,7 +77,7 @@ package config is
 --     constant INCLUDE_MBS_MASTER : integer range c_NO to c_YES := c_NO; 
 --Which external trigger module (ETM) to use?
      constant INCLUDE_ETM : integer range c_NO to c_YES := c_YES;
-     type ETM_CHOICE_type is (ETM_CHOICE_MBS_VULOM, ETM_CHOICE_MAINZ_A2, ETM_CHOICE_CBMNET, ETM_CHOICE_M26, ETM_CHOICE_R3B, ETM_CHOICE_SPILLMON);
+     type ETM_CHOICE_type is (ETM_CHOICE_MBS_VULOM, ETM_CHOICE_MAINZ_A2, ETM_CHOICE_CBMNET, ETM_CHOICE_M26, ETM_CHOICE_R3B);
      constant ETM_CHOICE : ETM_CHOICE_type := ETM_CHOICE_MBS_VULOM;
      constant ETM_ID : std_logic_vector(7 downto 0);
 
index 236641987db564ce5635bd3fdd4f72c3369e8638..24aac7c9a7adff6b1f779bf5c83c38c14bf9c278 100644 (file)
@@ -6,12 +6,12 @@ synplify_path                => '/d/jspc29/lattice/synplify/S-2021.09-SP2',
 #synplify_command             => "/d/jspc29/lattice/diamond/3.5_x64/bin/lin64/synpwrap -fg -options",
 #synplify_command             => "/d/jspc29/lattice/synplify/J-2014.09-SP2/bin/synplify_premier_dp",
 
-nodelist_file                => 'nodes_cts_frankfurt.txt',
+nodelist_file                => 'nodelist_frankfurt.txt',
 
 
 #pinout_file                  => 'trb3sc_hub_ctsrj',     #with RJ adapter for I/O
-#pinout_file                  => 'trb3sc_hub_kelpadiwa', #with SPI on KEL connectors
- pinout_file                  => 'trb3sc_master',        #with backplane
+ pinout_file                  => 'trb3sc_hub_kelpadiwa', #with SPI on KEL connectors
+# pinout_file                  => 'trb3sc_master',        #with backplane
 
 
 #Include only necessary lpf files
index 292195ed7ba76ff6dd50269c78726aa07849583c..ba64819cfb6442191fb793964047cabb5c1ac2cc 100644 (file)
@@ -79,7 +79,7 @@ package config is
 --     constant INCLUDE_MBS_MASTER : integer range c_NO to c_YES := c_NO; 
 --Which external trigger module (ETM) to use?
      constant INCLUDE_ETM            : integer range c_NO to c_YES := c_YES;
-     type ETM_CHOICE_type is (ETM_CHOICE_MBS_VULOM, ETM_CHOICE_MAINZ_A2, ETM_CHOICE_CBMNET, ETM_CHOICE_M26, ETM_CHOICE_R3B, ETM_CHOICE_SPILLMON);
+     type ETM_CHOICE_type is (ETM_CHOICE_MBS_VULOM, ETM_CHOICE_MAINZ_A2, ETM_CHOICE_CBMNET, ETM_CHOICE_M26, ETM_CHOICE_R3B);
      constant ETM_CHOICE : ETM_CHOICE_type := ETM_CHOICE_MBS_VULOM;
      constant ETM_ID : std_logic_vector(7 downto 0);
 
index dbf209a6fd03f4b5436c6eb2cd77b2c62d2b8803..d03e6e60437e76f5d37eac7cca353d536d7a1a05 100644 (file)
@@ -1042,33 +1042,34 @@ end generate;
         STATUS_REG_OUT => cts_ext_status
         );
   end generate;
-  gen_nor3b_etm : if (ETM_CHOICE /= ETM_CHOICE_R3B and ETM_CHOICE /= ETM_CHOICE_SPILLMON) or INCLUDE_ETM = c_NO generate
+  --gen_nor3b_etm : if (ETM_CHOICE /= ETM_CHOICE_R3B and ETM_CHOICE /= ETM_CHOICE_SPILLMON) or INCLUDE_ETM = c_NO generate
+  gen_nor3b_etm : if ETM_CHOICE /= ETM_CHOICE_R3B or INCLUDE_ETM = c_NO generate
     busr3b_tx.unknown <= busr3b_rx.read or busr3b_rx.write when rising_edge(clk_sys);
   end generate;
 
   
----------------------------------------------------------------------------
--- Hades Spill Mon - not a real CTS module, but CTS framework needed
----------------------------------------------------------------------------  
-  gen_hsm_etm : if ETM_CHOICE = ETM_CHOICE_SPILLMON and INCLUDE_ETM = c_YES generate
-    THE_SPILLMON : entity work.hadesspillmon
-      port map(
-        CLK     => clk_sys,
-        CLK_200 => clk_full,
-        RESET   => reset_i,
+-----------------------------------------------------------------------------
+---- Hades Spill Mon - not a real CTS module, but CTS framework needed
+-----------------------------------------------------------------------------  
+  --gen_hsm_etm : if ETM_CHOICE = ETM_CHOICE_SPILLMON and INCLUDE_ETM = c_YES generate
+    --THE_SPILLMON : entity work.hadesspillmon
+      --port map(
+        --CLK     => clk_sys,
+        --CLK_200 => clk_full,
+        --RESET   => reset_i,
         
-        INP     => INP(15 downto 0),
-        START   => SPARE_IN(0),
+        --INP     => INP(15 downto 0),
+        --START   => SPARE_IN(0),
         
-        BUS_RX         => busr3b_rx,
-        BUS_TX         => busr3b_tx
-        );
+        --BUS_RX         => busr3b_rx,
+        --BUS_TX         => busr3b_tx
+        --);
         
-    cts_rdo_additional(0).data          <= (others => '0');
-    cts_rdo_additional(0).data_write    <= '0';
-    cts_rdo_additional(0).data_finished <= '1';
-    cts_rdo_additional(0).statusbits    <= (others => '0');
-  end generate;
+    --cts_rdo_additional(0).data          <= (others => '0');
+    --cts_rdo_additional(0).data_write    <= '0';
+    --cts_rdo_additional(0).data_finished <= '1';
+    --cts_rdo_additional(0).statusbits    <= (others => '0');
+  --end generate;
   
   
 ---------------------------------------------------------------------------