Commit ca15afbd authored by Marek Gumiński's avatar Marek Gumiński

Firmware build on eva's latest commit.

Added flush to tests in order to remove empty log files.
Small message fix in test02.
parent 5fbb521e
gw-masterfip @ 3591d52b
Subproject commit 0c572bd801d6e18f2afb0bcc5ca621e624847ab9
Subproject commit 3591d52b3ff0144cde65262aabe154eaf9d64b03
......@@ -414,10 +414,6 @@
<association xil_pn:name="BehavioralSimulation" xil_pn:seqID="0"/>
<association xil_pn:name="Implementation" xil_pn:seqID="0"/>
</file>
<file xil_pn:name="../../ip_cores/gw-masterfip/rtl/free_counter.vhd" xil_pn:type="FILE_VHDL">
<association xil_pn:name="BehavioralSimulation" xil_pn:seqID="0"/>
<association xil_pn:name="Implementation" xil_pn:seqID="0"/>
</file>
<file xil_pn:name="../../ip_cores/general-cores/modules/wishbone/wb_dma/xwb_dma.vhd" xil_pn:type="FILE_VHDL">
<association xil_pn:name="BehavioralSimulation" xil_pn:seqID="0"/>
<association xil_pn:name="Implementation" xil_pn:seqID="0"/>
......
......@@ -10,6 +10,7 @@ import spec
import fmcmasterfip as fmc
import utilities as util
import ptsexcept
import sys
def speed_verification( dut ):
......@@ -70,6 +71,8 @@ def main (card=None, default_directory='.',suite=None, serial=""):
errors = util.summarise_test_results( testname, test_results)
sys.stdout.flush()
return 0
......
......@@ -11,6 +11,7 @@ import fmcmasterfip as fmc
import utilities as util
import ptsexcept
import time
import sys
# ledlist = ['out_of_sync', 'rx_err', 'rx_act', 'sync', 'tx_act', 'tx_err' ]
......@@ -135,6 +136,8 @@ def main (card=None, default_directory='.',suite=None, serial=""):
errors = util.summarise_test_results( testname, test_results)
sys.stdout.flush()
return 0;
if __name__ == '__main__' :
main()
\ No newline at end of file
......@@ -13,6 +13,7 @@ import time
import ptsexcept
from time import sleep
from spec_identification import dut_bus
import sys
PLOT=True
......@@ -148,12 +149,13 @@ def test_cdn( dut, maxtries = 50 ):
time.sleep(1)
det = dut.fippts.read_regname('fd_rxcdn_cnt')
util.info_msg ("CD_N counter value after transmission: %d" % before )
det = det - before
if det > 0:
if det == 2:
test_result[ 'CD_N during transmission' ] = 1;
util.info_msg("CD_N detected during transmission. (Counter value: %d)" % det )
util.info_msg("Active CD_N detected during transmission (%d frames)." % det )
else:
test_result[ 'CD_N during transmission' ] = 0;
......@@ -423,6 +425,7 @@ def main (card=None, default_directory='.',suite=None,serial=""):
errors = util.summarise_test_results( testname, test_results)
sys.stdout.flush()
return 0
if __name__ == '__main__' :
......
......@@ -11,6 +11,7 @@ import fmcmasterfip as fmc
import utilities as util
import ptsexcept
import time
import sys
REPETITIONS = 20
......@@ -84,6 +85,7 @@ def main (card=None, default_directory='.',suite=None, serial=""):
errors = util.summarise_test_results( testname, test_results)
sys.stdout.flush()
return 0
......
......@@ -171,6 +171,7 @@ def main (card=None, default_directory='.',suite=None, serial=None):
# summarize results
errors = util.summarise_test_results( "Test05: EEPROM", test_results)
sys.stdout.flush()
return 0
......
......@@ -10,6 +10,7 @@ import spec
import fmcmasterfip as fmc
import utilities as util
import time
import sys
DEL = 0.5
NRSAMPLES = 10
......@@ -291,6 +292,8 @@ def main (card=None, default_directory='.',suite=None, serial=""):
###############################################################################
errors = util.summarise_test_results( testname, test_results)
sys.stdout.flush()
return 0
if __name__ == '__main__' :
main()
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