aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/main.cc
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 /ice40/main.cc
parentaca372de99b960ca808e49fec27d2aaf890574d3 (diff)
downloadnextpnr-66ea9f39f7f5d6e1152105328f9a48a367bd8ce0.tar.gz
nextpnr-66ea9f39f7f5d6e1152105328f9a48a367bd8ce0.tar.bz2
nextpnr-66ea9f39f7f5d6e1152105328f9a48a367bd8ce0.zip
enable lading of jsons and setting up context
Diffstat (limited to 'ice40/main.cc')
-rw-r--r--ice40/main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ice40/main.cc b/ice40/main.cc
index f3885f29..de618cbf 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -118,6 +118,8 @@ void Ice40CommandHandler::setupArchContext(Context *ctx)
std::unique_ptr<Context> Ice40CommandHandler::createContext(std::unordered_map<std::string,Property> &values)
{
+ ArchArgs chipArgs;
+ chipArgs.type = ArchArgs::NONE;
if (vm.count("lp384")) {
chipArgs.type = ArchArgs::LP384;
chipArgs.package = "qn32";