fhdl.ast: bits_sign→shape.
This commit is contained in:
parent
dc486ad8b9
commit
f0f4c0ce61
5 changed files with 125 additions and 125 deletions
|
|
@ -16,6 +16,6 @@ def bits_for(n, require_sign_bit=False):
|
|||
return tools.bits_for(n, require_sign_bit)
|
||||
|
||||
|
||||
@deprecated("instead of `value_bits_sign(v)`, use `v.bits_sign()`")
|
||||
@deprecated("instead of `value_bits_sign(v)`, use `v.shape()`")
|
||||
def value_bits_sign(v):
|
||||
return ast.Value.wrap(v).bits_sign()
|
||||
return ast.Value.wrap(v).shape()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue