aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/Concurrent.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2023-04-15 10:43:09 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2023-04-15 10:43:09 +0200
commitd67bfa80c0c7d013a99636d7959cf433000ab2e7 (patch)
tree4b5f37cd0e0f2aeb460d2d188bc15f1181e9614c /pyGHDL/dom/Concurrent.py
parentbee2616e7fed89c042f79592ddfafa2f6aea451e (diff)
downloadghdl-d67bfa80c0c7d013a99636d7959cf433000ab2e7.tar.gz
ghdl-d67bfa80c0c7d013a99636d7959cf433000ab2e7.tar.bz2
ghdl-d67bfa80c0c7d013a99636d7959cf433000ab2e7.zip
Modifications due to changes in Symbols.
Diffstat (limited to 'pyGHDL/dom/Concurrent.py')
-rw-r--r--pyGHDL/dom/Concurrent.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyGHDL/dom/Concurrent.py b/pyGHDL/dom/Concurrent.py
index 4ffba28d1..303b6b96b 100644
--- a/pyGHDL/dom/Concurrent.py
+++ b/pyGHDL/dom/Concurrent.py
@@ -574,7 +574,7 @@ class ForGenerateStatement(VHDLModel_ForGenerateStatement, DOMMixin):
@classmethod
def parse(cls, generateNode: Iir, label: str) -> "ForGenerateStatement":
- from pyGHDL.dom._Utils import GetIirKindOfNode
+ from pyGHDL.dom._Utils import GetIirKindOfNode, GetNameOfNode
from pyGHDL.dom._Translate import (
GetDeclaredItemsFromChainedNodes,
GetConcurrentStatementsFromChainedNodes,
@@ -583,7 +583,7 @@ class ForGenerateStatement(VHDLModel_ForGenerateStatement, DOMMixin):
)
spec = nodes.Get_Parameter_Specification(generateNode)
- loopIndex = GetName(spec)
+ loopIndex = GetNameOfNode(spec)
discreteRange = nodes.Get_Discrete_Range(spec)
rangeKind = GetIirKindOfNode(discreteRange)