mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #709 from smunaut/issue_708
Make return value of $clog2 signed
This commit is contained in:
commit
1bb728e24f
|
@ -1913,7 +1913,7 @@ skip_dynamic_range_lvalue_expansion:;
|
|||
if (arg_value.bits.at(i) == RTLIL::State::S1)
|
||||
result = i + 1;
|
||||
|
||||
newNode = mkconst_int(result, false);
|
||||
newNode = mkconst_int(result, true);
|
||||
goto apply_newNode;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue