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

Support multi-dimensional localparams #18

Closed
NilsGraf opened this issue Aug 28, 2019 · 2 comments
Closed

Support multi-dimensional localparams #18

NilsGraf opened this issue Aug 28, 2019 · 2 comments

Comments

@NilsGraf
Copy link

Input:

localparam logic [7:0] init_val [4] = '{8'd0, 8'd8, 8'd10, 8'd200};

Output:

sv2v: Parse error: unexpected token '[' (Sym_brack_l) at ./foo_pkg.sv:10:35.
CallStack (from HasCallStack):
  error, called at .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1/build/sv2v/sv2v-tmp/Language/SystemVerilog/Parser/Parse.hs:6149:22 in main:Language.SystemVerilog.Parser.Parse
@zachjs zachjs closed this as completed in 1472ea0 Aug 30, 2019
@zachjs
Copy link
Owner

zachjs commented Aug 30, 2019

Thank you! This should now be fixed.

@NilsGraf
Copy link
Author

Thanks, it seems to work now.

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

No branches or pull requests

2 participants