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
commit 1bb728e24f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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