mirror of
https://github.com/verilator/verilator.git
synced 2025-04-25 10:06:54 +00:00
Internal: Reconnect complicated pins in V3Tristate before Unknowns. Prep for next change.
This commit is contained in:
parent
7069d7d802
commit
c42612abac
@ -58,6 +58,7 @@
|
|||||||
#include "V3Ast.h"
|
#include "V3Ast.h"
|
||||||
#include "V3Const.h"
|
#include "V3Const.h"
|
||||||
#include "V3Stats.h"
|
#include "V3Stats.h"
|
||||||
|
#include "V3Inst.h"
|
||||||
|
|
||||||
//######################################################################
|
//######################################################################
|
||||||
|
|
||||||
@ -545,6 +546,9 @@ private:
|
|||||||
refp->user1p(enp);
|
refp->user1p(enp);
|
||||||
refp->varp()->user1p(enp);
|
refp->varp()->user1p(enp);
|
||||||
}
|
}
|
||||||
|
// Simplify interconnect in preperation for V3Inst
|
||||||
|
// (This could be a separate visitor, but we're in the neighborhood)
|
||||||
|
V3Inst::pinReconnectSimple(nodep, m_cellp, m_modp);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Default: Just iterate
|
// Default: Just iterate
|
||||||
|
@ -193,6 +193,8 @@ void process () {
|
|||||||
V3Inst::dearrayAll(v3Global.rootp());
|
V3Inst::dearrayAll(v3Global.rootp());
|
||||||
//v3Global.rootp()->dumpTreeFile(v3Global.debugFilename("dearray.tree"));
|
//v3Global.rootp()->dumpTreeFile(v3Global.debugFilename("dearray.tree"));
|
||||||
|
|
||||||
|
// Expand inouts, stage 2
|
||||||
|
// Also simplify pin connections to always be AssignWs in prep for V3Unknown
|
||||||
V3Tristate::tristateAll(v3Global.rootp());
|
V3Tristate::tristateAll(v3Global.rootp());
|
||||||
v3Global.rootp()->dumpTreeFile(v3Global.debugFilename("tristate.tree"));
|
v3Global.rootp()->dumpTreeFile(v3Global.debugFilename("tristate.tree"));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user