mirror of https://github.com/YosysHQ/yosys.git
yosys: passes: cmds: show: added filename re-writing to `show -lib`
This commit is contained in:
parent
029c2785e8
commit
1433a63165
|
|
@ -825,6 +825,7 @@ struct ShowPass : public Pass {
|
||||||
|
|
||||||
for (auto filename : libfiles) {
|
for (auto filename : libfiles) {
|
||||||
std::ifstream f;
|
std::ifstream f;
|
||||||
|
rewrite_filename(filename);
|
||||||
f.open(filename.c_str());
|
f.open(filename.c_str());
|
||||||
yosys_input_files.insert(filename);
|
yosys_input_files.insert(filename);
|
||||||
if (f.fail())
|
if (f.fail())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue