Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit Switch - Gateware
Manage
Activity
Members
Labels
Plan
Issues
15
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
White Rabbit Switch - Gateware
Commits
69238861
Commit
69238861
authored
11 years ago
by
Maciej Lipinski
Browse files
Options
Downloads
Patches
Plain Diff
[scb_top testbench] added more debugging scenarios for 100% load
parent
b3867bc8
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testbench/scb_top/main.sv
+112
-1
112 additions, 1 deletion
testbench/scb_top/main.sv
with
112 additions
and
1 deletion
testbench/scb_top/main.sv
+
112
−
1
View file @
69238861
...
...
@@ -1977,7 +1977,7 @@ module main;
/*
* test 100% load
**/
//
/*
/*
initial begin
portUnderTest = 18'b100000000000000001;
// portUnderTest = 18'b111111111111111111;
...
...
@@ -2003,8 +2003,119 @@ module main;
// tx ,rx ,opt
// trans_paths[0] = '{0 ,17 ,1000};
// trans_paths[17] = '{17 ,0 ,1000};
end
*/
/** *************************** test scenario 62 ************************************* **/
/*
* test 100% (high) load for 2 streams of small frames
**/
/*
initial begin
portUnderTest = 18'b110000000000000011;
g_enable_pck_gaps = 0;
repeat_number = 500000;
tries_number = 1;
g_force_payload_size = 46;
g_is_qvlan = 0;
// tx ,rx ,opt
trans_paths[0] = '{0 ,17 ,0};
trans_paths[17] = '{17 ,0 ,0};
trans_paths[1] = '{1 ,16 ,0};
trans_paths[16] = '{16 ,1 ,0};
end
*/
/** *************************** test scenario 63 ************************************* **/
/*
* test 100% (high) load for tagged frames
**/
/*
initial begin
portUnderTest = 18'b100000000000000001;
g_enable_pck_gaps = 0;
repeat_number = 500000;
tries_number = 1;
g_force_payload_size = 46;
g_is_qvlan = 1;
// tx ,rx ,opt
trans_paths[0] = '{0 ,17 ,0};
trans_paths[17] = '{17 ,0 ,0};
end
//*/
/** *************************** test scenario 64 ************************************* **/
/*
* test 100% (high) with tagging/untagging
**/
///*
initial
begin
portUnderTest
=
18'b100000000000000001
;
g_enable_pck_gaps
=
0
;
repeat_number
=
500000
;
tries_number
=
1
;
// g_force_payload_size = 331;//46;
g_force_payload_size
=
88
;
// it should be 106 of the entire frame
// g_set_untagging = 1;
// qmode = 3;
g_is_qvlan
=
0
;
// strange config -> make some strange wholes.... check this
// qmode = 3;
// g_is_qvlan = 1;
// tx ,rx ,opt
trans_paths
[
0
]
=
'
{
0
,
17
,
0
}
;
trans_paths
[
17
]
=
'
{
17
,
0
,
0
}
;
end
//*/
/** *************************** test scenario 65 ************************************* **/
/*
* test 100% (high) with tagging/untagging
**/
/*
initial begin
portUnderTest = 18'b100000000000000001;
g_enable_pck_gaps = 0;
repeat_number = 500000;
tries_number = 1;
g_force_payload_size = 128;//46;
g_set_untagging = 1;
// qmode = 3;
// g_is_qvlan = 0;
//
// strange config -> make some strange wholes.... check this
qmode = 3;
g_is_qvlan = 1;
// tx ,rx ,opt
trans_paths[0] = '{0 ,17 ,0};
trans_paths[17] = '{17 ,0 ,0};
end
*/
/** *************************** test scenario 66 ************************************* **/
/*
* test 100% (high) with tagging/untagging
**/
/*
initial begin
portUnderTest = 18'b100000000000000001;
g_enable_pck_gaps = 0;
repeat_number = 500000;
tries_number = 1;
g_force_payload_size = 46;
g_is_qvlan = 0;
// tx ,rx ,opt
trans_paths[0] = '{0 ,17 ,0};
trans_paths[17] = '{17 ,0 ,0};
end
*/
//////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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