Open martijnbastiaan opened 7 months ago
After thinking about it a little bit, my proposal would be to write a small wrapper around Vivado that allows us to control it from Haskell - similar to what doctest-parallel
does with ghci
. As a bonus, it would make it trivial to do parallel FPGA programming, VIO monitoring, etc.
After https://github.com/bittide/bittide-hardware/pull/536 we can control Vivado from Haskell, resolving the biggest part of this issue. Last part is added in https://github.com/bittide/bittide-hardware/pull/664.
After merging https://github.com/bittide/bittide-hardware/pull/424 we're stuck with a pretty TODO in our code base:
This is probably a matter of adding a "set up" and "tear down" stage after each test. I'm not sure how we're going to manage this in TCL, it seems pretty dreadful to program it there..
This structure should be able to be used for: