mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 21:27:00 +00:00
ecp5: replace ecp5_ffinit with techmap rules + dff2dffs -match-init
This commit is contained in:
parent
039c3a5982
commit
5d5029fa75
3 changed files with 213 additions and 57 deletions
|
@ -303,14 +303,13 @@ struct SynthEcp5Pass : public ScriptPass
|
|||
|
||||
if (check_label("map_ffs"))
|
||||
{
|
||||
run("dff2dffs");
|
||||
run("dff2dffs -match-init");
|
||||
run("opt_clean");
|
||||
if (!nodffe)
|
||||
run("dff2dffe -direct-match $_DFF_* -direct-match $__DFFS_*");
|
||||
run(stringf("techmap -D NO_LUT %s -map +/ecp5/cells_map.v", help_mode ? "[-D ASYNC_PRLD]" : (asyncprld ? "-D ASYNC_PRLD" : "")));
|
||||
run("opt_expr -undriven -mux_undef");
|
||||
run("simplemap");
|
||||
run("ecp5_ffinit");
|
||||
run("ecp5_gsr");
|
||||
run("attrmvcp -copy -attr syn_useioff");
|
||||
run("opt_clean");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue