3
0
Fork 0
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:
Clifford Wolf 2013-11-02 21:13:01 +01:00
parent f912e029de
commit ada80545fa
3 changed files with 12 additions and 8 deletions

View file

@ -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: