Removed the need for MULT36_CORE bel for implementing the MULTADDSUB9X9WIDE macro
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
This commit is contained in:
parent
fbeef2b8c2
commit
18f71ace8c
@ -1784,7 +1784,7 @@ struct NexusPacker
|
|||||||
copy_port(ctx, ci, mt.has_addsub ? id_SIGNED : id_SIGNEDA, mult9[i], id_ASIGNED);
|
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
|
// Configure mult18x36s
|
||||||
for (int i = 0; i < mt.N18x36; i++) {
|
for (int i = 0; i < mt.N18x36; i++) {
|
||||||
mult18x36[i]->params[id_MULT36] = mult36_used ? std::string("ENABLED") : std::string("DISABLED");
|
mult18x36[i]->params[id_MULT36] = mult36_used ? std::string("ENABLED") : std::string("DISABLED");
|
||||||
|
Loading…
Reference in New Issue
Block a user