Internal: Reconnect complicated pins in V3Tristate before Unknowns. Prep for next change.

This commit is contained in:
Wilson Snyder 2009-10-07 07:54:30 -04:00
parent 7069d7d802
commit c42612abac
2 changed files with 6 additions and 0 deletions

View File

@ -58,6 +58,7 @@
#include "V3Ast.h"
#include "V3Const.h"
#include "V3Stats.h"
#include "V3Inst.h"
//######################################################################
@ -545,6 +546,9 @@ private:
refp->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

View File

@ -193,6 +193,8 @@ void process () {
V3Inst::dearrayAll(v3Global.rootp());
//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());
v3Global.rootp()->dumpTreeFile(v3Global.debugFilename("tristate.tree"));