Coder Social home page Coder Social logo

isobelojalvo / cmsrun3rct Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pallabidas/cmsrun3rct

0.0 0.0 0.0 780 KB

CMS Phase2 RCT HLS Project

VHDL 48.16% Tcl 3.41% C++ 25.09% Makefile 2.32% SystemVerilog 16.28% C 0.78% Python 3.66% Shell 0.29%

cmsrun3rct's Introduction

APx Gen2 Phase2 RCT

Checkout existing RCT code and APx Core Firmware connector from:

git clone --recursive ssh://[email protected]:7999/asvetek/phase2-rct.git -b 384b
git clone [email protected]:SridharaDasu/CMSPhase2RCT.git
cd CMSPhase2RCT
git checkout RCT-Gen2-384-Bit 
source setEnv.sh #(uwlogin/beck independent)

Simulation

For HLS simulation:

cd $AP_FW_BASE_DIR/CMSPhase2RCT/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

Sythesis

For HLS synthesis and exporting RTl:

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

The whole enchilada

Simulation, Synthesis, Verification and RTL generation in Vivado HLS (takes 2 hours):

cd $AP_FW_BASE_DIR/CMSPhase2RCT/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

The nightcap

Making the bit file for APd (takes hours):

cd $AP_FW_BASE_DIR/phase2-rct/
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

cmsrun3rct's People

Contributors

sridharadasu avatar varuns23 avatar asvetek avatar piyushkumarhcu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.