Internals: Create user1SetOnce(). No functional change.

This commit is contained in:
Wilson Snyder
2012-04-29 08:55:33 -04:00
parent 91e4010039
commit a4ddc5b3ac
13 changed files with 34 additions and 29 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ private:
if (nodep->modVarp()->isOutOnly() && nodep->exprp()->castConst())
nodep->v3error("Output port is connected to a constant pin, electrical short");
// Use user1p on the PIN to indicate we created an assign for this pin
if (!nodep->user1Inc()) {
if (!nodep->user1SetOnce()) {
// Simplify it
V3Inst::pinReconnectSimple(nodep, m_cellp, m_modp, false);
// Make a ASSIGNW (expr, pin)