You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you very much for maintaining and evolving the great software.
I am exploring --protect-lib to shorten the verilator runtime for a large design.
When I tried, I encountered Intenal Error of "Multiple root modules".
I can not share the actual design, so I made a tiny case to see the error.
The attached file is a small HDL to show the error.
%Error: Internal Error: to_be_protected.sv:10: ../V3ProtectLib.cpp:81: Multiple root modules
module to_be_protected (input wire in, output wire out);
^~~~~~~~~~~~~~~
... See the manual and https://verilator.org for more assistance.
As far as I tried, non-inlined module seems to cause the internal error because one of the following setting is necessary.
Adding /verilator no_inline_module/ comment
-O0 option
I tried the following versions and saw the error.
stable branch tag:verilator_4_022
master branch 3d6e8e9
The text was updated successfully, but these errors were encountered:
Wilson: I'm guessing this sort of fix doesn't require a Changes entry. But please let me know if it does. Also, please let me know if this needs any changes before pushing.
Author Name: Yutetsu TAKATSUKASA (@yTakatsukasa)
Original Redmine Issue: 1616 from https://www.veripool.org
Original Assignee: Todd Strader (@toddstrader)
First of all, thank you very much for maintaining and evolving the great software.
I am exploring --protect-lib to shorten the verilator runtime for a large design.
When I tried, I encountered Intenal Error of "Multiple root modules".
I can not share the actual design, so I made a tiny case to see the error.
The attached file is a small HDL to show the error.
I ran verilator as the following.
The error message is
As far as I tried, non-inlined module seems to cause the internal error because one of the following setting is necessary.
I tried the following versions and saw the error.
stable branch tag:verilator_4_022
master branch 3d6e8e9
The text was updated successfully, but these errors were encountered: