aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-06-13 20:42:11 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-06-13 20:42:11 +0200
commit03dff10cbde4c55e4ac9b53a01ba84f4bdac169b (patch)
tree9777bd23e29585b8dbf10cfb64f41823c4c1f67c /ecp5
parent4de147d9e42d7c932773544011a36e4550530a9e (diff)
downloadnextpnr-03dff10cbde4c55e4ac9b53a01ba84f4bdac169b.tar.gz
nextpnr-03dff10cbde4c55e4ac9b53a01ba84f4bdac169b.tar.bz2
nextpnr-03dff10cbde4c55e4ac9b53a01ba84f4bdac169b.zip
Load properties from json and propagate to context create
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/main.cc4
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;