diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-06-21 14:34:03 +0200 |
---|---|---|
committer | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-06-22 12:26:59 +0200 |
commit | 5303bb777dedfa03bbc3d042bb14c5d9bbae6b52 (patch) | |
tree | efc8cdd5c4114be2bb5cb69b35b34f6b481e5b81 /pyGHDL/dom/InterfaceItem.py | |
parent | e41f119ea07c83842599fdd4ff1dd8e235eb791e (diff) | |
download | ghdl-5303bb777dedfa03bbc3d042bb14c5d9bbae6b52.tar.gz ghdl-5303bb777dedfa03bbc3d042bb14c5d9bbae6b52.tar.bz2 ghdl-5303bb777dedfa03bbc3d042bb14c5d9bbae6b52.zip |
Renamed 'NodeToName' to 'GetNameOfNode'.
Diffstat (limited to 'pyGHDL/dom/InterfaceItem.py')
-rw-r--r-- | pyGHDL/dom/InterfaceItem.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyGHDL/dom/InterfaceItem.py b/pyGHDL/dom/InterfaceItem.py index c2cd3a2c9..6c0d2641b 100644 --- a/pyGHDL/dom/InterfaceItem.py +++ b/pyGHDL/dom/InterfaceItem.py @@ -43,7 +43,7 @@ from pyVHDLModel.VHDLModel import ( Expression, ) -from pyGHDL.dom._Utils import NodeToName, GetModeOfNode +from pyGHDL.dom._Utils import GetNameOfNode, GetModeOfNode from pyGHDL.dom._Translate import GetSubtypeIndicationFromNode, GetExpressionFromNode from pyGHDL.dom.Common import GHDLMixin @@ -54,7 +54,7 @@ __all__ = [] class GenericConstantInterfaceItem(VHDLModel_GenericConstantInterfaceItem, GHDLMixin): @classmethod def parse(cls, generic): - name = NodeToName(generic) + name = GetNameOfNode(generic) mode = GetModeOfNode(generic) subTypeIndication = GetSubtypeIndicationFromNode(generic, "generic", name) default = nodes.Get_Default_Value(generic) @@ -80,7 +80,7 @@ class GenericConstantInterfaceItem(VHDLModel_GenericConstantInterfaceItem, GHDLM class PortSignalInterfaceItem(VHDLModel_PortSignalInterfaceItem, GHDLMixin): @classmethod def parse(cls, port): - name = NodeToName(port) + name = GetNameOfNode(port) mode = GetModeOfNode(port) subTypeIndication = GetSubtypeIndicationFromNode(port, "port", name) |