gowin: Himbaechel. Handle SDP OCE

Semi-dual port BSRAM (in Gowin terminology) has the same feature as
Single Port - the CE and OCE signals must be synchronized.

Such a sin has not yet been noticed for Dual Port.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
YRabbit 2024-01-30 11:13:07 +10:00 committed by myrtle
parent 833cb86b51
commit cc273c1257

View File

@ -1395,6 +1395,7 @@ struct GowinPacker
ci->renamePort(ctx->idf("BLKSELB[%d]", i), ctx->idf("BLKSELB%d", i)); ci->renamePort(ctx->idf("BLKSELB[%d]", i), ctx->idf("BLKSELB%d", i));
} }
bsram_handle_sp_oce(ci, id_CEB, id_OCE);
ci->copyPortTo(id_OCE, ci, id_OCEB); ci->copyPortTo(id_OCE, ci, id_OCEB);
// Port A // Port A