Skip to content

Commit b567d3c

Browse files
committed
Fixed some simple typos.
1 parent 988c487 commit b567d3c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

veriloggen/core/vtypes.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -498,9 +498,9 @@ def dec(self):
498498
class AnyType(_Variable): pass
499499

500500
#-------------------------------------------------------------------------------
501-
class _ParameterVairable(_Variable):
501+
class _ParameterVariable(_Variable):
502502
def __init__(self, value, width=None, signed=False, name=None, module=None):
503-
if isinstance(value, _ParameterVairable):
503+
if isinstance(value, _ParameterVariable):
504504
value = value.value
505505
_Variable.__init__(self, width=width, signed=signed, value=value, name=name,
506506
module=module)
@@ -510,9 +510,9 @@ def bit_length(self):
510510
return 32
511511
return self.width
512512

513-
class Parameter(_ParameterVairable): pass
514-
class Localparam(_ParameterVairable): pass
515-
class Supply(_ParameterVairable): pass
513+
class Parameter(_ParameterVariable): pass
514+
class Localparam(_ParameterVariable): pass
515+
class Supply(_ParameterVariable): pass
516516

517517
#-------------------------------------------------------------------------------
518518
class _Constant(_Numeric):

veriloggen/fsm/fsm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ def _add_delayed_subst(self, subst, index, delay):
498498
left = subst.left
499499
right = subst.right
500500
if isinstance(right, (bool, int, float, str,
501-
vtypes._Constant, vtypes._ParameterVairable)):
501+
vtypes._Constant, vtypes._ParameterVariable)):
502502
return subst
503503
width = left.bit_length()
504504
prev = right

veriloggen/seq/seq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ def _add_delayed_subst(self, subst, delay):
452452
left = subst.left
453453
right = subst.right
454454
if isinstance(right, (bool, int, float, str,
455-
vtypes._Constant, vtypes._ParameterVairable)):
455+
vtypes._Constant, vtypes._ParameterVariable)):
456456
return subst
457457
width = left.bit_length()
458458
prev = right

0 commit comments

Comments
 (0)