Upgrade of Readout firmware
Proposal
Data are now output per TDC channel
The Trigger TDC is allways channel 0
The mapping between TDC and PETIROC is direct:
The default clock is now 40
MHz so counts of BXID and Absolute BXID are in 25 ns. The absolute BXID is only reset at the first acquisition after Power On.
The output of a FEB now consists of:
Tag | Absolute BXID | GTC | 64 or 128 channels lengths |
2 bytes (BEBE) | 6 bytes (81 days) | 4 bytes | 64 or 128 bytes , # channels per TDC |
It's a fixed length packet of 76 or 140 bytes. Then each NON EMPTY TDC is sending one packet
Header | Channel number | Number of Measurements | payload |
2bytes B0B0 | 1 byte | ncx 1bytes | ncx channel info |
Finite State Machine
Top Level
Acquisition
ILC Mode
Trigger Mode
On trigger the state machine is only modified before calling the readout FSM:
Readout