mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
supporting python 2.6
This commit is contained in:
parent
8f0678bdea
commit
41081e3817
@ -8,9 +8,9 @@ def test():
|
||||
@instance
|
||||
def tbstim():
|
||||
yield delay(10)
|
||||
print("{:<8d} ".format(now()))
|
||||
print("{0:<8d} ".format(now()))
|
||||
yield delay(1000)
|
||||
print("{:<8d} ".format(now()))
|
||||
print("{0:<8d} ".format(now()))
|
||||
for _ in range(10):
|
||||
yield delay(1000)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user