Commit 999cc8b8 authored by Evangelia Gousiou's avatar Evangelia Gousiou

updates on the user manual; spelling corrections on test00; changed LEDs blinking on test01

parent 8837f242
......@@ -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 FmcMasterFip speed version.\nPlease verify that %s resistor is mount" % ( speed_string[speed], indicators[speed] ) ):
if util.ask_user("Detected %s FMC masterFIP speed version.\nPlease verify that %s resistor is mounted" % ( speed_string[speed], indicators[speed] ) ):
result[ 'Speed specification'] = 1
else :
result[ 'Speed specification'] = 0
......
......@@ -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 then one led enabled at a time?"):
if not util.ask_user("Was there no more than one led enabled at a time?"):
util.err_msg("LED's verification failed!")
return 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment