aboutsummaryrefslogtreecommitdiffstats
path: root/mistral/pack.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-05-12 21:21:33 +0100
committergatecat <gatecat@ds0.me>2021-05-15 14:54:33 +0100
commit3d1bb4f1b217b020e750277dd1ee2e4d3516b58f (patch)
tree01f68fe1da6f26afed4f9c3bb248b3eb1767a0f7 /mistral/pack.cc
parent2f2fde7e6cd687433c687b1f678ceb4bd25f588e (diff)
downloadnextpnr-3d1bb4f1b217b020e750277dd1ee2e4d3516b58f.tar.gz
nextpnr-3d1bb4f1b217b020e750277dd1ee2e4d3516b58f.tar.bz2
nextpnr-3d1bb4f1b217b020e750277dd1ee2e4d3516b58f.zip
mistral: Carry debugging
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'mistral/pack.cc')
-rw-r--r--mistral/pack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mistral/pack.cc b/mistral/pack.cc
index aed9572e..b86393d7 100644
--- a/mistral/pack.cc
+++ b/mistral/pack.cc
@@ -305,7 +305,7 @@ struct MistralPacker
for (int i = 1; i < int(chain.size()); i++) {
chain.at(i)->constr_x = 0;
- chain.at(i)->constr_y = (i / 20);
+ chain.at(i)->constr_y = -(i / 20);
// 2 COMB, 4 FF per ALM
chain.at(i)->constr_z = ((i / 2) % 10) * 6 + (i % 2);
chain.at(i)->constr_abs_z = true;