aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-01-07 16:36:13 +0100
committerClifford Wolf <clifford@clifford.at>2018-01-07 16:36:13 +0100
commita96c775a7301645b27486a5e663c75fca460f577 (patch)
tree18ab72d9bcf1fe0da59e993f71dc2ccf09f21066 /passes/techmap
parent446ccf1f05b2b36db9161bf4ab050778a1cbaee6 (diff)
downloadyosys-a96c775a7301645b27486a5e663c75fca460f577.tar.gz
yosys-a96c775a7301645b27486a5e663c75fca460f577.tar.bz2
yosys-a96c775a7301645b27486a5e663c75fca460f577.zip
Add support for "yosys -E"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'passes/techmap')
-rw-r--r--passes/techmap/techmap.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc
index d9e81e808..d7756e2cd 100644
--- a/passes/techmap/techmap.cc
+++ b/passes/techmap/techmap.cc
@@ -1095,6 +1095,7 @@ struct TechmapPass : public Pass {
std::ifstream f;
rewrite_filename(fn);
f.open(fn.c_str());
+ yosys_input_files.insert(fn);
if (f.fail())
log_cmd_error("Can't open map file `%s'\n", fn.c_str());
Frontend::frontend_call(map, &f, fn, (fn.size() > 3 && fn.substr(fn.size()-3) == ".il") ? "ilang" : verilog_frontend);