Skip to content

Commit

Permalink
Merge branch 'YosysHQ:main' into submodule_abc
Browse files Browse the repository at this point in the history
  • Loading branch information
RCoeurjoly authored Apr 23, 2024
2 parents c1dead2 + 171577f commit 0402600
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ LIBS += -lrt
endif
endif

YOSYS_VER := 0.40+22
YOSYS_VER := 0.40+25

# Note: We arrange for .gitcommit to contain the (short) commit hash in
# tarballs generated with git-archive(1) using .gitattributes. The git repo
Expand Down
4 changes: 3 additions & 1 deletion passes/techmap/abc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -804,8 +804,10 @@ void abc_module(RTLIL::Design *design, RTLIL::Module *current_module, std::strin
for (std::string dont_use_cell : dont_use_cells) {
dont_use_args += stringf("-X \"%s\" ", dont_use_cell.c_str());
}
bool first_lib = true;
for (std::string liberty_file : liberty_files) {
abc_script += stringf("read_lib %s -w \"%s\" ; ", dont_use_args.c_str(), liberty_file.c_str());
abc_script += stringf("read_lib %s %s -w \"%s\" ; ", dont_use_args.c_str(), first_lib ? "" : "-m", liberty_file.c_str());
first_lib = false;
}
for (std::string liberty_file : genlib_files)
abc_script += stringf("read_library \"%s\"; ", liberty_file.c_str());
Expand Down

0 comments on commit 0402600

Please sign in to comment.