3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 01:54:10 +00:00

tests: Fix initialization race in xprop tests

This commit is contained in:
Martin Povišer 2024-02-16 11:41:09 +01:00
parent 074b50e9c0
commit 5a05344d9c

View file

@ -271,7 +271,7 @@ if "prepare" in steps:
for pattern in patterns: for pattern in patterns:
print( print(
f' gclk = 1; #0; A[0] = 1\'b{pattern[-1]}; #0; A = {input_width}\'b{pattern}; #5; gclk = 0; $display("%b %b", A, Y); #5', f' #0; gclk = 1; #0; A[0] = 1\'b{pattern[-1]}; #0; A = {input_width}\'b{pattern}; #5; gclk = 0; $display("%b %b", A, Y); #5',
file=tb_file, file=tb_file,
) )