projects
/
c4m-jtag.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70709b5
)
JTAG_master class: document need for manual setting of state after using change_state...
author
Staf Verhaegen
<staf@stafverhaegen.be>
Sat, 14 Apr 2018 09:17:45 +0000
(11:17 +0200)
committer
Staf Verhaegen
<staf@stafverhaegen.be>
Sat, 14 Apr 2018 09:17:45 +0000
(11:17 +0200)
sim/cocotb/c4m_jtag.py
patch
|
blob
|
history
diff --git
a/sim/cocotb/c4m_jtag.py
b/sim/cocotb/c4m_jtag.py
index 5deb89a1362f05293fecfac467ca24d2baa5b63a..48d2677cc5920daa1423d4c6cf82d7efaa8f537f 100644
(file)
--- a/
sim/cocotb/c4m_jtag.py
+++ b/
sim/cocotb/c4m_jtag.py
@@
-84,6
+84,12
@@
class JTAG_Master(object):
@cocotb.coroutine
def change_state(self, tms_list):
+ """
+ Put TAP in other state by giving a TMS sequence
+ This function does not detect if one ends up in reset or run
+ state afterwards, self.state has to be updated by caller
+ if that is the case.
+ """
tms_copy = list(tms_list)
while tms_copy:
self.tms <= tms_copy.pop()