Skip to content
/ TRAM Public
forked from yhqiu16/TRAM

Template-based Reconfigurable Architecture Modeling Framework

License

Notifications You must be signed in to change notification settings

yulilicao/TRAM

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/yhtmp/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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.3%
  • Scala 4.5%
  • Other 0.2%