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:
parent
7033503cd9
commit
34d2fbd2f9
10 changed files with 367 additions and 4 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue