1
0
mirror of synced 2026-01-29 05:21:15 +00:00

Merge pull request #709 from smunaut/issue_708

Make return value of $clog2 signed
This commit is contained in:
Clifford Wolf
2018-12-05 09:19:44 -08:00
committed by GitHub

View File

@@ -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;
}