From f5d2e245e172e2481639dedc3f9b6870f069742a Mon Sep 17 00:00:00 2001 From: "D. Shah" Date: Fri, 5 Feb 2021 11:49:31 +0000 Subject: nexus: Switch to BaseArch Signed-off-by: D. Shah --- nexus/arch_pybindings.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'nexus/arch_pybindings.h') diff --git a/nexus/arch_pybindings.h b/nexus/arch_pybindings.h index dd41ce32..b94449ad 100644 --- a/nexus/arch_pybindings.h +++ b/nexus/arch_pybindings.h @@ -76,18 +76,6 @@ template <> struct string_converter } }; -template <> struct string_converter -{ - 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 from_str(Context *ctx, std::string name) -- cgit v1.2.3