Skip to content

Commit faa4aeb

Browse files
committed
import abc command into zabc to protect against yosys hq changes
1 parent 18abad8 commit faa4aeb

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ add_library(wildebeest SHARED
1818
zopt_const_dff.cc
1919
zqcsat.cc
2020
zsimplemap.cc
21+
zabc.cc
2122
${CMAKE_CURRENT_BINARY_DIR}/version.h
2223
)
2324
target_include_directories(wildebeest

src/synth_fpga.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2395,7 +2395,7 @@ struct SynthFpgaPass : public ScriptPass
23952395

23962396
if (opt == "") {
23972397
log_header(yosys_get_design(), "Performing OFFICIAL PLATYPUS optimization\n");
2398-
run("abc -lut " + sc_syn_lut_size);
2398+
run("zabc -lut " + sc_syn_lut_size);
23992399
return;
24002400
}
24012401

@@ -2459,7 +2459,7 @@ struct SynthFpgaPass : public ScriptPass
24592459

24602460
log_header(yosys_get_design(), "Calling ABC script in '%s' mode\n", mode.c_str());
24612461

2462-
run("abc -script " + abc_script);
2462+
run("zabc -script " + abc_script);
24632463
}
24642464

24652465
// -------------------------

0 commit comments

Comments
 (0)