aboutsummaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-06-14 15:18:35 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-06-14 15:18:35 +0200
commit66ea9f39f7f5d6e1152105328f9a48a367bd8ce0 (patch)
treec00f2c07205988f67d24a4f6a22ee8f8f301ecf2 /generic
parentaca372de99b960ca808e49fec27d2aaf890574d3 (diff)
downloadnextpnr-66ea9f39f7f5d6e1152105328f9a48a367bd8ce0.tar.gz
nextpnr-66ea9f39f7f5d6e1152105328f9a48a367bd8ce0.tar.bz2
nextpnr-66ea9f39f7f5d6e1152105328f9a48a367bd8ce0.zip
enable lading of jsons and setting up context
Diffstat (limited to 'generic')
-rw-r--r--generic/main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/main.cc b/generic/main.cc
index f0070e92..1f0ee22d 100644
--- a/generic/main.cc
+++ b/generic/main.cc
@@ -53,6 +53,7 @@ void GenericCommandHandler::customBitstream(Context *ctx) {}
std::unique_ptr<Context> GenericCommandHandler::createContext(std::unordered_map<std::string,Property> &values)
{
+ ArchArgs chipArgs;
if (values.find("arch.name")!=values.end()) {
std::string arch_name = values["arch.name"].str;
if (arch_name != "generic")