mirror of
https://github.com/verilator/verilator.git
synced 2026-09-05 00:41:39 +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
@@ -103,7 +103,7 @@ private:
|
||||
AstVar* getBlockTemp(AstNode* nodep) {
|
||||
string newvarname = ((string)"__Vtemp"+cvtToStr(m_modp->varNumGetInc()));
|
||||
AstVar* varp = new AstVar (nodep->fileline(), AstVarType::STMTTEMP, newvarname,
|
||||
AstVar::LogicPacked(), nodep->widthMin());
|
||||
AstLogicPacked(), nodep->widthMin());
|
||||
m_funcp->addInitsp(varp);
|
||||
return varp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user