Title: Worker DSP Output Format
1Worker DSP Output Format
Header
Control Byte
16-bit data Hi
16-bit data Lo
Object(s)
n
Trailer
- Note -- event status information sources are
- front end channel header (32 bits)
- receiver channel trailer word (32 bits)
- possible DSP error messages the SCL
- Trailer is a summary of the above
Header word-2 contains only time and occupancy
histo bins. Event status and errors are sent on
trailer word to DSP-5. EvtStatus-Hi summarizes
upstream errors reported to SLIC EvtStatus-Lo
summarizes SLIC generated errors
2wDSP Monitor Info Format
- Eight histo bins (4 Bytes per event) are sent to
DSP5 - Highest bin represents that range or higher
(overflow) - Time Unit is microsec. Size Unit is Int 4
Bytes - All histos have 16 bins, each a nibble in
header2
- Total input size does not include FE header
length (3 ints) - Rogue Channel gets an entry when chan.size
thresh. - Mute Channel gets an entry when Data Count 0
- Misaligned Channel gets an entry when
crossing, turn s - different than those from SCL
- DSP5 keeps for each wDSP 4 timing, 1 input size
and - 1 error histograms (plus .OR.s for rogue, mute
- misaligned channel histograms)
- See next slide for wDSP errors reported by DSP5
3wDSP Error Handling
Event Iterator (infinite loop) Input (ext.FIFO
to int.Mem) Unpack (hits into detector
grid) Process (DSP specific algorithms) Output
(through DSP serial port)
Each iterator stage defines an error flavor.
Errors can be abort or not. If abort, the
highest level stage driver returns 1, and
subsequent stages are bypassed. wDSP sends only
headers and trailer to DSP5. If fatal, SLIC will
request SCL-init.
reset timer read time read time read
time read time
wDSP Trailer Word
Lowest Byte dedicated to wDSP error mask
abort mislgn receivr outp proc unpck input
fatal
- Every error corresponds to a bin for the wDSP
error histogram