aboutsummaryrefslogtreecommitdiff
path: root/sem6/dig/generate_test_file.py
diff options
context:
space:
mode:
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;")