mirror of https://github.com/YosysHQ/yosys.git
Wrap A and B in sigmap
This commit is contained in:
parent
31b0002e8c
commit
3a87dc3524
|
@ -366,8 +366,8 @@ struct WreduceWorker
|
|||
}
|
||||
|
||||
if (cell->type.in("$add", "$sub")) {
|
||||
SigSpec A = cell->getPort("\\A");
|
||||
SigSpec B = cell->getPort("\\B");
|
||||
SigSpec A = mi.sigmap(cell->getPort("\\A"));
|
||||
SigSpec B = mi.sigmap(cell->getPort("\\B"));
|
||||
bool sub = cell->type == "$sub";
|
||||
|
||||
int i;
|
||||
|
|
Loading…
Reference in New Issue