mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Fix VPI module tree (#2704)
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user