Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
cf427ad7
Commit
cf427ad7
authored
9 years ago
by
Kenneth Hiemstra
Browse files
Options
Downloads
Patches
Plain Diff
update for 10G testing
parent
ec30c462
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
boards/uniboard2/designs/unb2_test/tb/python/tc_unb2_test.py
+4
-4
4 additions, 4 deletions
boards/uniboard2/designs/unb2_test/tb/python/tc_unb2_test.py
with
4 additions
and
4 deletions
boards/uniboard2/designs/unb2_test/tb/python/tc_unb2_test.py
+
4
−
4
View file @
cf427ad7
...
@@ -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
)):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment