diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-06-18 15:53:18 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-06-18 15:53:18 +0200 |
commit | 0dd185a14149216a1ef5fa8fcf49f510e68583d2 (patch) | |
tree | 4f06d09c1e26151e35d72147bf8398690671e827 /dummy | |
parent | 71d07fd0bf0352608f62a4a4e1aef3826beef0cc (diff) | |
download | nextpnr-0dd185a14149216a1ef5fa8fcf49f510e68583d2.tar.gz nextpnr-0dd185a14149216a1ef5fa8fcf49f510e68583d2.tar.bz2 nextpnr-0dd185a14149216a1ef5fa8fcf49f510e68583d2.zip |
Getting rid of users of old IdString API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'dummy')
-rw-r--r-- | dummy/arch.cc | 2 | ||||
-rw-r--r-- | dummy/arch.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/dummy/arch.cc b/dummy/arch.cc index a77620c5..3ef6a4d3 100644 --- a/dummy/arch.cc +++ b/dummy/arch.cc @@ -26,7 +26,7 @@ Arch::Arch(ArchArgs) {} std::string Arch::getChipName() { return "Dummy"; } -void IdString::initialize_arch(Context *ctx) {} +void IdString::initialize_arch(const Context *ctx) {} // --------------------------------------------------------------- diff --git a/dummy/arch.h b/dummy/arch.h index 40aceff2..9bd09f9d 100644 --- a/dummy/arch.h +++ b/dummy/arch.h @@ -73,6 +73,9 @@ struct Arch std::string getChipName(); + virtual IdString id(const std::string &s) const { abort(); } + virtual IdString id(const char *s) const { abort(); } + BelId getBelByName(IdString name) const; IdString getBelName(BelId bel) const; void bindBel(BelId bel, IdString cell); |