-
Notifications
You must be signed in to change notification settings - Fork 542
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
Initialize array via function within package #570
Comments
Icarus Verilog does not currently support unpacked arrays as (local) parameters or function return values, or indeed, most other places where they can't be used in traditional Verilog. But it should warn you about this and fail to compile your code, rather than producing incorrect results. |
Understood. Thanks, Martin.
|
Yes, having looked, I now find that multi-dimensional packed arrays are not supported in parameters/localparams.
almost works, although it hits another bug when |
Expected output (as per commercial simulator):
Actual output (some rev 12 hash build run with iverilog -g2012)
The text was updated successfully, but these errors were encountered: