projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aab01d9
)
fhdl.ast.Signal: fix typo.
author
whitequark
<whitequark@whitequark.org>
Wed, 12 Dec 2018 12:37:30 +0000
(12:37 +0000)
committer
whitequark
<whitequark@whitequark.org>
Wed, 12 Dec 2018 12:37:30 +0000
(12:37 +0000)
nmigen/fhdl/ast.py
patch
|
blob
|
history
diff --git
a/nmigen/fhdl/ast.py
b/nmigen/fhdl/ast.py
index 0c832fe9e60567519c1ba0df66a172da2c27beb6..1f87e391929658740d026ad0cb9a0cf10dcd9803 100644
(file)
--- a/
nmigen/fhdl/ast.py
+++ b/
nmigen/fhdl/ast.py
@@
-541,7
+541,7
@@
class Signal(Value, DUID):
elif isinstance(bits_sign, int):
if not (min is None or max is None):
raise ValueError("Only one of bits/signedness or bounds may be specified")
- self.nbits, self.signed =
1
, False
+ self.nbits, self.signed =
bits_sign
, False
else:
self.nbits, self.signed = bits_sign