TDAQ Integration
TTC Emulator
The TTC emulator fttcemu
mimics TTCrx IC
. It can be enabled and disabled on the fly.
TTC_EMU_SEL
selects the TTC Source:
- When set to ’0’, the TTC data comes from the decoder,
- When set to ’1’, the TTC data comes from the TTC emulator.
TTC_EMU_ENA
starts the emulator:
- When set to ’0’ the emulator does not produce any data.
- When set to ’1’ the emulator is running.
The variables TTC_EMU_SEL
and TTC_EMU_ENA
are both controlled with the command:
fttcemu -e
(setting both parameters to ’1’)fttcemu -n
(setting both parameters to ’0’).
As the TTC emulator is able to generate periodic L1A, ECR and BCR signals:
TTC_EMU_L1A_PERIOD
is the L1A period in units of LHC clock period (25 ns) set by the user as a frequency using option -e.
TTC_EMU_BCR_PERIOD
is the BCR period in units of LHC clocks and by default has a value 3564 which is the default in the LHC experiments (representing a period of roughly 89.1 microsecond).
TTC_EMU_ECR_PERIOD
is the ECR period in units LHC clocks, but note that the fttcemu
tool sets the ECR period in units of milliseconds.
For more details, see https://atlas-project-felix.web.cern.ch/atlas-project-felix/user/docs/FELIX_Phase2_firmware_specs.pdf
Examples
Set an L1A frequency of 1000 Hz an ECR period of 1 second:
Generate a single ECR and a BCR:
Generate a single ECR, followed by 10 L1A triggers at 10 Hz, then switch to 1000 Hz L1A: