Intenal Error of "Multiple root modules" happens if one of sub modules is not inlined when creating a protect lib. #1616
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.
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.
The text was updated successfully, but these errors were encountered:
Original Redmine Comment
That check was overly aggressive when inlining. Here's my proposed solution:
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.