mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
Add support for "yosys -E"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
446ccf1f05
commit
a96c775a73
13 changed files with 53 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue