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
Issue handling replications in new parser #1205
Comments
Original Redmine Comment Leon Medpum wrote:
Yes, replications are not supported with the pinselects option at the moment and I am not planning to implement them within the parser. @wilson: I have noticed another bug though, specifically when handling nested concatenations. The golden sample in @t/35_sigparser_ps.out:1150@ is most likely not what we want. There the contents of @{someotherbus[2],someotherbus[2]}@ are kinda duplicated. It is returned by the pinselects function as
Instead of the two individual components only:
I have fixed both issues in the following branch on github: https://github.com/uastw-embsys/Verilog-Perl/compare/replications_concats KR, Stefan |
Original Redmine Comment Leon, thanks for the report, and Stefan for the patch. Pushed to git towards 3.443. |
Original Redmine Comment Fixed in 3.444. |
Author Name: Leon Medpum
Original Redmine Issue: 1205 from https://www.veripool.org
Git version: 5f176d4
We have some verilog that looks like this:
When trying to link this verilog, I get the error:
%Error: top1.sv:10: Unexpected length in size of integer constant: "{3{1'b0}}".
I checked IEEE.1364-2005 and this seems to be legal syntax as per section 5.1.14
I can make it work if I convert this to the following, but I don't have the ability to actually modify our netlist.
It links fine.
The text was updated successfully, but these errors were encountered: