-- 1: same channel,
-- 2: alternating channels,
-- 3: same channel with stretcher
- constant RING_BUFFER_SIZE : integer range 0 to 7 := 0; --ring buffer size
+ constant RING_BUFFER_SIZE : integer range 0 to 7 := 7; --ring buffer size
-- mode: 0, 1, 2, 3, 7
-- size: 32, 64, 96, 128, dyn
constant TDC_DATA_FORMAT : integer range 0 to 3 := 0; --type of data format for the TDC
-- 14: Debug - single fine time and the ROM addresses for the two transitions
-- 15: Debug - complete carry chain dump
- constant EVENT_BUFFER_SIZE : integer range 9 to 13 := 10; -- size of the event buffer, 2**N
+ constant EVENT_BUFFER_SIZE : integer range 9 to 13 := 13; -- size of the event buffer, 2**N
constant EVENT_MAX_SIZE : integer := 500; --maximum event size. Must not exceed EVENT_BUFFER_SIZE/2
--Runs with 120 MHz instead of 100 MHz
constant INCLUDE_UART : integer := c_NO; --300 slices
constant INCLUDE_SPI : integer := c_YES; --300 slices --needed for Dirich2
constant INCLUDE_LCD : integer := c_NO; --800 slices
- constant INCLUDE_DEBUG_INTERFACE: integer := c_YES; --300 slices
+ constant INCLUDE_DEBUG_INTERFACE: integer := c_NO; --300 slices
--input monitor and trigger generation logic
constant INCLUDE_TRIGGER_LOGIC : integer := c_YES; --400 slices @32->2