Skip to content

LinHuan86/fgra

 
 

Repository files navigation

FGRA

App-Compiler

Put your application file into benchmarks foler, then:

cd app-compiler
./build.sh
cd <your-application-folder>
../compile.sh <your-application-file> <your-application-function>
../dot2json.sh 

FGRA-Mapper

Change your application json into run.sh, then:

cd fgra-mapper
./build.sh
./run.sh

FGRA-MG

Change your architecture file into src/main/resources/fusion_spec.json, then

cd <fgra-folder>
./scripts/build-verilog.sh

Simulation

Change your Mapper's output cgra_execute.c and cgra_call.txt to create a file in software/test/bareMetal like add.c, modify Makefile in software/test/bareMetal, then:

./scripts/build-verilator.sh
cd software/tests && ./build.sh
cd ../.. && ./scripts/run-verilator.sh <your-application-name-without-postfix>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 54.0%
  • Assembly 22.7%
  • Shell 11.7%
  • Python 7.8%
  • Perl 1.6%
  • Makefile 1.3%
  • Other 0.9%