]> jspc29.x-matter.uni-frankfurt.de Git - dirich.git/commitdiff
include dynamic word limit and increase buffer size
authorJan Michel <j.michel@gsi.de>
Thu, 14 Jun 2018 13:58:14 +0000 (15:58 +0200)
committerJan Michel <j.michel@gsi.de>
Thu, 14 Jun 2018 13:58:14 +0000 (15:58 +0200)
dirich/config.vhd

index 0235bfdb0f7631db0f33c9dcc6ffe05ad23e4d28..a9d5f7355dbc13e16c9b42f2e808af9d142c6779 100644 (file)
@@ -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