Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
MasterFIP - Testing
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
MasterFIP - Testing
Commits
999cc8b8
Commit
999cc8b8
authored
Jul 26, 2016
by
Evangelia Gousiou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updates on the user manual; spelling corrections on test00; changed LEDs blinking on test01
parent
8837f242
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
6 deletions
+19
-6
MasterFip_PTS_TestProcedure.docx
doc/MasterFip_PTS_TestProcedure.docx
+0
-0
MasterFip_PTS_UserGuide.docx
doc/MasterFip_PTS_UserGuide.docx
+0
-0
test00.py
python/test00.py
+1
-1
test01.py
python/test01.py
+18
-5
No files found.
doc/MasterFip_PTS_TestProcedure.docx
View file @
999cc8b8
No preview for this file type
doc/MasterFip_PTS_UserGuide.docx
View file @
999cc8b8
No preview for this file type
python/test00.py
View file @
999cc8b8
...
...
@@ -38,7 +38,7 @@ def speed_verification( dut ):
util
.
info_msg
(
"Found
%
s speed version board"
%
speed_string
[
speed
])
if
util
.
ask_user
(
"Detected
%
s F
mcMasterFip speed version.
\n
Please verify that
%
s resistor is mount
"
%
(
speed_string
[
speed
],
indicators
[
speed
]
)
):
if
util
.
ask_user
(
"Detected
%
s F
MC masterFIP speed version.
\n
Please verify that
%
s resistor is mounted
"
%
(
speed_string
[
speed
],
indicators
[
speed
]
)
):
result
[
'Speed specification'
]
=
1
else
:
result
[
'Speed specification'
]
=
0
...
...
python/test01.py
View file @
999cc8b8
...
...
@@ -66,18 +66,31 @@ def test_running_led( dut ):
util
.
section_msg
(
"Testing LED's"
)
util
.
user_msg
(
"Please observe
FmcMasterfip
front panel"
)
util
.
user_msg
(
"Please observe
the FMC masterFIP
front panel"
)
util
.
user_msg
(
"Please make sure that no more than one LED is enabled at a time"
)
util
.
ask_user
(
"Are you ready to start a test?"
)
for
j
in
xrange
(
2
):
for
i
in
xrange
(
6
):
dut
.
fipcore
.
write_regname
(
'led'
,
1
<<
i
)
time
.
sleep
(
0.7
)
dut
.
fipcore
.
write_regname
(
'led'
,
1
<<
1
)
time
.
sleep
(
0.7
)
dut
.
fipcore
.
write_regname
(
'led'
,
1
<<
2
)
time
.
sleep
(
0.7
)
dut
.
fipcore
.
write_regname
(
'led'
,
1
<<
4
)
time
.
sleep
(
0.7
)
dut
.
fipcore
.
write_regname
(
'led'
,
1
<<
5
)
time
.
sleep
(
0.7
)
dut
.
fipcore
.
write_regname
(
'led'
,
1
<<
0
)
time
.
sleep
(
0.7
)
dut
.
fipcore
.
write_regname
(
'led'
,
1
<<
3
)
time
.
sleep
(
0.7
)
#for i in xrange(6):
# dut.fipcore.write_regname( 'led', 1 << i )
# time.sleep(0.7)
dut
.
fipcore
.
write_regname
(
'led'
,
0
)
if
not
util
.
ask_user
(
"Was there no more th
e
n one led enabled at a time?"
):
if
not
util
.
ask_user
(
"Was there no more th
a
n one led enabled at a time?"
):
util
.
err_msg
(
"LED's verification failed!"
)
return
0
...
...
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