my $lm_license_file_for_synplify = "27000\@lxcad01.gsi.de";
my $lm_license_file_for_par = "1702\@hadeb05.gsi.de";
-my $lattice_path = '/opt/lattice/diamond/3.2_x64/';
-my $synplify_path = '/opt/synplicity/I-2013.09-SP1/';
+my $lattice_path = '/opt/lattice/diamond/3.4_x64/';
+my $synplify_path = '/opt/synplicity/J-2014.09-SP2/';
my $lattice_bin_path = "$lattice_path/bin/lin64"; # note the lin or lin64 at the end, no isfgpa needed
my $config_vhd = 'config_mainz_a2.vhd';
###################################################################################
constant INCLUDE_CBMNET : integer range c_NO to c_YES := c_NO;
--include TDC for all four trigger input lines
- constant INCLUDE_TDC : integer range c_NO to c_YES := c_YES;
- constant TDC_CHANNEL_NUMBER : integer := 5;
---Use 64 word ringbuffer instead of 128 word ringbuffer in TDC channels
- constant USE_64_FIFO : integer := c_YES;
-
---Define ringbuffer size for TDC channels: 32-64-128
- constant RING_BUFFER_SIZE : integer range 0 to 128 := 1;
-
+ constant INCLUDE_TDC : integer range c_NO to c_YES := c_YES;
+ constant TDC_CHANNEL_NUMBER : integer := 5;
+ constant DOUBLE_EDGE_TYPE : integer range 0 to 3 := 0; --double edge type: 0, 1, 2, 3
+ -- 0: single edge only,
+ -- 1: same channel,
+ -- 2: alternating channels,
+ -- 3: same channel with stretcher
+ constant RING_BUFFER_SIZE : integer range 0 to 7 := 7; --ring buffer size: 0, 1, 2, 3, 7
+ --ring buffer size: 32,64,96,128,dyn
+-- Include SFP power readout
+ constant INCLUDE_SFP_DDM : integer range c_NO to c_YES := c_YES;
+
--use all four SFP (1-4) as downlink to other boards (only w/o CBMNET)
constant USE_4_SFP : integer range c_NO to c_YES := c_NO;
--Run wih 125 MHz instead of 100 MHz
constant USE_125_MHZ : integer range c_NO to c_YES := c_NO;
---Run external 200 MHz clock source
- constant USE_EXTERNAL_CLOCK : 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);