1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-17 16:44:36 +00:00

Merge pull request #111 from YosysHQ/issue106

ice40: Don't set colbuf bits for 384
This commit is contained in:
David Shah
2018-11-11 23:56:28 +00:00
committed by GitHub

View File

@@ -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);