I'm getting a wrong "CombLoopException" when passing a complex Record (Bundle based on key-value pairs) as UInt and converting the UInt back to the Record by using asUInt() and asTypeOf(...).
When connecting the two Records directly without the UInt conversion step, there is no CombLoopException. I've spent several days trying to solve/reproduce the issue. This is why I am quite sure there should be no CombLoopException.
Unfortunately, there is no small code snippet I could provide to reproduce the error, as I'm working on a custom modification of the Rocket Chip Generator and the problem only occurs on a complex modification of a Bundle.
My question: How do I use the "--no-check-comb-loops" option to avoid the CombLoopException? Is there a way to add this option in the build.sbt?
I'd also like to give a detailed description on this particular case if wanted in order to help fixing this rare issue: Disable FIRRTL pass that checks for combinational loops