mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
* Fix broken support of unassigned virtual interfaces Unassigned virtual interface support added by #6245 is broken - PR marks dead module as alive - we can't do that as once a module is dead it needs to remain dead because earlier steps (e.g. port resolution) have already been skipped. This commit handles unassigned virtual interfaces at the beginning of first pass of LinkDot (so it is never marked as dead, and no linking steps are getting skipped). Fixes #6253. * Apply suggestions from code review Co-authored-by: Wilson Snyder <[email protected]> * Apply 'make format' * Revert add of redundant iterateChildren() call * Add original test case --------- Co-authored-by: Wilson Snyder <[email protected]> Co-authored-by: github action <[email protected]>
6 lines
270 B
Plaintext
6 lines
270 B
Plaintext
%Error: t/t_interface_virtual_missing_bad.v:9:12: Cannot find file containing interface: 'foo'
|
|
9 | virtual foo vif;
|
|
| ^~~
|
|
... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
|
|
%Error: Exiting due to
|