aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/arch.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-08-05 16:46:24 +0200
committerGitHub <noreply@github.com>2018-08-05 16:46:24 +0200
commit6c8319e29a68d8d54b747e95c3f4a8df8a14d3ba (patch)
tree8b289ec41872e8f907e001500ff2d237c9350342 /ecp5/arch.cc
parentb3acd8095fdcffe0dc116218d824a6c03562b69e (diff)
parent736f2a07175b85a94ca77cb930be528a4c7671ea (diff)
downloadnextpnr-6c8319e29a68d8d54b747e95c3f4a8df8a14d3ba.tar.gz
nextpnr-6c8319e29a68d8d54b747e95c3f4a8df8a14d3ba.tar.bz2
nextpnr-6c8319e29a68d8d54b747e95c3f4a8df8a14d3ba.zip
Merge pull request #37 from YosysHQ/ngapi
API change: Use CellInfo* and NetInfo* as cell/net handles
Diffstat (limited to 'ecp5/arch.cc')
-rw-r--r--ecp5/arch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc
index 377b8665..d72b0085 100644
--- a/ecp5/arch.cc
+++ b/ecp5/arch.cc
@@ -479,7 +479,7 @@ DecalXY Arch::getBelDecal(BelId bel) const
decalxy.decal.type = DecalId::TYPE_BEL;
decalxy.decal.location = bel.location;
decalxy.decal.z = bel.index;
- decalxy.decal.active = bel_to_cell.count(bel) && (bel_to_cell.at(bel) != IdString());
+ decalxy.decal.active = bel_to_cell.count(bel) && (bel_to_cell.at(bel) != nullptr);
return decalxy;
}