mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-05 16:40:53 +00:00
Fix depth bug.
This commit is contained in:
parent
4eee3e9e4f
commit
8a79cafc18
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ std::pair<SigSpec, SigSpec> reduce_scheduled(Module *module, std::vector<DepthSi
|
|||
DepthSig d = ready[i + 3];
|
||||
|
||||
auto [sum, carry] = emit_compressor_42(module, a.sig, b.sig, c.sig, d.sig, width);
|
||||
int dmax = std::max({a.depth, a.depth, a.depth, a.depth});
|
||||
int dmax = std::max({a.depth, b.depth, c.depth, d.depth});
|
||||
|
||||
compressed.push_back({sum, dmax + 2});
|
||||
compressed.push_back({carry, dmax + 2});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue