mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-26 10:35:38 +00:00
- 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.
This commit is contained in:
parent
3152863479
commit
8127d5e8c3
5 changed files with 44 additions and 37 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue