aboutsummaryrefslogtreecommitdiff
path: root/sem6/dig/generate_test_file.py
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-02-24 14:52:32 +0100
committerJulian T <julian@jtle.dk>2021-02-24 14:52:32 +0100
commitbf931f790f2ad6f482df38b0f70e0bbd05c401d8 (patch)
tree35971041b5c9eff1b30d5d3cf1d46c86186e9fcd /sem6/dig/generate_test_file.py
parent15e3da75a9e78c3ab9b03aa5e7c79b73cf1a2a47 (diff)
Added assignment for m4 dig
Diffstat (limited to 'sem6/dig/generate_test_file.py')
-rwxr-xr-xsem6/dig/generate_test_file.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sem6/dig/generate_test_file.py b/sem6/dig/generate_test_file.py
index ee82836..5a951f2 100755
--- a/sem6/dig/generate_test_file.py
+++ b/sem6/dig/generate_test_file.py
@@ -123,8 +123,8 @@ architecture behavior of test_{name} is
tof(f"in_{args[0]} <= \"{t[index]}\";")
else:
tof(f"in_{args[0]} <= '{t[index]}';")
- wait()
if "clk" in td:
+ wait()
tof(f"in_{td['clk']} <= '1';")
wait()
tof("wait;\nend process;\nend;")