Replies: 1 comment 2 replies
-
Hi, So, hardware asserts with string interpolation aren't supported by the VHDL backend. The proper fix would be to add support for them in ComponentEmitterVhdl.scala:638 Would you feel like trying that + PR ^^? For reference, here is how assert statements are emited in verilog : |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have assert statements with string interpolation sprinkled all through my codebase.
As far as i can tell, this means i cant generate VHDL output anymore.
E.g. this example
will produce this not-very-helpful error message:
Is there an intended way to work around this?
For now i have defined this custom Phase, but im not sure im doing that right:
Beta Was this translation helpful? Give feedback.
All reactions