Introduction
Currently at SLAC there are multiple FELIX readouts possible. The other twiki, shows the Direct-FELIX readout.
This one is dedicated to LpGBT based FELIX readout using Felix712 Board. With the instruction on this page you can readout out the following LpGBT boards:
VLDB+ Board | |
OptoBoard (Currently Not Available At SLAC | |
RCE Aggregator Readout (LpGBT Emulator) |
This documentation will be split into two sections of Felix712 setup, and LpGBT board specific setup.
FELIX Software Configuration and Setup
In order to use/setup FELIX, the following instructions needs to be executed at each individual FELIX PC. (PC that holds a FELIX712 board). Currently at SLAC there is only one FELIX PC, but this number might change in the future.
The FELIX PC setup is comprimised of following steps steps: Installing Felix FW, Installing felix software, Configuring the Hardware/Firmware, and configuring the FELIX software.
Installing FELIX FW:
Drivers can be found here: https://atlas-project-felix.web.cern.ch/atlas-project-felix/user/dist/software/driver/
We are currently using the following driver: tdaq_sw_for_Flx-4.7.0-2dkms.noarch.rpm
You can install the driver following the instruction here: https://atlas-project-felix.web.cern.ch/atlas-project-felix/user/felix-user-manual/versions/4.0.6/5_software_installation.html#_5_2_1_driver_rpm_installation_instructions
We don't need to update the FELIX driver regularly, and I don't recommend doing it unless there is a need due to FW changes.
Installing FELIX Software:
There are two ways of installing FELIX software, the easy and the hard way. The easy way is the recommended way, but currently we need to do the hardway setup as well due to some patch needed on felixcore (Feb 2022), whcih hopefully would be merged into master branch soon.
The currently installed felix sofware in itkpix@felix account is at: /home/itkpix/felix-sw/felix-05-00-xx-stand-alone
Easy Way (Pre-Compiled Packages):
Download Download the pre-complied FELIX library for centos7 from the website: https://atlas-project-felix.web.cern.ch/atlas-project-felix/user/dist/software/latest/
You should download a reg 5.0 version which looks like: felix-05-00-xx-stand-alone-x86_64-centos7-gcc8-opt.tar.gz
Un-tar the download file, and you should be able to use FELIX out of the box.
Hard Way (Compiled By Your Self) (Required to have the FLX-1613 patch applied):
Download the Felix software following the instructions at the git site. https://gitlab.cern.ch/atlas-tdaq-felix/software/blob/master/README.md
The instructions as of Feb 2022 Goes as:
mkdir
https://:@gitlab.cern.ch:8443/atlas-tdaq-felix/software.git
Recommended Tag: Master
Use the documentation on the git site to clone all dependencies and compile the software with regmap 5.0 or follow the instructions below
cd software
./clone_all.sh
./checkout_all.sh <Recommended Tag> #### currently the tag we use is master
Minor patch to fix felixcore to get better timming. This won’t be needed in the future is but recommended
cd felixcore
git checkout FLX-1613
export REGMAP_VERSION=0x0500 ###Most important step
source setup.sh
cmake_config x86_64-centos7-gcc8-opt