New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verilog/SystemVerilog generation error: "Can't match template for ...Unsigned.rotateR#" #169
Comments
I think I see the problem: clash-compiler/clash-systemverilog/primitives/CLaSH.Sized.Internal.Unsigned.json Line 187 in 7a7904c
|
Yes, I've confirmed this is the problem, fixing my primitives |
Thanks for the report, and for finding the source of the bug so quickly. |
With:
Consider the following circuit, which is the NORX
F
permutation, with the recommended 4 rounds (it is almost a transliteration of Figure 2.4, pg 9 in the NORX v2.0 specification):This works and passes the test vector:
I expect that I should be able to compile this (very simple) circuit to Verilog or SystemVerilog, but I can't. VHDL does work:
SystemVerilog fails in a very similar manner to this, with basically the exact same error message.
The text was updated successfully, but these errors were encountered: