From 46f70b1cbbe141d2e6b2c3c32c8d8562a679586b Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Mon, 31 Dec 2012 13:50:44 -0500 Subject: [PATCH] Fix implying dotted wire names --- src/V3LinkDot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V3LinkDot.cpp b/src/V3LinkDot.cpp index 46128df53..d3dd8c9e0 100644 --- a/src/V3LinkDot.cpp +++ b/src/V3LinkDot.cpp @@ -805,7 +805,7 @@ private: if (nodep->castDot()) { // Not creating a simple implied type, // and implying something else would just confuse later errors } - if (nodep->castVarRef() || (nodep->castParseRef() && nodep->castParseRef()->start())) { + else if (nodep->castVarRef() || (nodep->castParseRef() && nodep->castParseRef()->start())) { // To prevent user errors, we should only do single bit // implicit vars, however some netlists (MIPS) expect single // bit implicit wires to get created with range 0:0 etc.