aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/InterfaceItem.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-07-26 21:38:43 +0200
committerumarcor <unai.martinezcorral@ehu.eus>2021-08-23 16:35:32 +0200
commit47ec53b54ce661a806f371734754483ef906c563 (patch)
tree5a4dd61771cb85e849698d1fe09aa064697357a9 /pyGHDL/dom/InterfaceItem.py
parent77f969a11ea5ac38f007dbf3aab986dcf10125b0 (diff)
downloadghdl-47ec53b54ce661a806f371734754483ef906c563.tar.gz
ghdl-47ec53b54ce661a806f371734754483ef906c563.tar.bz2
ghdl-47ec53b54ce661a806f371734754483ef906c563.zip
Also handle multiple identifiers in record elements.
Diffstat (limited to 'pyGHDL/dom/InterfaceItem.py')
-rw-r--r--pyGHDL/dom/InterfaceItem.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/pyGHDL/dom/InterfaceItem.py b/pyGHDL/dom/InterfaceItem.py
index 2396ff0c8..3a9c7238f 100644
--- a/pyGHDL/dom/InterfaceItem.py
+++ b/pyGHDL/dom/InterfaceItem.py
@@ -83,9 +83,9 @@ class GenericConstantInterfaceItem(VHDLModel_GenericConstantInterfaceItem, DOMMi
return cls(
genericNode,
- list(
+ [
name,
- ),
+ ],
mode,
subtypeIndication,
value,
@@ -188,9 +188,9 @@ class PortSignalInterfaceItem(VHDLModel_PortSignalInterfaceItem, DOMMixin):
return cls(
portNode,
- list(
+ [
name,
- ),
+ ],
mode,
subtypeIndication,
value,
@@ -229,9 +229,9 @@ class ParameterConstantInterfaceItem(
return cls(
parameterNode,
- list(
+ [
name,
- ),
+ ],
mode,
subtypeIndication,
value,
@@ -270,9 +270,9 @@ class ParameterVariableInterfaceItem(
return cls(
parameterNode,
- list(
+ [
name,
- ),
+ ],
mode,
subtypeIndication,
value,
@@ -309,9 +309,9 @@ class ParameterSignalInterfaceItem(VHDLModel_ParameterSignalInterfaceItem, DOMMi
return cls(
parameterNode,
- list(
+ [
name,
- ),
+ ],
mode,
subtypeIndication,
value,
@@ -338,8 +338,8 @@ class ParameterFileInterfaceItem(VHDLModel_ParameterFileInterfaceItem, DOMMixin)
return cls(
parameterNode,
- list(
+ [
name,
- ),
+ ],
subtypeIndication,
)