Return correct modname when found in cache.

This commit is contained in:
Julius Roob 2020-11-26 13:28:28 +01:00
parent 2116c58581
commit 2e23dfd96b
1 changed files with 1 additions and 0 deletions

View File

@ -1511,6 +1511,7 @@ RTLIL::IdString AstModule::derive(RTLIL::Design *design, const dict<RTLIL::IdStr
}
} else {
modname = new_modname;
log("Found cached RTLIL representation for module `%s'.\n", modname.c_str());
}