|
|
ZPD CSR Bits
CSR Write
CSR 1: Run Mode
0 = Memory access mode
1 = Run mode
CSR 2: DAQ Format
0 = Debug mode
1 = Full DAQ data (big)
2 = segment location, tracks, and decisions, but not segments masks (small)
3 = track and decision information only (smallest)
For further details, see the
ZPD DAQ format document.
CSR 3: Diagnostic Memory Enables
| Bit | Meaning
| | 0 | Enable Input Segment Memory
| | 1 | Play Input Segment Memory
| | 2 | Enable DM Fit Results and Output Memories
| | 3 | Play Output Memory
| | 4 | Enable Finder/Fitter Memories
| | 5 | unused
| | 6 | Play FF Megabus Memory
| | 7 | Play FF Finder Memory
| | 8 | Play FF Fitter Memory
| | 9 | Play DM Fit Results Memory
|
CSR 4: Diagnostic Memory Oneshot/Continuous Mode
0 = continuous play/record
1 = oneshot play/record
CSR 5: Software LEDs
CSR Read
CSR 1: Status
| Bit | Meaning
| | 0 | Run mode
| | 1 | [spare]
| | 2 | Board ID[2] : 1
| | 3 | DAQ format[0]
| | 4 | DAQ format[1]
| | 5 | Input segment memory enabled
| | 6 | Input segment memory play
| | 7 | DM fit results and output memories enabled
| | 8 | DM output memory play
| | 9 | Oneshot mode (1=oneshot; 0=continuous)
| | 10 | Error
| | 11 | TSF input frame error
| | 12 | Input segment memory active
| | 13 | Output memory active
| | 14 | Board ID[0] : 0
| | 15 | Board ID[1] : 1
|
CSR 2: Software LEDs
CSR 3: Current memory address
CSR 4: Current memory block
CSR 5: Additional status
| Bit | Meaning
| | 0 | FF diagnostic memories enabled
| | 1 | [spare]
| | 2 | Play FF Megabus diagnostic memory
| | 3 | Play FF Finder diagnostic memory
| | 4 | Play FF Fitter diagnostic memory
| | 5 | Play DM fit results diagnostic memory
| | 6 | FF diagnostic memory active
| | 7 | 1
|
|
|