Skip to content

Threshold Logic

The Threshold Logic (ThL) module is essentially a discriminator bank. It takes in the 4 trigger waveforms which are the output of the 4 Finite Impulse Response (FIR) submodules, does its discriminating and forwards the results for further processing by the Peak Search (PS) module. That is, each of the 8 submodules monitors its input and produces a single bit output which indicates whether its input is above a configurable threshold, although two thresholds are used to remove “bouncing” due to noise. The single bit outputs of each of the 8 submodules are collected into a single 8-bit output and then used (along with the 4 trigger waveforms) by the PS module to construct the trigger primitives. The input is a packet of 4 trigger waveform samples received from the FIR module. The output is similarly a packet of 5 words, where the first 4 words are the 4 input trigger waveform samples passed through unaltered from the FIR module, and where the last sample is the (zero-padded) 8 discriminator bits computed by this module. The thresholds will be loaded at the start of running, but may still be changed during running.