diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-12-22 12:19:11 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-12-22 12:19:11 +0100 |
commit | 2ee608246fd3dc284ff5fd864c7690b42fa45387 (patch) | |
tree | a087b9c9297ab379d2e600d8822f2a82bb42184b /techlibs/ice40 | |
parent | 3102ffbb83574b3abaebef513bb762d5e951cda0 (diff) | |
download | yosys-2ee608246fd3dc284ff5fd864c7690b42fa45387.tar.gz yosys-2ee608246fd3dc284ff5fd864c7690b42fa45387.tar.bz2 yosys-2ee608246fd3dc284ff5fd864c7690b42fa45387.zip |
Re-run ice40_opt in "synth_ice40 -abc2"
Diffstat (limited to 'techlibs/ice40')
-rw-r--r-- | techlibs/ice40/synth_ice40.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/techlibs/ice40/synth_ice40.cc b/techlibs/ice40/synth_ice40.cc index 935f71c1c..36aca4072 100644 --- a/techlibs/ice40/synth_ice40.cc +++ b/techlibs/ice40/synth_ice40.cc @@ -113,6 +113,7 @@ struct SynthIce40Pass : public Pass { log("\n"); log(" map_luts:\n"); log(" abc (only if -abc2)\n"); + log(" ice40_opt (only if -abc2)\n"); log(" abc -lut 4\n"); log(" clean\n"); log("\n"); @@ -253,8 +254,10 @@ struct SynthIce40Pass : public Pass { if (check_label(active, run_from, run_to, "map_luts")) { - if (abc2) + if (abc2) { Pass::call(design, "abc"); + Pass::call(design, "ice40_opt"); + } Pass::call(design, "abc -lut 4"); Pass::call(design, "clean"); } |