|
|
ZPDi mask configuration
The ZPDi mask file tells each ZPD which TSFs are connected to it.
This allows the ZPDs to ignore missing frame bits from TSFs which
aren't connected.
To create zpdiMask.xtc for a given setup:
- Edit these files to contain the TSFs and ZPDs which are in your system:
/nfs/bbr-srv02/dataflow/7F/06/app/DczConfig/tsf/newTsfxMap.txt
/nfs/bbr-srv02/dataflow/7F/06/app/DczConfig/zpd/bltZpdMap.txt
The format is:
slot boardtype octant/sector
where boardtype 0 is BLT or TSFx and boardtype 1 is ZPD or TSFy.
Comments are allowed at the end of the file but not at the beginning or in the middle.
(The below can be obsolete as the release does not exist anymore. The
correct solution is to compile all statically so that it runs by itself.)
- Log on to a Sun machine at IR2 (e.g. bbr-refsun)
- cd ~eunil/links/u01/teststand
- srtpath
- cd /nfs/bbr-srv02/dataflow/7F/06/app/
- DczConfig/zpd/zpdiMasker
DczConfig/zpd/newTsfxMap.txt DczConfig/zpd/bltZpdMap.txt >
DczConfig/zpd/zpdiMask_sjb.txt
- cd DczConfig/zpd
- ~eunil/links/u01/teststand/bin/SunOS58_sparc_WS6U1/dctCreateZpdAllLutTC -o
zpdiMask_sjb.xtc zpdiMask_sjb.txt
- Edit
/nfs/bbr-srv02/dataflow/7F/06/app/DczConfig/zpdLutList.txt
to include the ZPDi mask file you want to load
(zpdiMask_sjb.xtc in this example).
Details for experts or the curious
The ZPDi mask is written to address 0x10 of block 1 for each ZPD.
The meaning of each bit for each ZPD is:
| bit\ZPD | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7
|
|---|
| 0 | x14 | x0 | x2 | x4 | x6 | x8 | x10 | x12
|
|---|
| 1 | x15 | x1 | x3 | x5 | x7 | x9 | x11 | x13
|
|---|
| 2 | x0 | x2 | x4 | x6 | x8 | x10 | x12 | x14
|
|---|
| 3 | x1 | x3 | x5 | x7 | x9 | x11 | x13 | x15
|
|---|
| 4 | x2 | x4 | x6 | x8 | x10 | x12 | x14 | x0
|
|---|
| 5 | x3 | x5 | x7 | x9 | x11 | x13 | x15 | x1
|
|---|
| 6 | y7 | y0 | y1 | y2 | y3 | y4 | y5 | y6
|
|---|
| 7 | y0 | y1 | y2 | y3 | y4 | y5 | y6 | y7
|
|---|
| 8 | y1 | y2 | y3 | y4 | y5 | y6 | y7 | y0
|
|---|
The ZPD will only use frame bits from the TSFs for which their mask bit is 1.
Other frame bits will be ignored.
|
|