mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Correctly schedule combinational logic driven from DPI exports.
Fixes #3429.
This commit is contained in:
@@ -433,6 +433,11 @@ public:
|
||||
// Operate on whole netlist
|
||||
iterate(nodep);
|
||||
|
||||
if (AstVarScope* const vscp = nodep->dpiExportTriggerp()) {
|
||||
vscp->user1Inc();
|
||||
vscp->varp()->user1Inc();
|
||||
}
|
||||
|
||||
deadCheckVar();
|
||||
// We only eliminate scopes when in a flattened structure
|
||||
// Otherwise we have no easy way to know if a scope is used
|
||||
|
||||
Reference in New Issue
Block a user