Skip to content

Commit 53e51f2

Browse files
Merge pull request #409 from BessonThierry/main
fix EDA-3175, last issue reported by CS on extra O_FAB driven by O_DDR
2 parents d1cff4f + c746f50 commit 53e51f2

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

src/synth_rapidsilicon.cc

+17-2
Original file line numberDiff line numberDiff line change
@@ -7931,6 +7931,20 @@ void collect_clocks (RTLIL::Module* module,
79317931
register_rule("O_DELAY", "DLY_ADJ", "f2g_trx_dly_adj", 0, all_rules);
79327932
register_rule("O_DELAY", "DLY_INCDEC", "f2g_trx_dly_inc", 0, all_rules);
79337933
register_rule("O_DELAY", "DLY_TAP_VALUE", "f2g_trx_dly_tap", 0, all_rules);
7934+
7935+
#if 1
7936+
7937+
// Data signals
7938+
//
7939+
register_rule("O_BUF", "I", "f2g_tx_out", 0, all_rules);
7940+
register_rule("O_BUFT", "I", "f2g_tx_out", 0, all_rules);
7941+
register_rule("O_BUF_DS", "I", "f2g_tx_out", 0, all_rules);
7942+
register_rule("O_BUFT_DS", "I", "f2g_tx_out", 0, all_rules);
7943+
register_rule("O_DELAY", "I", "f2g_tx_out", 0, all_rules);
7944+
register_rule("O_DDR", "D", "f2g_tx_out", 0, all_rules);
7945+
register_rule("O_SERDES", "D", "f2g_tx_out", 0, all_rules);
7946+
#endif
7947+
79347948
#endif
79357949

79367950
register_rule("I_DDR", "R", "f2g_trx_reset_n", 0, all_rules);
@@ -8055,8 +8069,9 @@ void collect_clocks (RTLIL::Module* module,
80558069

80568070
for (auto cell : top_module->cells()) {
80578071

8058-
if (cell->type.in(ID(I_BUF_DS), ID(O_BUF_DS), ID(O_BUFT_DS), ID(O_SERDES), ID(I_SERDES),
8059-
ID(BOOT_CLOCK), ID(O_DELAY), ID(I_DELAY), ID(O_SERDES_CLK), ID(PLL))) {
8072+
if (cell->type.in(ID(I_BUF_DS), ID(O_BUF_DS), ID(O_BUFT_DS), ID(O_SERDES),
8073+
ID(I_SERDES), ID(BOOT_CLOCK), ID(O_DELAY), ID(I_DELAY),
8074+
ID(O_BUF), ID(O_BUFT), ID(O_DDR))) {
80608075

80618076
#if 0
80628077
log("Collect Cell %s\n", (cell->type).c_str());

0 commit comments

Comments
 (0)