compat.fhdl.bitcontainer: update Value.wrap call.

This commit is contained in:
whitequark 2019-10-13 01:37:11 +00:00
parent 1334bd6a8b
commit d2c4c7c060

View file

@ -18,4 +18,4 @@ def bits_for(n, require_sign_bit=False):
@deprecated("instead of `value_bits_sign(v)`, use `v.shape()`")
def value_bits_sign(v):
return ast.Value.wrap(v).shape()
return ast.Value.cast(v).shape()