Skip to content

Global Calorimeter Algorithm for Phase-II Level-1 Trigger of the CMS experiment

Notifications You must be signed in to change notification settings

varuns23/CMSPhase2GCT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APx Gen2 Phase2 GCT

Checkout existing GCT code and APx Core Firmware connector from:

git clone [email protected]:varuns23/CMSPhase2GCT.git
cd CMSPhase2GCT
source setEnv.sh #(uwlogin/beck independent)

Algorithms:

export algo = etaStitch  
export algo = phiStitch 
export algo = EgAlgo
export algo = JetAlgo
export algo = METAlgo
export algo = TauAlgo

Simulation and Synthesis:

For HLS simulation

cd $AP_FW_BASE_DIR/CMSPhase2GCT/$algo/hls/vivado_hls/
vivado_hls -f run_hls.tcl csim=1 tv_in=$PWD/data/test_in.txt tv_out=$PWD/data/test_out.txt tv_ref=$PWD/data/test_out_ref.txt

Synthesis and exporting RTL

cd $AP_FW_BASE_DIR/CMSPhase2GCT/$algo/hls/vivado_hls/
vivado_hls -f run_hls.tcl synth=1 export=1

Simulation, Synthesis, Verification and RTL generation in Vivado HLS:

cd $AP_FW_BASE_DIR/CMSPhase2GCT/$algo/hls/vivado_hls/
vivado_hls -f run_hls.tcl csim=1 synth=1 cosim=1 export=1 tv_in=$PWD/data/test_in.txt tv_out=$PWD/data/test_out.txt tv_ref=$PWD/data/test_out_ref.txt

Making bit file for APd:

cd $AP_FW_BASE_DIR
git clone --recursive ssh://[email protected]:7999/asvetek/phase2-gct.git
cd $AP_FW_BASE_DIR/phase2-gct/
mkdir build
make

GUI access

Follow instructions at twiki - adapt suitably for usage on beck.hep.wisc.edu: https://twiki.cern.ch/twiki/bin/viewauth/CMS/L1TriggerPhase2HLSProjects

About

Global Calorimeter Algorithm for Phase-II Level-1 Trigger of the CMS experiment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published