Skip to content
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

negative values in memory initialization #96

Closed
sbourdeauducq opened this issue Jun 10, 2019 · 1 comment
Closed

negative values in memory initialization #96

sbourdeauducq opened this issue Jun 10, 2019 · 1 comment

Comments

@sbourdeauducq
Copy link
Member

Having a negative value in a memory initialization list produces incorrect RTLIL which is then propagated down the stack until nextpnr crashes.
Should we support such negative values properly? They can be useful e.g. for DSP applications.

@whitequark
Copy link
Contributor

Anything that's OK as a signal reset or assigned value should be OK as memory init value too. So this is clearly a bug.

Sorry, something went wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants