yosys: passes: cmds: show: added filename re-writing to `show -lib`

This commit is contained in:
Aki Van Ness 2022-08-18 06:39:11 -04:00
parent 029c2785e8
commit 1433a63165
No known key found for this signature in database
GPG Key ID: C629E8EC06327BEE
1 changed files with 1 additions and 0 deletions

View File

@ -825,6 +825,7 @@ struct ShowPass : public Pass {
for (auto filename : libfiles) {
std::ifstream f;
rewrite_filename(filename);
f.open(filename.c_str());
yosys_input_files.insert(filename);
if (f.fail())