aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-02-12 09:53:50 +0000
committerGitHub <noreply@github.com>2021-02-12 09:53:50 +0000
commit5dfbe703ae26e6af2a1a687c06f001b6788d6fc8 (patch)
tree85a04ec931762d61c0ef668bc404d00bd4c699bc /fpga_interchange
parente376f950fe683b9a744437301a9e09eae1895efa (diff)
parent99e397000c2bc8a80354c31ef259c6715dd142ff (diff)
downloadnextpnr-5dfbe703ae26e6af2a1a687c06f001b6788d6fc8.tar.gz
nextpnr-5dfbe703ae26e6af2a1a687c06f001b6788d6fc8.tar.bz2
nextpnr-5dfbe703ae26e6af2a1a687c06f001b6788d6fc8.zip
Merge pull request #581 from litghost/add_isbelhidden
Add getBelHidden and add some missing "override" statements.
Diffstat (limited to 'fpga_interchange')
-rw-r--r--fpga_interchange/arch.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fpga_interchange/arch.h b/fpga_interchange/arch.h
index fd2d16a2..5964a38f 100644
--- a/fpga_interchange/arch.h
+++ b/fpga_interchange/arch.h
@@ -824,8 +824,7 @@ struct Arch : ArchAPI<ArchRanges>
return false;
}
- // TODO: this needs to become part of the Arch API
- bool getBelHidden(BelId bel) const { return bel_info(chip_info, bel).category != BEL_CATEGORY_LOGIC; }
+ bool getBelHidden(BelId bel) const override { return bel_info(chip_info, bel).category != BEL_CATEGORY_LOGIC; }
IdString getBelType(BelId bel) const override
{