Skip to content
GitLab
Explore
Sign in
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
f9aaad17
Commit
f9aaad17
authored
1 year ago
by
Reinier van der Walle
Browse files
Options
Downloads
Patches
Plain Diff
corrected TB
parent
c47a70b4
No related branches found
No related tags found
1 merge request
!332
Resolve HPR-122
Pipeline
#50611
passed
1 year ago
Stage: linting
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/io/eth/tb/vhdl/tb_eth_tester_high_bw.vhd
+4
-6
4 additions, 6 deletions
libraries/io/eth/tb/vhdl/tb_eth_tester_high_bw.vhd
with
4 additions
and
6 deletions
libraries/io/eth/tb/vhdl/tb_eth_tester_high_bw.vhd
+
4
−
6
View file @
f9aaad17
...
@@ -111,9 +111,7 @@ ARCHITECTURE tb OF tb_eth_tester_high_bw IS
...
@@ -111,9 +111,7 @@ ARCHITECTURE tb OF tb_eth_tester_high_bw IS
-- Expected Tx --> Rx latency values obtained from a tb run
-- Expected Tx --> Rx latency values obtained from a tb run
CONSTANT
c_tx_exp_latency
:
NATURAL
:
=
0
;
CONSTANT
c_tx_exp_latency
:
NATURAL
:
=
0
;
CONSTANT
c_rx_exp_latency_en
:
BOOLEAN
:
=
c_bg_block_len_max
>=
50
;
CONSTANT
c_rx_exp_latency_en
:
BOOLEAN
:
=
c_bg_block_len_max
>=
50
;
CONSTANT
c_rx_exp_latency_st
:
NATURAL
:
=
28
;
CONSTANT
c_rx_exp_latency_st
:
NATURAL
:
=
19
;
CONSTANT
c_rx_exp_latency_sim_tse
:
NATURAL
:
=
167
;
CONSTANT
c_rx_exp_latency_tech_tse
:
NATURAL
:
=
372
;
-- CRC is added by Tx TSE IP and removed by dp_offload_rx when g_remove_crc =
-- CRC is added by Tx TSE IP and removed by dp_offload_rx when g_remove_crc =
-- g_loopback_eth = TRUE. Therefore internally only application payload
-- g_loopback_eth = TRUE. Therefore internally only application payload
...
@@ -267,6 +265,9 @@ BEGIN
...
@@ -267,6 +265,9 @@ BEGIN
---------------------------------------------------------------------------
---------------------------------------------------------------------------
FOR
I
IN
g_nof_streams
-1
DOWNTO
0
LOOP
FOR
I
IN
g_nof_streams
-1
DOWNTO
0
LOOP
v_offset
:
=
I
*
c_diag_bg_reg_adr_span
;
v_offset
:
=
I
*
c_diag_bg_reg_adr_span
;
-- Set number of octets per packet for dp_split
proc_mem_mm_bus_wr
(
I
*
2
,
bg_ctrl_arr
(
I
)
.
samples_per_packet
,
mm_clk
,
reg_dp_split_copi
);
-- Prepare the BG
-- Prepare the BG
proc_mem_mm_bus_wr
(
v_offset
+
1
,
ceil_div
(
bg_ctrl_arr
(
I
)
.
samples_per_packet
,
g_nof_octet_generate
)
,
mm_clk
,
reg_bg_ctrl_copi
);
proc_mem_mm_bus_wr
(
v_offset
+
1
,
ceil_div
(
bg_ctrl_arr
(
I
)
.
samples_per_packet
,
g_nof_octet_generate
)
,
mm_clk
,
reg_bg_ctrl_copi
);
proc_mem_mm_bus_wr
(
v_offset
+
2
,
bg_ctrl_arr
(
I
)
.
blocks_per_sync
,
mm_clk
,
reg_bg_ctrl_copi
);
proc_mem_mm_bus_wr
(
v_offset
+
2
,
bg_ctrl_arr
(
I
)
.
blocks_per_sync
,
mm_clk
,
reg_bg_ctrl_copi
);
...
@@ -277,9 +278,6 @@ BEGIN
...
@@ -277,9 +278,6 @@ BEGIN
proc_mem_mm_bus_wr
(
v_offset
+
7
,
0
,
mm_clk
,
reg_bg_ctrl_copi
);
-- high part
proc_mem_mm_bus_wr
(
v_offset
+
7
,
0
,
mm_clk
,
reg_bg_ctrl_copi
);
-- high part
-- Enable the BG at st_pps pulse.
-- Enable the BG at st_pps pulse.
proc_mem_mm_bus_wr
(
v_offset
+
0
,
3
,
mm_clk
,
reg_bg_ctrl_copi
);
proc_mem_mm_bus_wr
(
v_offset
+
0
,
3
,
mm_clk
,
reg_bg_ctrl_copi
);
-- Set number of octets per packet for dp_split
proc_mem_mm_bus_wr
(
I
*
2
,
bg_ctrl_arr
(
I
)
.
samples_per_packet
,
mm_clk
,
reg_dp_split_copi
);
END
LOOP
;
END
LOOP
;
proc_common_wait_some_cycles
(
mm_clk
,
10
);
proc_common_wait_some_cycles
(
mm_clk
,
10
);
...
...
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