ZPD Diagnostic Memory Formats
[Input and Megabus Segments]
[Finder Results]
[Fitter Results]
[Decision Output]
Input segments: block 0x1
Megabus segments: blocks 0x2, 0x8, 0x20, 0x80, 0x200, 0x800
Addresses 0x4000 - 0x7f9f; identical format for each block.
Each tick starts at address 0x4000 + tick*0x100
Although the memory is 16 bits wide, only the lowest 14 bits are sent across
the MegaBus.
For details of which segments are at which addresses in memory and
the segment format,
see the segment mapping documentation
(don't be too overwhelmed by all the colors...)
Blocks 0x2, 0x8, 0x20, 0x80, 0x200, 0x800
Addr = 0x1000 + 0x20*tick + 0x10*seedNum(0 or 1)
Each Finder covers 2 sectors: seednum 0 is for the even sector; seednum 1 is
for the odd sector.
N.B.:
seednum is different from the seedtype (A10 or A7).
- hitmask[9:0] gives which superlayers have segments on this track.
hitmask[0] is for SL1 up to hitmask[9] for SL10.
- dipbin[5:0] and rhobin[5:0] give the track parameters in the Finder
Pattern Recognition Matrix binning.
(Explanation of the PRM binning)
- segphi[9:0] is the signed difference φseg - φseed
in fine phi units
of the seed superlayer (32 fine phi bins per drift chamber cell).
Fitter blocks 0x4, 0x10, 0x40, 0x100, 0x400, 0x1000
Addr = 0x4000 + 8*tick + 4*seedNum(0 or 1)
Each Fitter covers 2 sectors: seednum 0 is for the even sector; seednum 1 is
for the odd sector.
N.B.:
seednum is different from the seedtype (A10 or A7).
The Decision Module Fitter Results have an identical format.
Addresses 0x4000-0x41FF cover
Fitter 0, addresses 0x4200-0x431F cover Fitter 1, etc.
Although the memory is 16 bits wide, only the lowest 12 bits are sent from
the Fitters to the Decision Module.
Block 0x8000; address 0x3000 - 0x303f
Each address contains two clk8s of decision information. The lower byte is for the first clk8 and the
upper byte is for the second clk8.
|