One more signed vs unsigned comparison fix
Introduced in a8ad505af7
Various improgements to expression ::synthesize methods
This commit is contained in:
parent
3abf51dcad
commit
cdfb2315cf
|
|
@ -952,9 +952,9 @@ NetNet* NetESelect::synthesize(Design *des, NetScope*scope)
|
|||
below->set_line(*this);
|
||||
}
|
||||
|
||||
// Any above bits?.
|
||||
// Any above bits?
|
||||
NetNet*above = 0;
|
||||
if (base_val+select_width > sub->vector_width()) {
|
||||
if ((unsigned)base_val+select_width > sub->vector_width()) {
|
||||
select_width = sub->vector_width() - base_val;
|
||||
unsigned above_width = expr_width() - select_width;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue