added a comment for constraining FF location

This commit is contained in:
Miodrag Milanovic 2023-04-03 16:20:42 +02:00 committed by myrtle
parent 5e3fe3a4dc
commit 9121880c5f

View File

@ -148,6 +148,7 @@ bool Arch::slices_compatible(LogicTileStatus *lts) const
CellInfo *ff = lts->cells[(i << lc_idx_shift) | BEL_FF];
if (ff != nullptr) {
if (found_global_dpram) {
// Do not allow SLICEC to have FF if there is already RAMW in it
if (i==4 || i==5) return false;
CHECK_EQUAL(bool(ff->ffInfo.flags & ArchCellInfo::FF_CLKINV), global_clkinv);
CHECK_EQUAL(bool(ff->ffInfo.flags & ArchCellInfo::FF_LSRINV), global_lsrinv);