3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-04 23:14:00 +00:00

Added iCE40 const folding support for SB_CARRY

This commit is contained in:
Clifford Wolf 2015-04-27 08:38:14 +02:00
parent 752851954b
commit 8d4a675f91
3 changed files with 134 additions and 2 deletions

View file

@ -198,7 +198,7 @@ struct SynthIce40Pass : public Pass {
Pass::call(design, "techmap -map +/techmap.v -map +/ice40/arith_map.v");
if (retime)
Pass::call(design, "abc -dff");
Pass::call(design, "opt -fast");
Pass::call(design, "ice40_opt");
}
if (check_label(active, run_from, run_to, "map_ffs"))
@ -208,7 +208,7 @@ struct SynthIce40Pass : public Pass {
Pass::call(design, "opt_const -mux_undef");
Pass::call(design, "simplemap");
Pass::call(design, "ice40_ffssr");
Pass::call(design, "clean");
Pass::call(design, "ice40_opt -full");
}
if (check_label(active, run_from, run_to, "map_luts"))