Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Raptor Engineering Public Development
dsview
Commits
de4a89b6
Commit
de4a89b6
authored
4 years ago
by
Kongou Hikari
Browse files
Options
Download
Email Patches
Plain Diff
cjtag-oscan1: Improve performance
parent
002d3336
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
libsigrokdecode4DSL/decoders/cjtag-oscan0/pd.py
libsigrokdecode4DSL/decoders/cjtag-oscan0/pd.py
+2
-1
No files found.
libsigrokdecode4DSL/decoders/cjtag-oscan0/pd.py
View file @
de4a89b6
...
...
@@ -4,6 +4,7 @@
## Copyright (C) 2012-2015 Uwe Hermann <uwe@hermann-uwe.de>
## Copyright (C) 2019 DreamSourceLab <support@dreamsourcelab.com>
## Copyright (C) 2019 Zhiyuan Wan <dv.xw@qq.com>
## Copyright (C) 2019 Kongou Hikari <hikari@iloli.bid>
##
## Version:
## Modified by Shiqiu Nie(369614718@qq.com)
...
...
@@ -380,7 +381,7 @@ class Decoder(srd.Decoder):
self
.
handle_rising_tck_edge
(
tdi
,
tdo
,
tck
,
tms
,
trst
,
srst
,
rtck
)
while
(
tck
==
1
):
(
tdi
,
tdo
,
tck
,
tms_n
,
trst
,
srst
,
rtck
)
=
self
.
wait
(
)
# Skip one sample
(
tdi
,
tdo
,
tck
,
tms_n
,
trst
,
srst
,
rtck
)
=
self
.
wait
(
[{
2
:
'f'
},
{
3
:
'e'
}])
if
(
tms_n
!=
tms
):
tms
=
tms_n
self
.
handle_tms_edge
(
tck
,
tms
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment