diff options
author | gatecat <gatecat@ds0.me> | 2021-12-12 13:00:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-12 13:00:38 +0000 |
commit | 21fc372a9d566657ebfe5596ea71e82becd59f71 (patch) | |
tree | 13875154772787a4906f7ae34609452a7d75270f /gowin | |
parent | 3c8af04ca587aa8056bbc583e1ecd0fae49e6276 (diff) | |
parent | ecf3027a4de2427101ccf843fbd92b311abb5b69 (diff) | |
download | nextpnr-21fc372a9d566657ebfe5596ea71e82becd59f71.tar.gz nextpnr-21fc372a9d566657ebfe5596ea71e82becd59f71.tar.bz2 nextpnr-21fc372a9d566657ebfe5596ea71e82becd59f71.zip |
Merge pull request #865 from yrabbit/ALU-head-at-zero
gowin: BUGFIX. Place the ALU head in sliсe 0 only
Diffstat (limited to 'gowin')
-rw-r--r-- | gowin/pack.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gowin/pack.cc b/gowin/pack.cc index 2616a913..4c6e28ca 100644 --- a/gowin/pack.cc +++ b/gowin/pack.cc @@ -89,6 +89,9 @@ static void pack_alus(Context *ctx) } std::unique_ptr<CellInfo> packed_head = create_generic_cell(ctx, id_SLICE, ci->name.str(ctx) + "_HEAD_ALULC"); + // Head is always SLICE0 + packed_head->constr_z = 0; + packed_head->constr_abs_z = true; if (ctx->verbose) { log_info("packed ALU head into %s. CIN net is %s\n", ctx->nameOf(packed_head.get()), ctx->nameOf(cin_netId)); |