diff options
Diffstat (limited to 'generic/arch.h')
-rw-r--r-- | generic/arch.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/arch.h b/generic/arch.h index 011d7d45..abe7ff7d 100644 --- a/generic/arch.h +++ b/generic/arch.h @@ -283,6 +283,9 @@ struct Arch : BaseCtx // Get the TimingClockingInfo of a port TimingClockingInfo getPortClockingInfo(const CellInfo *cell, IdString port, int index) const; + bool isValidBelForCellType(IdString cell_type, BelId bel) const { + return cell_type == getBelType(bel); + } bool isValidBelForCell(CellInfo *cell, BelId bel) const; bool isBelLocationValid(BelId bel) const; |