hdl.ast: rename Slice.end back to Slice.stop.
It used to be called .stop in oMigen, and it's also called .stop in Python range and slice objects, so keep that.
This commit is contained in:
parent
77118fb9c9
commit
a7e3b80409
6 changed files with 37 additions and 38 deletions
|
|
@ -17,13 +17,6 @@ def wrap(v):
|
|||
return Value.cast(v)
|
||||
|
||||
|
||||
@extend(_Slice)
|
||||
@property
|
||||
@deprecated("instead of `_Slice.stop`, use `Slice.end`")
|
||||
def stop(self):
|
||||
return self.end
|
||||
|
||||
|
||||
@extend(Cat)
|
||||
@property
|
||||
@deprecated("instead of `Cat.l`, use `Cat.parts`")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue