3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-07 11:41:23 +00:00

ice40_wrapcarry to really preserve attributes via -unwrap option

This commit is contained in:
Eddie Hung 2019-12-09 11:48:28 -08:00
parent 946d5854c0
commit e05372778a
4 changed files with 61 additions and 39 deletions

View file

@ -363,6 +363,7 @@ struct SynthIce40Pass : public ScriptPass
else
run(abc + " -dress -lut 4", "(skip if -noabc)");
}
run("ice40_wrapcarry -unwrap");
run("techmap -D NO_LUT -map +/ice40/cells_map.v");
run("clean");
run("opt_lut -dlogic SB_CARRY:I0=2:I1=1:CI=0");