mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #2456 from Zottel/master
Return correct modname when found in cache.
This commit is contained in:
commit
90724ea9e7
|
@ -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 New Issue