diff options
author | Siesh1oo <siesh1oo@siesh1oo.no> | 2014-03-12 18:33:37 +0100 |
---|---|---|
committer | Siesh1oo <siesh1oo@siesh1oo.no> | 2014-03-12 18:33:37 +0100 |
commit | 5a50760e2c327ded7a4da223fb16591febcb773f (patch) | |
tree | 3f720130f55875f208b30844a080e3209beceaaf /passes/abc/abc.cc | |
parent | 50423e3935095e535aa42aa17c80f0d178730e93 (diff) | |
download | yosys-5a50760e2c327ded7a4da223fb16591febcb773f.tar.gz yosys-5a50760e2c327ded7a4da223fb16591febcb773f.tar.bz2 yosys-5a50760e2c327ded7a4da223fb16591febcb773f.zip |
- kernel/register.h, kernel/driver.cc: refactor rewrite_yosys_exe()/get_share_file_name() to portable proc_self_dirname()/proc_share_dirname().
This refactoring improves robustness and allows OSX support with only 7 new lines of code, and easy extension for other systems.
- passes/abc/abc.cc, passes/cmds/show.cc, passes/techmap/techmap.cc: use new, refactored semantics.
- Makefile: no need to add $(PWD) to $(PATH) anymore.
Diffstat (limited to 'passes/abc/abc.cc')
-rw-r--r-- | passes/abc/abc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/abc/abc.cc b/passes/abc/abc.cc index 286b750cc..30e78e588 100644 --- a/passes/abc/abc.cc +++ b/passes/abc/abc.cc @@ -969,7 +969,7 @@ struct AbcPass : public Pass { log_header("Executing ABC pass (technology mapping using ABC).\n"); log_push(); - std::string exe_file = rewrite_yosys_exe("yosys-abc"); + std::string exe_file = proc_self_dirname() + "yosys-abc"; std::string script_file, liberty_file, constr_file, clk_str; bool dff_mode = false, keepff = false, cleanup = true; int lut_mode = 0; |