mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-21 06:24:04 +00:00
tests: Comment on A[0]
This commit is contained in:
parent
5a05344d9c
commit
e51c77484a
1 changed files with 1 additions and 0 deletions
|
@ -270,6 +270,7 @@ if "prepare" in steps:
|
||||||
print("initial begin", file=tb_file)
|
print("initial begin", file=tb_file)
|
||||||
|
|
||||||
for pattern in patterns:
|
for pattern in patterns:
|
||||||
|
# A[0] might be the clock which requires special sequencing
|
||||||
print(
|
print(
|
||||||
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',
|
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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue