1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-27 12:38:40 +00:00

Initial refactoring of placer API.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
Keith Rothman
2021-01-28 15:40:26 -08:00
parent efc98c517e
commit 2285c8dbbd
11 changed files with 194 additions and 72 deletions

View File

@@ -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;