From 3e631fe2f415adeb0205eff866aaea74b8ef3ed8 Mon Sep 17 00:00:00 2001 From: "D. Shah" Date: Fri, 5 Feb 2021 18:41:35 +0000 Subject: Add archArgs and archArgsToId to Arch API Signed-off-by: D. Shah --- ice40/arch.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ice40') diff --git a/ice40/arch.h b/ice40/arch.h index 30a31432..dd771c0f 100644 --- a/ice40/arch.h +++ b/ice40/arch.h @@ -376,6 +376,7 @@ struct ArchArgs struct ArchRanges { + using ArchArgsType = ArchArgs; // Bels using AllBelsRange = BelRange; using TileBelsRange = BelRange; @@ -434,8 +435,8 @@ struct Arch : BaseArch std::string getChipName() const override; - ArchArgs archArgs() const { return args; } - IdString archArgsToId(ArchArgs args) const; + ArchArgs archArgs() const override { return args; } + IdString archArgsToId(ArchArgs args) const override; // ------------------------------------------------- -- cgit v1.2.3