]> jspc29.x-matter.uni-frankfurt.de Git - trb5sc.git/commitdiff
update config files with backplane/sfp flag
authorJan Michel <j.michel@gsi.de>
Tue, 9 Aug 2022 11:08:09 +0000 (13:08 +0200)
committerJan Michel <j.michel@gsi.de>
Tue, 9 Aug 2022 11:08:09 +0000 (13:08 +0200)
mimosis/config.vhd
template/config.vhd

index 8d6fb3090cc37977dd390c7c135718a40d02077c..27af7ac57f6674da685671ca6544a01332bc180d 100644 (file)
@@ -105,6 +105,7 @@ function generateIncludedFeatures return std_logic_vector is
 --     t(14 downto 12) := std_logic_vector(to_unsigned(RING_BUFFER_SIZE,3));
 --     t(15)           := '1'; --TDC
 --     t(17 downto 16) := std_logic_vector(to_unsigned(NUM_TDC_MODULES-1,2));
+    t(28 downto 28) := std_logic_vector(to_unsigned(1-SERDES_NUM,1));
     
     t(40 downto 40) := std_logic_vector(to_unsigned(INCLUDE_LCD,1));
     t(42 downto 42) := std_logic_vector(to_unsigned(INCLUDE_SPI,1));
index c91c17889787a8a06a77a271b6ce448e0ec2ac60..da29651cbc764dc6255069646554c55051b8ab04 100644 (file)
@@ -109,7 +109,7 @@ function generateIncludedFeatures return std_logic_vector is
     t(14 downto 12) := std_logic_vector(to_unsigned(RING_BUFFER_SIZE,3));
     t(15)           := '1'; --TDC
     t(17 downto 16) := std_logic_vector(to_unsigned(NUM_TDC_MODULES-1,2));
-    
+    t(28 downto 28) := std_logic_vector(to_unsigned(1-SERDES_NUM,1));
     t(40 downto 40) := std_logic_vector(to_unsigned(INCLUDE_LCD,1));
     t(42 downto 42) := std_logic_vector(to_unsigned(INCLUDE_SPI,1));
     t(43 downto 43) := std_logic_vector(to_unsigned(INCLUDE_UART,1));