mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-24 23:03:42 +00:00
synth_intel_alm: Use dfflegalize.
This commit is contained in:
parent
c6765443fd
commit
3ca2de0f77
3 changed files with 10 additions and 122 deletions
|
@ -208,11 +208,10 @@ struct SynthIntelALMPass : public ScriptPass {
|
|||
}
|
||||
|
||||
if (check_label("map_ffs")) {
|
||||
run("techmap");
|
||||
run("dff2dffe");
|
||||
// As mentioned in common/dff_sim.v, Intel flops power up to zero,
|
||||
// so use `zinit` to add inverters where needed.
|
||||
run("zinit");
|
||||
run("techmap -map +/techmap.v -map +/intel_alm/common/dff_map.v");
|
||||
run("dfflegalize -cell $_DFFE_PN0P_ 0 -cell $_SDFFCE_PP0P_ 0");
|
||||
run("techmap -map +/intel_alm/common/dff_map.v");
|
||||
run("opt -full -undriven -mux_undef");
|
||||
run("clean -purge");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue