mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
initialize clock in test
This commit is contained in:
parent
f921260dd0
commit
6428addb73
@ -140,6 +140,7 @@ def c_testbench_three():
|
||||
|
||||
@instance
|
||||
def tbclk():
|
||||
clock.next = False
|
||||
while True:
|
||||
yield delay(3)
|
||||
clock.next = not clock
|
||||
|
Loading…
x
Reference in New Issue
Block a user