Template-based Reconfigurable Architecture Modeling Framework, including:
-
CGRA-MG: CGRA modeling and generation based on Chisel. Design a flexible CGRA template, and generate architecture IR and Verilog.
-
CGRA-Compiler: CGRA mapper, mapping DFGs to CGRA in batches. The mapping flow includes placement and routing, data synchronization, optimization, visualization, and configuration generation.
-
Bechmarks: DFGs in Json format derived from dot files.
git clone https://github.com/yhqiu16/TRAM
cd TRAM
Using the script run.sh
cd cgra-mg
./run.sh
Or using sbt command:
cd cgra-mg
sbt "runMain mg.CGRAMG -td ./test_run_dir"
Using the script build.sh
cd cgra-compiler
./build.sh
Using the script run.sh
./run.sh
Change the benchmark file path as you need. The generated result files are in the same directory as the benchmark.