mirror of
https://github.com/verilator/verilator.git
synced 2026-09-05 00:41:39 +02:00
Remove implicit width 1 var creation. No functional change
This commit is contained in:
+1
-1
@@ -156,7 +156,7 @@ private:
|
||||
if (!forrefp->varp()) {
|
||||
if (!noWarn) forrefp->v3warn(IMPLICIT,"Signal definition not found, creating implicitly: "<<forrefp->prettyName());
|
||||
AstVar* newp = new AstVar (forrefp->fileline(), AstVarType::WIRE,
|
||||
forrefp->name());
|
||||
forrefp->name(), NULL, NULL); // width 1
|
||||
newp->trace(m_modp->modTrace());
|
||||
m_modp->addStmtp(newp);
|
||||
// Link it to signal list
|
||||
|
||||
Reference in New Issue
Block a user