Is there a way to disable the CheckCombLoops FIRRTL pass? (These loops are false.) If possible, I want to do this in the tester driver. I saw the option for the FIRRTL intepreter, but I still get an exception during the FIRRTL run. I also want to be able to use VCS as a backend.
class LazyStackNWait2Test extends FlatSpec with Matchers {
behavior of "LazyStackNWait2"
it should "work" in {
chisel3.iotesters.Driver.execute( Array( "--fr-allow-cycles", "--backend-name", "firrtl"), () => new LazyStackN(10, () => new LazyStackWait2)) { c =>
new LazyStackNTester( c)
} should be ( true)
}
}
Here is part of the log:
[info] [1.057] Done elaborating.
[info] - should work *** FAILED ***
[info] firrtl.passes.PassExceptions:
firrtl.passes.CheckCombLoops$CombLoopException: @[:@5437.2]: [module LazyStackN] Combinational loop detected:
The build is from the latest github HEAD.