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 Change your application json into run.sh, then:
cd fgra-mapper
./build.sh
./run.shChange your architecture file into src/main/resources/fusion_spec.json, then
cd <fgra-folder>
./scripts/build-verilog.shChange 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>