mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
Added dffsr2dff
This commit is contained in:
parent
ba407da187
commit
d69395ca08
3 changed files with 171 additions and 0 deletions
|
@ -103,6 +103,7 @@ struct SynthIce40Pass : public Pass {
|
|||
log(" ice40_opt\n");
|
||||
log("\n");
|
||||
log(" map_ffs:\n");
|
||||
log(" dffsr2dff\n");
|
||||
log(" dff2dffe -direct-match $_DFF_*\n");
|
||||
log(" techmap -map +/ice40/cells_map.v\n");
|
||||
log(" opt_const -mux_undef\n");
|
||||
|
@ -243,6 +244,7 @@ struct SynthIce40Pass : public Pass {
|
|||
|
||||
if (check_label(active, run_from, run_to, "map_ffs"))
|
||||
{
|
||||
Pass::call(design, "dffsr2dff");
|
||||
Pass::call(design, "dff2dffe -direct-match $_DFF_*");
|
||||
Pass::call(design, "techmap -map +/ice40/cells_map.v");
|
||||
Pass::call(design, "opt_const -mux_undef");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue