Skip to content

Commit

Permalink
tests: Comment on A[0]
Browse files Browse the repository at this point in the history
  • Loading branch information
povik committed Feb 16, 2024
1 parent 5a05344 commit e51c774
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/xprop/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ def vcdextract(signals, on_change, file, output, limit=None):
print("initial begin", file=tb_file)

for pattern in patterns:
# A[0] might be the clock which requires special sequencing
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',
file=tb_file,
Expand Down

0 comments on commit e51c774

Please sign in to comment.