Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
x393
Commits
946b2e55
Commit
946b2e55
authored
May 25, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/updating DDR3 training algorithms
parent
8105543d
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
358 additions
and
123 deletions
+358
-123
hargs-auto
py393/hargs-auto
+1
-1
x393_mcntrl_adjust.py
py393/x393_mcntrl_adjust.py
+354
-119
x393_pio_sequences.py
py393/x393_pio_sequences.py
+3
-3
No files found.
py393/hargs-auto
View file @
946b2e55
...
@@ -3,5 +3,5 @@
...
@@ -3,5 +3,5 @@
-f /usr/local/verilog/x393_parameters.vh /usr/local/verilog/x393_cur_params_target.vh /usr/local/verilog/x393_localparams.vh
-f /usr/local/verilog/x393_parameters.vh /usr/local/verilog/x393_cur_params_target.vh /usr/local/verilog/x393_localparams.vh
-l /usr/local/verilog/x393_cur_params_target.vh
-l /usr/local/verilog/x393_cur_params_target.vh
-p PICKLE="/usr/local/verilog/x393_mcntrl.pickle
-p PICKLE="/usr/local/verilog/x393_mcntrl.pickle
-c measure_all
"*ICWRPOASZB" 1 2 2 0xaa 1 0 0 3
-c measure_all
-c save
-c save
py393/x393_mcntrl_adjust.py
View file @
946b2e55
This diff is collapsed.
Click to expand it.
py393/x393_pio_sequences.py
View file @
946b2e55
...
@@ -1138,7 +1138,7 @@ class X393PIOSequences(object):
...
@@ -1138,7 +1138,7 @@ class X393PIOSequences(object):
@param wait_complete wait write levelling operation to complete (0 - may initiate multiple PS PIO operations)
@param wait_complete wait write levelling operation to complete (0 - may initiate multiple PS PIO operations)
@param nburst number of 8-bursts written (should match sequence!)
@param nburst number of 8-bursts written (should match sequence!)
@param quiet reduce output
@param quiet reduce output
@eturn a pair of ratios for getting "1" for 2 lanes and problem marker (should be 0)
@eturn a pair of ratios for getting "1" for 2 lanes and problem marker (should be 0)
, added 4-th value for LY
"""
"""
numBufWords
=
2
*
nburst
# twice nrep in set_write_lev
numBufWords
=
2
*
nburst
# twice nrep in set_write_lev
self
.
wait_ps_pio_done
(
vrlg
.
DEFAULT_STATUS_MODE
,
1
);
# not no interrupt running cycle - delays are changed immediately
self
.
wait_ps_pio_done
(
vrlg
.
DEFAULT_STATUS_MODE
,
1
);
# not no interrupt running cycle - delays are changed immediately
...
@@ -1182,8 +1182,8 @@ class X393PIOSequences(object):
...
@@ -1182,8 +1182,8 @@ class X393PIOSequences(object):
if
quiet
<
1
:
if
quiet
<
1
:
print
(
"WLEV lanes ratios:
%
f
%
f, non 0x00/0x01 byte:
%
f, non 0x00/0xffs:
%
f"
%
(
rslt
[
0
],
rslt
[
1
],
rslt
[
2
],
rslt
[
3
]))
print
(
"WLEV lanes ratios:
%
f
%
f, non 0x00/0x01 byte:
%
f, non 0x00/0xffs:
%
f"
%
(
rslt
[
0
],
rslt
[
1
],
rslt
[
2
],
rslt
[
3
]))
if
(
rslt
[
3
]
<
rslt
[
2
]):
#
if (rslt[3] < rslt[2]):
rslt
[
2
]
=
rslt
[
3
]
#
rslt[2] = rslt[3]
return
rslt
return
rslt
def
read_levelling
(
self
,
def
read_levelling
(
self
,
...
...
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