- Timestamp:
- 12/16/10 16:54:25 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
firmware/FTU/ftu_definitions.vhd
r10051 r10071 39 39 --First 4 values: patches A-D, DACs 5-7 not used, last value: majority coincidence 40 40 type dac_array_type is array (0 to 7) of integer range 0 to 2**12 - 1; 41 constant DEFAULT_DAC : dac_array_type := (500, 500, 500, 500, 0, 0, 0, 1 00);41 constant DEFAULT_DAC : dac_array_type := (500, 500, 500, 500, 0, 0, 0, 16); 42 42 43 43 --array to hold current values of rate counters (as integers) … … 58 58 constant INT_CLK_FREQUENCY : integer := 50000000; -- 50MHz 59 59 constant COUNTER_FREQUENCY : integer := 1000000; -- has to be smaller than INT_CLK_FREQUENCY 60 constant CNTR_FREQ_DIVIDER : integer := 25000; -- for simulation, should normally be 160 constant CNTR_FREQ_DIVIDER : integer := 1; -- for simulation, should normally be 1 61 61 62 62 --64byte dual-port RAM, port A: 8byte, port B: 16byte … … 69 69 70 70 --normalization time for trigger counters 71 constant DEFAULT_PRESCALING : integer := 59; --30s integration time71 constant DEFAULT_PRESCALING : integer := 1; --1s integration time 72 72 73 73 constant NO_OF_ENABLE : integer := 4;
Note:
See TracChangeset
for help on using the changeset viewer.