-
Notifications
You must be signed in to change notification settings - Fork 41
subtraction and left side assignment #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
In the given code binary minus is signed which is applied to two signed arguments, so signed in generated SV is mandatory, see Clang AST below. Clang AST for
|
There will be a new tool option for fully unsigned design which suppresses all the |
|
Unsigned mode added in the last update, see https://github.com/intel/systemc-compiler/wiki/Tool-options-and-defines#unsigned-mode. This mode does check that all used types are unsigned. Unfortunately, I cannot remove |
Thank you for the update. I did a complete build. I can add the
but the test passes OK when I remove |
Please check if |
Uh oh!
There was an error while loading. Please reload this page.
having SystemC code
resulting in SystemVerilog code
Given (in my application) that b is always smaller than just a
should work.
My issue is, that checking the code with verilator it will result in a warning
So my question is: Is the extension to 17 bit correct and required (in terms of the SV standards) ?
The text was updated successfully, but these errors were encountered: