Open norabarlow opened 4 years ago
Another option: integrate Shale into GarnetFlow/similar flow that compiles Halide applications and rewrite rules before running Shale.
Pinging @jeffsetter
These are the issues I'm running into so far:
design_top.json
generated in GarnetFlow is different than the design_top.json
in the apps directory in this repo. This is causing issues when the map.json
wants to trace certain signal names since they don't exist in the bitstream.dc
and libelf1
GlobalBuffer_inst0
to GlobalBuffer_32_8_8_17...
again... I don't know why. I changed it back.--no_sram_stub
flag, but we'll probably want this if we want power numbers to be automatically generated?Rough next steps:
Other things:
I don't know if this answers issue 1., but after Halide-to-Hardware, we go through Joey's BufferMapping (https://github.com/joyliu37/BufferMapping):
design_top.json
from Jeff in BufferMapping/scripts
python coreir_gen.py design_top.json
BufferMapping/scripts/output/output_coreir.json
output_coreir.json
is moved into the shale apps
directory as bin/design_top.json
Once the Halide-to-Hardware and BufferMapping flow is robust and without manual intervention, let's integrate it into Shale so we can run Halide apps with one command.