diff options
author | gatecat <gatecat@ds0.me> | 2021-02-08 17:56:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-08 17:56:08 +0000 |
commit | bcf81f0e711a443818089bde707f708c8d18dd23 (patch) | |
tree | d8e98d35bccb0bd5f0c715d429fff9dbd11f3b90 /ice40/arch_pybindings.h | |
parent | f501ba0c77723242cbd1752128f00d5b4ee093c9 (diff) | |
parent | 2932dc3985181afbf88a87e58ee27dfcca433625 (diff) | |
download | nextpnr-bcf81f0e711a443818089bde707f708c8d18dd23.tar.gz nextpnr-bcf81f0e711a443818089bde707f708c8d18dd23.tar.bz2 nextpnr-bcf81f0e711a443818089bde707f708c8d18dd23.zip |
Merge pull request #568 from YosysHQ/dave/arch-override
Create a new BaseArch that formally specifies the Arch API and provides some base implementations
Diffstat (limited to 'ice40/arch_pybindings.h')
-rw-r--r-- | ice40/arch_pybindings.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ice40/arch_pybindings.h b/ice40/arch_pybindings.h index 401fae91..86c2977e 100644 --- a/ice40/arch_pybindings.h +++ b/ice40/arch_pybindings.h @@ -76,18 +76,6 @@ template <> struct string_converter<PipId> } }; -template <> struct string_converter<BelBucketId> -{ - BelBucketId from_str(Context *ctx, std::string name) { return ctx->getBelBucketByName(ctx->id(name)); } - - std::string to_str(Context *ctx, BelBucketId id) - { - if (id == BelBucketId()) - throw bad_wrap(); - return ctx->getBelBucketName(id).str(ctx); - } -}; - template <> struct string_converter<BelPin> { BelPin from_str(Context *ctx, std::string name) |