fhdl.ast.Signal: fix typo.
This commit is contained in:
parent
aab01d9e59
commit
00f0b950f6
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue