3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

Add opt_lut_ins pass. (#1673)

This commit is contained in:
Marcelina Kościelnicka 2020-02-03 14:57:17 +01:00 committed by GitHub
parent 7033503cd9
commit 34d2fbd2f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 367 additions and 4 deletions

View file

@ -343,6 +343,7 @@ struct SynthEcp5Pass : public ScriptPass
else
run("techmap -map +/ecp5/cells_map.v", "(with -D NO_LUT in vpr mode)");
run("opt_lut_ins -tech ecp5");
run("clean");
}

View file

@ -246,6 +246,7 @@ struct SynthGowinPass : public ScriptPass
if (check_label("map_cells"))
{
run("techmap -map +/gowin/cells_map.v");
run("opt_lut_ins -tech gowin");
run("setundef -undriven -params -zero");
run("hilomap -singleton -hicell VCC V -locell GND G");
if (!noiopads || help_mode)

View file

@ -597,6 +597,7 @@ struct SynthXilinxPass : public ScriptPass
techmap_args += stringf(" -map %s", ff_map_file.c_str());
run("techmap " + techmap_args);
run("xilinx_dffopt");
run("opt_lut_ins -tech xilinx");
}
if (check_label("finalize")) {