diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-13 20:42:11 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-13 20:42:11 +0200 |
commit | 03dff10cbde4c55e4ac9b53a01ba84f4bdac169b (patch) | |
tree | 9777bd23e29585b8dbf10cfb64f41823c4c1f67c /ecp5/main.cc | |
parent | 4de147d9e42d7c932773544011a36e4550530a9e (diff) | |
download | nextpnr-03dff10cbde4c55e4ac9b53a01ba84f4bdac169b.tar.gz nextpnr-03dff10cbde4c55e4ac9b53a01ba84f4bdac169b.tar.bz2 nextpnr-03dff10cbde4c55e4ac9b53a01ba84f4bdac169b.zip |
Load properties from json and propagate to context create
Diffstat (limited to 'ecp5/main.cc')
-rw-r--r-- | ecp5/main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ecp5/main.cc b/ecp5/main.cc index 9d0241e9..355e346d 100644 --- a/ecp5/main.cc +++ b/ecp5/main.cc @@ -34,7 +34,7 @@ class ECP5CommandHandler : public CommandHandler public: ECP5CommandHandler(int argc, char **argv); virtual ~ECP5CommandHandler(){}; - std::unique_ptr<Context> createContext() override; + std::unique_ptr<Context> createContext(std::unordered_map<std::string,Property> &values) override; void setupArchContext(Context *ctx) override{}; void customAfterLoad(Context *ctx) override; void validate() override; @@ -98,7 +98,7 @@ void ECP5CommandHandler::customBitstream(Context *ctx) write_bitstream(ctx, basecfg, textcfg); } -std::unique_ptr<Context> ECP5CommandHandler::createContext() +std::unique_ptr<Context> ECP5CommandHandler::createContext(std::unordered_map<std::string,Property> &values) { chipArgs.type = ArchArgs::LFE5U_45F; |