mirror of
https://github.com/verilator/verilator.git
synced 2026-09-06 17:01:09 +02:00
Internals: Move array definitions to AstArrayDType instead of under AstVars.
Prep work for more complicated data types.
This commit is contained in:
+1
-1
@@ -157,7 +157,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(), AstVar::LogicPacked(), 1);
|
||||
forrefp->name(), AstLogicPacked(), 1);
|
||||
|
||||
newp->trace(m_modp->modTrace());
|
||||
m_modp->addStmtp(newp);
|
||||
|
||||
Reference in New Issue
Block a user