XFT Upgrade FER code
- XTC2 readout
- TDC Test
- Stereo Finder
- SLAM
Stereo Finder
XFT.c - XFTF_coldstart()
Unpacks readout list, calls XFTF_initForceLoad() to download
flash RAM into FPGA's
Unpacks pipeline depths, offsets, clock delay and dead wires into arrays
and calls XFTSF_init for stereo finder boards.
XFT.c - XFTF_warmstart()
Essentially the same as XFTF_coldstart().
XFT.c - XFTF_initForceLoad(...)
Calls XFTF_open(slot) to initialize global variable
VISION_SLAVE OpenCARD. Calls XFTF_checkProm() to read ID
PROM on the board and compare it with values found in the hardware database.
Calls XFTSF_checkFlashContents() passing a list of flash RAM labels
found in the hardware database. Then it calls
XFTSF_downloadFromFlash() to actually do download the flash RAM
into the FPGAs.
XFT.c - XFTSF_checkFlashContents()
Currently a dummy routine.
XFT.c - XFTSF_downloadFromFlash()
Currently a dummy routine.
XFT.c - XFTSF_init()
Calls XFTF_open(), XFTSF_checkDownload(),
XFTSF_reset(), XFTSF_setPipelineDepth(),
XFTSF_clearErrorRegs(), XFTSF_setClockDelay(),
XFTSF_writeDeadwireRegisters(), XFTSF_enableRun().
XFT.c - XFTSF_reset()
Set and clear bit 31 in control/status register (software reset).
Set and clear bits 22 and 19 in control/status register
(finder/pulsar driver software reset).
XFT.c - XFTSF_setPipelineDepth()
Sets L2 header word pipeline length, L2 header word pipeline offset.
Sets finer A/B pipeline depth registers.
XFT.c - XFTSF_clearErrorRegs()
Sets and clears bits 8, 7, 6 in finder A/B control/status registers.
Sets and clears bit 5 in L2 pulsar driver control/status register.
XFT.c - XFTSF_setClockDelay()
Currently a dummy routine.
XFT.c - XFTSF_writeDeadwireRegisters()
Writes dead wire registers in finders A/B.
XFT.c - XFTSF_enableRun()
Clears bits 18, 19, 20, 22 in command/status register.
Sets bits 20, 23, 17 in command/status register.
Sets bit 11 in finder A/B status register.
Clears PRBSEN register, LOOPEN registers.
Sets bits in RX channel enable register.
Sets bits in RX mezzanine board register.
Disable test modes for L2 pulsar interface.
Enable L2 TX mezzanine board.