Instructions for PF PUPPI on APx - APxL1TAlgoDev/APx_Gen0_Algo GitHub Wiki
Start by choosing a working base directory:
export APX_BASE_DIR=/home/$USER/apx
Build the PF+PUPPI algorithm:
cd $APX_BASE_DIR
git clone https://github.com/drankincms/APx_Gen0_Algo
cd APx_Gen0_Algo/VivadoHls/pf_algo_unpacked/vivado_hls
git clone https://github.com/drankincms/GlobalCorrelator_HLS -b dev src/GlobalCorrelator_HLS
vivado_hls -f run_hls.tcl
Build the infrastructure firmware:
cd $APX_BASE_DIR
git clone --recurse-submodules https://github.com/APxL1TAlgoDev/APx_Gen0_Infra
cd/APx_Gen0_Infra/firmware
sed -i 's/null_algo_unpacked/pf_algo_unpacked/g' ruckus.tcl
mkdir -p ../build
make
Check out the software:
cd $APX_BASE_DIR
git clone https://github.com/APxL1TAlgoDev/APx_Gen0_SW