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.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/pyGHDL/dom/Sequential.py b/pyGHDL/dom/Sequential.py
index d2efef8eb..28b6f2b98 100644
--- a/pyGHDL/dom/Sequential.py
+++ b/pyGHDL/dom/Sequential.py
@@ -421,12 +421,11 @@ class SequentialSimpleSignalAssignment(
target = nodes.Get_Target(assignmentNode)
targetName = GetNameFromNode(target)
- waveform = nodes.Get_Waveform_Chain(assignmentNode)
+ waveform = []
+ for wave in utils.chain_iter(nodes.Get_Waveform_Chain(assignmentNode)):
+ waveform.append(WaveformElement.parse(wave))
- # TODO: translate waveforms to series of "expressions".
- expression = [None]
-
- return cls(assignmentNode, targetName, expression, label)
+ return cls(assignmentNode, targetName, waveform, label)
@export