aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/Sequential.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/dom/Sequential.py')
-rw-r--r--pyGHDL/dom/Sequential.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/pyGHDL/dom/Sequential.py b/pyGHDL/dom/Sequential.py
index fe7c83614..4f511c16f 100644
--- a/pyGHDL/dom/Sequential.py
+++ b/pyGHDL/dom/Sequential.py
@@ -34,7 +34,10 @@ from typing import Iterable
from pydecor import export
-from pyGHDL.dom.Concurrent import WaveformElement # TODO: move out from concurrent?
+from pyGHDL.dom.Concurrent import (
+ WaveformElement,
+ ParameterAssociationItem,
+) # TODO: move out from concurrent?
from pyGHDL.dom.Range import Range
from pyVHDLModel.SyntaxModel import (
IfBranch as VHDLModel_IfBranch,
@@ -350,11 +353,11 @@ class ForLoopStatement(VHDLModel_ForLoopStatement, DOMMixin):
self,
loopNode: Iir,
loopIndex: str,
- range: Range,
+ rng: Range,
statements: Iterable[SequentialStatement] = None,
label: str = None,
):
- super().__init__(loopIndex, range, statements, label)
+ super().__init__(loopIndex, rng, statements, label)
DOMMixin.__init__(self, loopNode)
@classmethod
@@ -430,7 +433,7 @@ class SequentialProcedureCall(VHDLModel_SequentialProcedureCall, DOMMixin):
self,
callNode: Iir,
procedureName: Name,
- parameterMappings: Iterable,
+ parameterMappings: Iterable[ParameterAssociationItem],
label: str = None,
):
super().__init__(procedureName, parameterMappings, label)