aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-11 14:10:03 -0800
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-11 14:58:02 -0800
commit99e397000c2bc8a80354c31ef259c6715dd142ff (patch)
tree85a04ec931762d61c0ef668bc404d00bd4c699bc /fpga_interchange
parente376f950fe683b9a744437301a9e09eae1895efa (diff)
downloadnextpnr-99e397000c2bc8a80354c31ef259c6715dd142ff.tar.gz
nextpnr-99e397000c2bc8a80354c31ef259c6715dd142ff.tar.bz2
nextpnr-99e397000c2bc8a80354c31ef259c6715dd142ff.zip
Add getBelHidden and add some missing "override" statements.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
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
{