Skip to content
Snippets Groups Projects
Commit cf427ad7 authored by Kenneth Hiemstra's avatar Kenneth Hiemstra
Browse files

update for 10G testing

parent ec30c462
Branches
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ def test_BG_to_DB(tc,io,cmd): ...@@ -96,7 +96,7 @@ def test_BG_to_DB(tc,io,cmd):
tc.set_section_id('Read - ') tc.set_section_id('Read - ')
instanceName=tc.gpString instanceName=tc.gpString
nof_streams=5 nof_streams=2
blocksize=0 blocksize=0
Bg = pi_diag_block_gen.PiDiagBlockGen(tc,io,nofChannels=nof_streams,ramSizePerChannel=blocksize,instanceName=instanceName) Bg = pi_diag_block_gen.PiDiagBlockGen(tc,io,nofChannels=nof_streams,ramSizePerChannel=blocksize,instanceName=instanceName)
Bg.write_disable() Bg.write_disable()
...@@ -169,7 +169,7 @@ def test_BG_to_DB(tc,io,cmd): ...@@ -169,7 +169,7 @@ def test_BG_to_DB(tc,io,cmd):
# Poll the databuffer to check if the response is there. # Poll the databuffer to check if the response is there.
# Retry after 3 seconds so we don't issue too many MM reads in case of simulation. # Retry after 3 seconds so we don't issue too many MM reads in case of simulation.
do_until_ge(Db.read_nof_words, ms_retry=3000, val=blocksize, s_timeout=3600) #do_until_ge(Db.read_nof_words, ms_retry=3000, val=blocksize, s_timeout=3600)
db_ram = [] db_ram = []
...@@ -184,8 +184,8 @@ def test_BG_to_DB(tc,io,cmd): ...@@ -184,8 +184,8 @@ def test_BG_to_DB(tc,io,cmd):
db_ram.append(rram) db_ram.append(rram)
#print 'bg_ram=',bg_ram print 'bg_ram=',bg_ram
#print 'db_ram=',db_ram print 'db_ram=',db_ram
tc.append_log(5, 'number of BG streams=%d number of DB streams=%d per stream:' % (len(bg_ram),len(db_ram))) tc.append_log(5, 'number of BG streams=%d number of DB streams=%d per stream:' % (len(bg_ram),len(db_ram)))
for st in range(len(bg_ram)): for st in range(len(bg_ram)):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment