aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/chip.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-05-26 14:56:30 +0200
committerClifford Wolf <clifford@clifford.at>2018-05-26 14:56:30 +0200
commit757786f134e8993ee5243ff87973dd598be9d04f (patch)
tree9094dfd0a27288a5759ccecdab42f630b1988068 /ice40/chip.cc
parent1899833b4db65e506746926831c323a8a8923fc4 (diff)
downloadnextpnr-757786f134e8993ee5243ff87973dd598be9d04f.tar.gz
nextpnr-757786f134e8993ee5243ff87973dd598be9d04f.tar.bz2
nextpnr-757786f134e8993ee5243ff87973dd598be9d04f.zip
Progress in ice40 chipdb
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'ice40/chip.cc')
-rw-r--r--ice40/chip.cc11
1 files changed, 10 insertions, 1 deletions
diff --git a/ice40/chip.cc b/ice40/chip.cc
index df7590ee..bca78a14 100644
--- a/ice40/chip.cc
+++ b/ice40/chip.cc
@@ -19,8 +19,17 @@
#include "chip.h"
-Chip::Chip(ChipArgs)
+Chip::Chip(ChipArgs args)
{
+ if (args.type == ChipArgs::LP384) {
+ num_bels = 0;
+ bel_data = nullptr;
+ num_wires = num_wires_384;
+ wire_data = wire_data_384;
+ return;
+ }
+
+ abort();
}
BelRange Chip::getBels() const