From c50949209d87255b50d4a4fbba80ee0351d2883d Mon Sep 17 00:00:00 2001 From: awaisabbas006 Date: Mon, 25 Nov 2024 16:40:38 +0500 Subject: [PATCH] fix for EDA-3287 --- src/synth_rapidsilicon.cc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/synth_rapidsilicon.cc b/src/synth_rapidsilicon.cc index d4b8b9f8..bae88e4f 100644 --- a/src/synth_rapidsilicon.cc +++ b/src/synth_rapidsilicon.cc @@ -2820,7 +2820,16 @@ void abcDffOpt(int unmap_dff_ce, int n, int dfl, const string step) continue; } if(cell->type == RTLIL::escape_id("$mul")){ - MULT_used_cells.push_back(cell); + if (tech == Technologies::GENESIS_3) + { + if (cell->get_bool_attribute(RTLIL::escape_id("valid_map"))) + { + MULT_used_cells.push_back(cell); + } + } + else { + MULT_used_cells.push_back(cell); + } continue; } }