aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-11-17 15:16:32 +0000
committerDavid Shah <dave@ds0.me>2020-11-30 08:45:28 +0000
commitfcde8e2d56ec76df5a21e83660608188fdc1a7b9 (patch)
tree0403fb2ad303d1eb945228218e3ffc108c3b7b3b
parent54539b85191fc5292b1d342a0979f9f31a319998 (diff)
downloadnextpnr-fcde8e2d56ec76df5a21e83660608188fdc1a7b9.tar.gz
nextpnr-fcde8e2d56ec76df5a21e83660608188fdc1a7b9.tar.bz2
nextpnr-fcde8e2d56ec76df5a21e83660608188fdc1a7b9.zip
nexus: Fix DSP signed ports
Signed-off-by: David Shah <dave@ds0.me>
-rw-r--r--nexus/pack.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/nexus/pack.cc b/nexus/pack.cc
index 92035079..383599a0 100644
--- a/nexus/pack.cc
+++ b/nexus/pack.cc
@@ -1544,9 +1544,9 @@ struct NexusPacker
// Connect up signedness for the most significant nonet
if ((b_start + 9) == mt.b_width)
- copy_port(ctx, ci, id_BSIGNED, preadd9[i], id_SIGNEDB);
+ copy_port(ctx, ci, id_SIGNEDB, preadd9[i], id_BSIGNED);
if ((a_start + 9) == mt.a_width)
- copy_port(ctx, ci, id_ASIGNED, mult9[i], id_SIGNEDA);
+ copy_port(ctx, ci, id_SIGNEDA, mult9[i], id_ASIGNED);
}
bool mult36_used = (mt.a_width >= 36) && (mt.b_width >= 36);