3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-21 02:30:25 +00:00

add latch mapping, and remove aldff for now

This commit is contained in:
Miodrag Milanovic 2024-04-19 18:09:47 +02:00
parent cf21b48bfd
commit dac4f04460
4 changed files with 21 additions and 8 deletions

View file

@ -294,7 +294,8 @@ struct SynthNanoXplorePass : public ScriptPass
if (check_label("map_ffs"))
{
run("dfflegalize -cell $_DFF_?P?_ 0 -cell $_ALDFF_?P_ 0 -cell $_SDFF_?P?_ 0");
run("dfflegalize -cell $_DFF_?P?_ 0 -cell $_SDFF_?P?_ 0 -cell $_DLATCH_?_ x"); //-cell $_ALDFF_?P_ 0
run("techmap -map +/nanoxplore/latches_map.v");
run("techmap -map +/nanoxplore/cells_map.v");
run("opt_expr -undriven -mux_undef");
run("clean -purge");