hdl.ast: fix typo.
authorwhitequark <cz@m-labs.hk>
Sat, 3 Aug 2019 13:21:09 +0000 (13:21 +0000)
committerwhitequark <cz@m-labs.hk>
Sat, 3 Aug 2019 13:21:09 +0000 (13:21 +0000)
nmigen/hdl/ast.py

index 68c3f102fa9b231c2b0a006fc70926a193caad7a..397f73820cce2a20c92ee610b35e68d78ffd3b6b 100644 (file)
@@ -147,7 +147,7 @@ class Value(metaclass=ABCMeta):
         return ~premise | conclusion
 
     # 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):
         return Part(self, offset, width, src_loc_at=1)