mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Allow empty top-level module name, to match standalone simulation
This commit is contained in:
+2
-1
@@ -290,7 +290,8 @@ void EmitCSyms::emitSymImp() {
|
||||
} else {
|
||||
ofp()->printf("\t%c %-30s ", comma, scopep->nameDotless().c_str());
|
||||
puts("(Verilated::catName(topp->name(),");
|
||||
putsQuoted("."+scopep->prettyName());
|
||||
// The "." is added by catName
|
||||
putsQuoted(scopep->prettyName());
|
||||
puts("))\n");
|
||||
comma=',';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user