From 14e43139cbfcefe75a36ce57f5c345b0de30a339 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 14 Aug 2024 12:14:21 +0200 Subject: [PATCH] Run opt_merge, helps with inverted reset/load signals --- techlibs/nanoxplore/synth_nanoxplore.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/techlibs/nanoxplore/synth_nanoxplore.cc b/techlibs/nanoxplore/synth_nanoxplore.cc index cb2bb8a96..0948bb5ca 100644 --- a/techlibs/nanoxplore/synth_nanoxplore.cc +++ b/techlibs/nanoxplore/synth_nanoxplore.cc @@ -314,6 +314,7 @@ struct SynthNanoXplorePass : public ScriptPass } dfflegalize_args += " -cell $_DLATCH_?_ x -mince 8 -minsrst 8"; run("dfflegalize" + dfflegalize_args,"($_*DFFE_* only if not -nodffe)"); + run("opt_merge"); run("techmap -map +/nanoxplore/latches_map.v"); run("techmap -map +/nanoxplore/cells_map.v"); run("opt_expr -undriven -mux_undef");