]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
ADA Addon with extended trigger logic
authorJan Michel <j.michel@gsi.de>
Thu, 31 Jan 2019 14:19:09 +0000 (15:19 +0100)
committerJan Michel <j.michel@gsi.de>
Thu, 31 Jan 2019 14:19:26 +0000 (15:19 +0100)
ADA_Addon/config.vhd
ADA_Addon/trb3_periph_ADA.prj

index cd47b3391e6ae95df861c8595e55414827387b93..fc0c0118f0ac25437b30859570fc077a01a3f2c6 100644 (file)
@@ -32,7 +32,7 @@ package config is
   
   
   constant EVENT_BUFFER_SIZE       : integer range 9 to 13 := 13; -- size of the event buffer, 2**N
-  constant EVENT_MAX_SIZE          : integer := 2048;             --maximum event size. Should not exceed EVENT_BUFFER_SIZE/2
+  constant EVENT_MAX_SIZE          : integer := 1000;             --maximum event size. Should not exceed EVENT_BUFFER_SIZE/2
 
 --Include SPI on AddOn connector
   constant INCLUDE_UART           : integer  := c_YES;
index 12f240ce916b3b5b14e47f38084d553d7d1c5873..74f4af5db3840e718a9ae4a8783e384f414f0283 100644 (file)
@@ -183,6 +183,17 @@ add_file -vhdl -lib work "../../tdc/base/cores/ecp3/FIFO/FIFO_36x64_OutReg.vhd"
 add_file -vhdl -lib work "../../tdc/base/cores/ecp3/FIFO/FIFO_36x32_OutReg.vhd"
 add_file -vhdl -lib work "../../tdc/base/cores/ecp3/PLL/pll_in125_out33.vhd"
 
+add_file -vhdl -lib work "../../triggerlogic/trigger_coin.vhd"
+add_file -vhdl -lib work "../../triggerlogic/trigger_delay.vhd"
+add_file -vhdl -lib work "../../triggerlogic/trigger_edgedetect.vhd"
+add_file -vhdl -lib work "../../triggerlogic/trigger_enable.vhd"
+add_file -vhdl -lib work "../../triggerlogic/trigger_inverter.vhd"
+add_file -vhdl -lib work "../../triggerlogic/trigger_logic.vhd"
+add_file -vhdl -lib work "../../triggerlogic/trigger_merge.vhd"
+add_file -vhdl -lib work "../../triggerlogic/trigger_stretch.vhd"
+add_file -vhdl -lib work "../../triggerlogic/cores/delay_shift_reg.vhd"
+
+
 if {$TDC_DATA_FORMAT == 0 | $TDC_DATA_FORMAT == 1 | $TDC_DATA_FORMAT == 14} {
 add_file -vhdl -lib work "tdc_release/Readout_record.vhd"
 add_file -vhdl -lib work "tdc_release/TriggerHandler.vhd"