aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaciej Kurc <mkurc@antmicro.com>2022-01-25 12:08:52 +0100
committerMaciej Kurc <mkurc@antmicro.com>2022-01-25 12:08:52 +0100
commit18f71ace8c0cd08478ec7ab1e05cc7036ba18c6a (patch)
tree10712601fb8f04db915d78927ca24d6bc0a1dc5f
parentfbeef2b8c2734210a70e51a3ac629c2065c06d19 (diff)
downloadnextpnr-18f71ace8c0cd08478ec7ab1e05cc7036ba18c6a.tar.gz
nextpnr-18f71ace8c0cd08478ec7ab1e05cc7036ba18c6a.tar.bz2
nextpnr-18f71ace8c0cd08478ec7ab1e05cc7036ba18c6a.zip
Removed the need for MULT36_CORE bel for implementing the MULTADDSUB9X9WIDE macro
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
-rw-r--r--nexus/pack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/nexus/pack.cc b/nexus/pack.cc
index c3d9cba2..e89dc9c0 100644
--- a/nexus/pack.cc
+++ b/nexus/pack.cc
@@ -1784,7 +1784,7 @@ struct NexusPacker
copy_port(ctx, ci, mt.has_addsub ? id_SIGNED : id_SIGNEDA, mult9[i], id_ASIGNED);
}
- bool mult36_used = (mt.a_width >= 36) && (mt.b_width >= 36);
+ bool mult36_used = (mt.a_width >= 36) && (mt.b_width >= 36) && !(mt.wide > 0);
// Configure mult18x36s
for (int i = 0; i < mt.N18x36; i++) {
mult18x36[i]->params[id_MULT36] = mult36_used ? std::string("ENABLED") : std::string("DISABLED");