yhqiu16 / TRAM

Template-based Reconfigurable Architecture Modeling Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TRAM Framework

Template-based Reconfigurable Architecture Modeling Framework, including:

  1. CGRA-MG: CGRA modeling and generation based on Chisel. Design a flexible CGRA template, and generate architecture IR and Verilog.

  2. CGRA-Compiler: CGRA mapper, mapping DFGs to CGRA in batches. The mapping flow includes placement and routing, data synchronization, optimization, visualization, and configuration generation.

  3. Bechmarks: DFGs in Json format derived from dot files.

Getting Started

Dependencies

JDK 8 or newer (for CGRA-MG)
SBT (for CGRA-MG)
CMake (for CGRA-Compiler)
C++-11 (for CGRA-Compiler)

Clone the repository

git clone https://github.com/yhqiu16/TRAM
cd TRAM

CGRA-MG

Build and run

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"

CGRA-Compiler

Build

Using the script build.sh

cd cgra-compiler
./build.sh

Run

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.

About

Template-based Reconfigurable Architecture Modeling Framework

License:Other


Languages

Language:C++ 95.4%Language:Scala 4.3%Language:C 0.1%Language:Shell 0.1%Language:CMake 0.0%