projects
/
soc-cocotb-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1868bc3
)
Function is a generator.
author
Staf Verhaegen
<staf@stafverhaegen.be>
Tue, 6 Apr 2021 18:37:34 +0000
(20:37 +0200)
committer
Staf Verhaegen
<staf@stafverhaegen.be>
Tue, 6 Apr 2021 18:37:34 +0000
(20:37 +0200)
ls180/pre_pnr/test.py
patch
|
blob
|
history
diff --git
a/ls180/pre_pnr/test.py
b/ls180/pre_pnr/test.py
index 9abada1afa8c8d0c60bacc2a5c4152f26fd77c32..77a9958dba305d2b094a18b40025bd1460d06d59 100644
(file)
--- a/
ls180/pre_pnr/test.py
+++ b/
ls180/pre_pnr/test.py
@@
-145,8
+145,8
@@
def setup_sim(dut, *, info, clk_period, run):
def setup_jtag(wrap, *, tck_period):
- # TODO: Make this a generator
if False:
+ # Yield is never executed but it makes this function a generator
yield Timer(0)
return JTAG_Master(wrap.tck, wrap.tms, wrap.tdi, wrap.tdo,
clk_period=tck_period,