mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
Behavior should be identical now to rev. 0b4a64ac6a
(next: testing before constfold fixes)
This commit is contained in:
parent
f912e029de
commit
ada80545fa
3 changed files with 12 additions and 8 deletions
|
@ -570,6 +570,8 @@ void AstNode::detectSignWidthWorker(int &width_hint, bool &sign_hint)
|
|||
this_width = range->range_left - range->range_right + 1;
|
||||
} else
|
||||
width_hint = std::max(width_hint, this_width);
|
||||
if (!id2ast->is_signed)
|
||||
sign_hint = false;
|
||||
break;
|
||||
|
||||
case AST_TO_SIGNED:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue