diff options
Diffstat (limited to 'ice40/arch.h')
-rw-r--r-- | ice40/arch.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ice40/arch.h b/ice40/arch.h index b49451b9..2702e70e 100644 --- a/ice40/arch.h +++ b/ice40/arch.h @@ -55,9 +55,6 @@ enum BelType : int32_t TYPE_SB_GB }; -IdString belTypeToId(BelType type); -BelType belTypeFromId(IdString id); - enum PortPin : int32_t { PIN_NONE, @@ -67,9 +64,6 @@ enum PortPin : int32_t PIN_MAXIDX }; -IdString portPinToId(PortPin type); -PortPin portPinFromId(IdString id); - // ----------------------------------------------------------------------- /**** Everything in this section must be kept in sync with chipdb.py ****/ @@ -480,6 +474,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; + BelType belTypeFromId(IdString id) const; + + IdString portPinToId(PortPin type) const; + PortPin portPinFromId(IdString id) const; + // ------------------------------------------------- BelId getBelByName(IdString name) const; |