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
Python allows you to access the end of a list using negative numbers, which is a nifty feature.
Desired solution
Functions like operator [], getRange, and slice should handle negative numbers, treating it as from the end of the value/signal. -1 is the last element, etc.
Alternatives considered
SystemVerilog does not support this.
The text was updated successfully, but these errors were encountered:
Motivation
Python allows you to access the end of a list using negative numbers, which is a nifty feature.
Desired solution
Functions like
operator []
,getRange
, andslice
should handle negative numbers, treating it as from the end of the value/signal. -1 is the last element, etc.Alternatives considered
SystemVerilog does not support this.
The text was updated successfully, but these errors were encountered: