aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/arch_place.cc
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-11-16 13:22:52 +0000
committerDavid Shah <dave@ds0.me>2020-11-30 08:45:28 +0000
commit160045a058dc6f5dea278f133f227697532f8cbb (patch)
tree45df66ef71da848707424894816cda35f631b139 /nexus/arch_place.cc
parentd8e748bc5864f7937cf087cf08d7497bff0d4f6d (diff)
downloadnextpnr-160045a058dc6f5dea278f133f227697532f8cbb.tar.gz
nextpnr-160045a058dc6f5dea278f133f227697532f8cbb.tar.bz2
nextpnr-160045a058dc6f5dea278f133f227697532f8cbb.zip
nexus: Fix validity checking when DSPs are used
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'nexus/arch_place.cc')
-rw-r--r--nexus/arch_place.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/nexus/arch_place.cc b/nexus/arch_place.cc
index 35b14caf..0d141013 100644
--- a/nexus/arch_place.cc
+++ b/nexus/arch_place.cc
@@ -104,7 +104,7 @@ bool Arch::isValidBelForCell(CellInfo *cell, BelId bel) const
bool Arch::isBelLocationValid(BelId bel) const
{
- if (tile_is(bel, LOC_LOGIC)) {
+ if (bel_tile_is(bel, LOC_LOGIC)) {
LogicTileStatus *lts = tileStatus[bel.tile].lts;
if (lts == nullptr)
return true;