From f7efcfcedc7ce255f5e1a85ea17b9c7f113f4613 Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Tue, 9 Aug 2022 13:08:09 +0200 Subject: [PATCH] update config files with backplane/sfp flag --- mimosis/config.vhd | 1 + template/config.vhd | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mimosis/config.vhd b/mimosis/config.vhd index 8d6fb30..27af7ac 100644 --- a/mimosis/config.vhd +++ b/mimosis/config.vhd @@ -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)); diff --git a/template/config.vhd b/template/config.vhd index c91c178..da29651 100644 --- a/template/config.vhd +++ b/template/config.vhd @@ -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)); -- 2.43.0