From: Jan Michel Date: Thu, 14 Jun 2018 13:58:14 +0000 (+0200) Subject: include dynamic word limit and increase buffer size X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=631c5a58301237d6245da919173d9ae4b8b7c3dc;p=dirich.git include dynamic word limit and increase buffer size --- diff --git a/dirich/config.vhd b/dirich/config.vhd index 0235bfd..a9d5f73 100644 --- a/dirich/config.vhd +++ b/dirich/config.vhd @@ -24,7 +24,7 @@ package config is -- 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 @@ -34,7 +34,7 @@ package config is -- 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 @@ -50,7 +50,7 @@ package config is 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