You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This also needs to consider things like toInt and toBigInt for LogicValue. Currently, if you have a 64-bit LogicValue, then the resulting toInt is signed, but if it's less then that it won't be signed because upper bits are zero. A consistent solution should be provided for all sign-related features, including these functions.
Motivation
Right now most operations in ROHD are unsigned. Less than, greater than, etc. would be a lot more convenient with some built in signed support.
Desired solution
Allow operations to be performed using signed or unsigned math optionally.
Alternatives considered
Letting users do their own signed math is unnecessary overhead.
The text was updated successfully, but these errors were encountered: