mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-12 20:18:20 +00:00
Return correct modname when found in cache.
This commit is contained in:
parent
2116c58581
commit
2e23dfd96b
|
@ -1511,6 +1511,7 @@ RTLIL::IdString AstModule::derive(RTLIL::Design *design, const dict<RTLIL::IdStr
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
modname = new_modname;
|
||||||
log("Found cached RTLIL representation for module `%s'.\n", modname.c_str());
|
log("Found cached RTLIL representation for module `%s'.\n", modname.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue