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
Multiple instance in a single module instantiation #884
Comments
Original Redmine Comment However, verilator doesn't handle this syntax. With such a code, I get a segmentation fault:
Franck. |
Original Redmine Comment Comma separated instantiations are split into two in the parser, so should not directly lead to this error, and simple tests with commas work. Can you please submit a complete example in test_regress format (see docs) that passes on another simulator? Thanks |
Original Redmine Comment Ah, I realized a difference was you had parameters. When I added that to the test I got a crash in the parser. However I did not see nor can explain why the crash you saw would be in that part of the program. Anyhow the problem I saw is fixed in git, please try it and confirm this fixes your issue. |
Original Redmine Comment You fixed it ! Thanks. |
Original Redmine Comment In 3.872. |
Author Name: Franck Jullien (@fjullien)
Original Redmine Issue: 884 from https://www.veripool.org
Original Date: 2015-02-19
Original Assignee: Wilson Snyder (@wsnyder)
The verilog standard says that "One or more module instances (identical copies of a module) can be specified in a single module instantiation statement.".
So we can have for example:
The text was updated successfully, but these errors were encountered: