mirror of
https://github.com/verilator/verilator.git
synced 2026-09-04 16:40:12 +02:00
Fix internal signal names containing control characters (broke in 3.680).
Internally this means for signal names use __0{xdigit}{xdigit} and avoid
__0 in other cases.
This commit is contained in:
+1
-1
@@ -94,7 +94,7 @@ private:
|
||||
}
|
||||
|
||||
AstVar* getBlockTemp(AstNode* nodep) {
|
||||
string newvarname = ((string)"__Vtemp__"+cvtToStr(m_modp->varNumGetInc()));
|
||||
string newvarname = ((string)"__Vtemp"+cvtToStr(m_modp->varNumGetInc()));
|
||||
AstVar* varp = new AstVar (nodep->fileline(), AstVarType::STMTTEMP, newvarname,
|
||||
new AstRange(nodep->fileline(), nodep->widthMin()-1, 0));
|
||||
m_funcp->addInitsp(varp);
|
||||
|
||||
Reference in New Issue
Block a user