diff options
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); |