From 6d794abf495be78c6d1a2a69af432021c1eabfad Mon Sep 17 00:00:00 2001 From: "D. Shah" Date: Thu, 4 Feb 2021 10:56:19 +0000 Subject: Add a few more functions to ArchBase Signed-off-by: D. Shah --- ecp5/arch.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ecp5') diff --git a/ecp5/arch.h b/ecp5/arch.h index 80374e0d..705a9ebb 100644 --- a/ecp5/arch.h +++ b/ecp5/arch.h @@ -457,6 +457,8 @@ struct ArchRanges using GroupWiresRange = std::vector; using GroupPipsRange = std::vector; using GroupGroupsRange = std::vector; + // Decals + using DecalGfxRange = std::vector; // Placement validity using CellTypeRange = const std::vector &; using BelBucketRange = std::vector; @@ -485,10 +487,9 @@ struct Arch : ArchBase static bool is_available(ArchArgs::ArchArgsTypes chip); static std::vector get_supported_packages(ArchArgs::ArchArgsTypes chip); - std::string getChipName() const; + std::string getChipName() const override; std::string get_full_chip_name() const; - IdString archId() const { return id("ecp5"); } ArchArgs archArgs() const { return args; } IdString archArgsToId(ArchArgs args) const; @@ -864,7 +865,7 @@ struct Arch : ArchBase // ------------------------------------------------- - std::vector getDecalGraphics(DecalId decal) const; + std::vector getDecalGraphics(DecalId decal) const override; DecalXY getBelDecal(BelId bel) const override; DecalXY getWireDecal(WireId wire) const override; -- cgit v1.2.3