aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/bitstream.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-11-11 23:52:04 +0100
committerDavid Shah <davey1576@gmail.com>2018-11-11 23:52:04 +0100
commitbecf3021bd71b165a1ab3044c5b03f62bc9dd9f8 (patch)
treefcbf63e020ba2e4aa4cca0bd9e5253cfb2f9a365 /ice40/bitstream.cc
parent9e5aded5c6583e36604aa09d22d3b2de3ff47905 (diff)
downloadnextpnr-becf3021bd71b165a1ab3044c5b03f62bc9dd9f8.tar.gz
nextpnr-becf3021bd71b165a1ab3044c5b03f62bc9dd9f8.tar.bz2
nextpnr-becf3021bd71b165a1ab3044c5b03f62bc9dd9f8.zip
ice40: Don't set colbuf bits for 384
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/bitstream.cc')
-rw-r--r--ice40/bitstream.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ice40/bitstream.cc b/ice40/bitstream.cc
index e56ed37d..4cfed52d 100644
--- a/ice40/bitstream.cc
+++ b/ice40/bitstream.cc
@@ -702,6 +702,8 @@ void write_asc(const Context *ctx, std::ostream &out)
setColBufCtrl = (y == 8 || y == 9 || y == 24 || y == 25);
} else if (ctx->args.type == ArchArgs::UP5K) {
setColBufCtrl = (y == 4 || y == 5 || y == 14 || y == 15 || y == 26 || y == 27);
+ } else if (ctx->args.type == ArchArgs::LP384) {
+ setColBufCtrl = false;
}
if (setColBufCtrl) {
set_config(ti, config.at(y).at(x), "ColBufCtrl.glb_netwk_0", true);