Fix VPI module tree (#2704)

This commit is contained in:
Todd Strader
2020-12-16 11:46:57 -05:00
committed by GitHub
parent f98782c061
commit b75901b3eb
3 changed files with 45 additions and 12 deletions
-1
View File
@@ -691,7 +691,6 @@ void EmitCSyms::emitSymImp() {
++it) {
string name = it->second.m_prettyName;
if (it->first == "TOP") continue;
name = name.replace(0, 4, ""); // Remove the "TOP."
if ((name.find('.') == string::npos) && (it->second.m_type == "SCOPE_MODULE")) {
puts("__Vhier.add(0, &" + protect("__Vscope_" + it->second.m_symName) + ");\n");
}