diff options
author | David Shah <davey1576@gmail.com> | 2018-08-05 16:32:12 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-08-05 16:32:12 +0200 |
commit | 736f2a07175b85a94ca77cb930be528a4c7671ea (patch) | |
tree | ee55b494478154d72fb7f974f8fef68420fbf031 /ecp5/arch.cc | |
parent | 1ce0b5add2cb06449ae6b759a07aba5078d7b105 (diff) | |
download | nextpnr-736f2a07175b85a94ca77cb930be528a4c7671ea.tar.gz nextpnr-736f2a07175b85a94ca77cb930be528a4c7671ea.tar.bz2 nextpnr-736f2a07175b85a94ca77cb930be528a4c7671ea.zip |
API change: Use CellInfo* and NetInfo* as cell/net handles (ECP5)
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5/arch.cc')
-rw-r--r-- | ecp5/arch.cc | 2 |
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; } |