hdl.ast: fix typo.

This commit is contained in:
whitequark 2019-08-03 13:21:09 +00:00
parent 94e13effad
commit 0a603b3844

View file

@ -147,7 +147,7 @@ class Value(metaclass=ABCMeta):
return ~premise | conclusion return ~premise | conclusion
# TODO(nmigen-0.2): move this to nmigen.compat and make it a deprecated extension # TODO(nmigen-0.2): move this to nmigen.compat and make it a deprecated extension
@deprecated("instead of `.part`, use `.bit_slip`") @deprecated("instead of `.part`, use `.bit_select`")
def part(self, offset, width): def part(self, offset, width):
return Part(self, offset, width, src_loc_at=1) return Part(self, offset, width, src_loc_at=1)