Merge pull request #2456 from Zottel/master

Return correct modname when found in cache.
This commit is contained in:
whitequark 2020-12-02 22:20:02 +00:00 committed by GitHub
commit 90724ea9e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 { } 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());
} }