Closed David-Durst closed 5 years ago
@David-Durst can you tryout the branch https://github.com/leonardt/fault/pull/96
It adds a similar option to fault for configuring the compile behavior relative to the calling file, see https://github.com/leonardt/fault/pull/96/files#diff-423890b7e3c2aa4791f9e203b7f194cbR13 for an example on how to use it (basically, add that command to your conftest).
Let me know if you run into issues with it
That fixed my issue. Thanks!
The below test succeeds when I run it from my IDE. My IDE runs pytest from the
tests/haskell
directory.https://github.com/David-Durst/aetherling/blob/master/tests/haskell/test_downsampleStencil.py#L176-L212
My compile_dir is set at https://github.com/David-Durst/aetherling/blob/master/conftest.py#L12
However, when I run pytests -s from my project's root directory, I get the below error. I verified that the verilog file is created each time the test is run in
tests/haskell/vBuild
. I think that verilator is looking for the vBuild directory at the root of my project.