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
CLaSH fails to generate VHDL when map is applied #78
Comments
Hi, sorry for the unclear error message. It's due to the fact that the Sorry for the inconvenience. I hope to fix #25 and this bug as part of a major overhaul of the CLaSH compiler internals, but that is going to take some time. |
Hello Christiaan, a version without zip fails as well:
It produces However, it would be extremely handy to be able to use Thank you |
I'll see if I can hack around it, I've actually wanted to be able to translate e.g. |
OK, i've hacked around it. See https://github.com/clash-lang/clash-compiler/tree/master/tests/shouldwork/HOPrim for some examples that work now. I'll make a new release containing this new feature after the weekend. Or perhaps during the weekend if I'm bored ;-) |
Thank you a lot for this update 👍 |
This fix is included in the, just released, 0.5.14 version of |
The following module compiles, but fails to generate VHDL with an error "*** Exception: CLaSH.Netlist(269): Unknown function: mem_165".
However, the equivalent, but less generic version generates VHDL perfectly fine:
The only difference is:
The text was updated successfully, but these errors were encountered: