diff options
Diffstat (limited to 'gowin/arch.h')
-rw-r--r-- | gowin/arch.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gowin/arch.h b/gowin/arch.h index 5591744d..100ba5ba 100644 --- a/gowin/arch.h +++ b/gowin/arch.h @@ -422,6 +422,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; |