StanfordAHA / CGRAFlow

Integration test for entire CGRA flow
BSD 3-Clause "New" or "Revised" License
12 stars 2 forks source link

New Test bench generator #61

Closed leonardt closed 6 years ago

leonardt commented 6 years ago

This pull request replaces the current test bench found in CGRAGenerator/verilator/generator_z_tb with a test bench generator from https://github.com/StanfordAHA/TestBenchGenerator.

To emulate the interface provided by the existinng run.csh, we provide the TestBenchGenerator/process_input.py and TestBenchGenerator/process_output.py scripts to handle the DELAY parameters as well as mapping input/output files to port names.

Note serpent fails because I believe it's not generating the required collateral build/$*.io.json (instead, on my local machine, it looks like the script uses the generated collateral from smt-pnr during a past run, which doesn't work because I'm guessing serpent uses different pads for IO)

leonardt commented 6 years ago

@stevenri any objections to us pulling this in?

steveri commented 6 years ago

Looks good!