mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Revert "Make one check $shift(x)? only; change testcase to be 8b"
This reverts commit e2c2d784c8
.
This commit is contained in:
parent
3a49aa6b4a
commit
14d72c39c3
2 changed files with 4 additions and 5 deletions
|
@ -50,9 +50,8 @@ code
|
|||
if (GetSize(const_factor_cnst) > 20)
|
||||
reject;
|
||||
|
||||
if (shift->type.in($shift, $shiftx))
|
||||
if (GetSize(port(shift, \Y)) > const_factor)
|
||||
reject;
|
||||
if (GetSize(port(shift, \Y)) > const_factor)
|
||||
reject;
|
||||
|
||||
int factor_bits = ceil_log2(const_factor);
|
||||
SigSpec mul_din = port(mul, const_factor_port == \A ? \B : \A);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue