As a submodule of dsa-framework, dsa-cgra-gen use JSON to describe CGRA, see example IR in IR directory.
Please add <ssfabric>.printIR(<your_cgra_name>)
at the end of your CGRA description file.
please run
sbt "runMain <your_cgra_package>.<ssfabric>"
For example:
sbt "runMain real.micro_demo"
Please start sbt first
sbt
Then run ss-cgra-gen
runMain <your_cgra_package>.<ssfabric>
please run
sbt "runMain cgra.driver.generator <your_cgra.json>"
For example:
sbt "runMain cgra.driver.generator <your_cgra.json>"
Please start sbt first
sbt
Then run ss-cgra-gen
runMain cgra.driver.generator <your_cgra.json>