mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 16:28:53 +02:00
Internals: Improve DFG implementation details (#6355)
Large scale refactoring to simplify some of the more obtuse internals of DFG. Remove multiple redundant internal APIs, simplify representation of variables, fix potential unsoundness in circular decomposition. No functional change intended.
This commit is contained in:
@@ -324,7 +324,7 @@ class DataflowOptimize final {
|
||||
|
||||
// Mark interfaces that might be referenced by a virtual interface
|
||||
if (v3Global.hasVirtIfaces()) {
|
||||
netlistp->typeTablep()->foreach([](AstIfaceRefDType* nodep) {
|
||||
netlistp->typeTablep()->foreach([](const AstIfaceRefDType* nodep) {
|
||||
if (!nodep->isVirtual()) return;
|
||||
nodep->ifaceViaCellp()->setHasVirtualRef();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user