Ranges starting with zero result in unsigned/constant warning #1581
Labels
Comments
Original Redmine Comment Note: It also seems to have a range issue issue if the range extends to the end of the range (8'hff). Works if I split it and make it { [8'h40 : 8'hfe], 8'hff }
|
Original Redmine Comment Thanks for the good report. Verilator internally converts the inside to <= or >=, which normally give those warnings, but obviously pointless to the user. Fixed in git towards next release 4.022. |
Original Redmine Comment In 4.022. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Author Name: Mitch Hayenga
Original Redmine Issue: 1581 from https://www.veripool.org
Original Assignee: Wilson Snyder (@wsnyder)
Trying to use the inside operator with a range, had multiple functions fail on warnings and realized it was all that had ranges starting with zero. Below is a minimal test case. This was done with the Fedora 31 default verilator (distro released this week).
The text was updated successfully, but these errors were encountered: