Skip to content

Commit 78566b8

Browse files
Merge pull request #425 from awaisabbas006/main
fix for EDA-3287
2 parents 110775e + c509492 commit 78566b8

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/synth_rapidsilicon.cc

+10-1
Original file line numberDiff line numberDiff line change
@@ -2820,7 +2820,16 @@ void abcDffOpt(int unmap_dff_ce, int n, int dfl, const string step)
28202820
continue;
28212821
}
28222822
if(cell->type == RTLIL::escape_id("$mul")){
2823-
MULT_used_cells.push_back(cell);
2823+
if (tech == Technologies::GENESIS_3)
2824+
{
2825+
if (cell->get_bool_attribute(RTLIL::escape_id("valid_map")))
2826+
{
2827+
MULT_used_cells.push_back(cell);
2828+
}
2829+
}
2830+
else {
2831+
MULT_used_cells.push_back(cell);
2832+
}
28242833
continue;
28252834
}
28262835
}

0 commit comments

Comments
 (0)