projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1334bd6
)
compat.fhdl.bitcontainer: update Value.wrap call.
author
whitequark
<whitequark@whitequark.org>
Sun, 13 Oct 2019 01:37:11 +0000
(
01:37
+0000)
committer
whitequark
<whitequark@whitequark.org>
Sun, 13 Oct 2019 01:37:11 +0000
(
01:37
+0000)
nmigen/compat/fhdl/bitcontainer.py
patch
|
blob
|
history
diff --git
a/nmigen/compat/fhdl/bitcontainer.py
b/nmigen/compat/fhdl/bitcontainer.py
index a7c44e93069a3de2db6f17fb898ddeaf0f17d70f..b52887d2e3b50dfb23bac67c7f7b0140b4504fe6 100644
(file)
--- a/
nmigen/compat/fhdl/bitcontainer.py
+++ b/
nmigen/compat/fhdl/bitcontainer.py
@@
-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()