aboutsummaryrefslogtreecommitdiffstats
path: root/dummy
diff options
context:
space:
mode:
Diffstat (limited to 'dummy')
-rw-r--r--dummy/arch.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/dummy/arch.h b/dummy/arch.h
index 9bd09f9d..865536dc 100644
--- a/dummy/arch.h
+++ b/dummy/arch.h
@@ -47,12 +47,6 @@ struct DelayInfo
typedef IdString BelType;
typedef IdString PortPin;
-static inline IdString belTypeToId(BelType type) { return type; }
-static inline IdString portPinToId(PortPin type) { return type; }
-
-static inline BelType belTypeFromId(IdString id) { return id; }
-static inline PortPin portPinFromId(IdString id) { return id; }
-
typedef IdString BelId;
typedef IdString WireId;
typedef IdString PipId;
@@ -76,6 +70,12 @@ struct Arch
virtual IdString id(const std::string &s) const { abort(); }
virtual IdString id(const char *s) const { abort(); }
+ IdString belTypeToId(BelType type) const { return type; }
+ IdString portPinToId(PortPin type) const { return type; }
+
+ BelType belTypeFromId(IdString id) const { return id; }
+ PortPin portPinFromId(IdString id) const { return id; }
+
BelId getBelByName(IdString name) const;
IdString getBelName(BelId bel) const;
void bindBel(BelId bel, IdString cell);