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
ba91dd79
Commit
ba91dd79
authored
3 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Added multi tb for tb_dp_offload_tx_v3.vhd.
parent
c882ffc7
No related branches found
No related tags found
1 merge request
!190
Resolve L2SDP-210
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libraries/base/dp/hdllib.cfg
+2
-0
2 additions, 0 deletions
libraries/base/dp/hdllib.cfg
libraries/base/dp/tb/vhdl/tb_tb_dp_offload_tx_v3.vhd
+60
-0
60 additions, 0 deletions
libraries/base/dp/tb/vhdl/tb_tb_dp_offload_tx_v3.vhd
with
62 additions
and
0 deletions
libraries/base/dp/hdllib.cfg
+
2
−
0
View file @
ba91dd79
...
...
@@ -347,6 +347,7 @@ test_bench_files =
tb/vhdl/tb_tb_tb_dp_backpressure.vhd
tb/vhdl/tb_dp_offload_tx_v3.vhd
tb/vhdl/tb_tb_dp_offload_tx_v3.vhd
tb/vhdl/tb_dp_offload_rx_filter.vhd
tb/vhdl/tb_dp_selector_arr.vhd
tb/vhdl/tb_mms_dp_scale.vhd
...
...
@@ -416,6 +417,7 @@ regression_test_vhdl =
tb/vhdl/tb_tb_dp_xonoff.vhd
tb/vhdl/tb_dp_selector_arr.vhd
tb/vhdl/tb_mms_dp_scale.vhd
tb/vhdl/tb_tb_dp_offload_tx_v3.vhd
[modelsim_project_file]
...
...
This diff is collapsed.
Click to expand it.
libraries/base/dp/tb/vhdl/tb_tb_dp_offload_tx_v3.vhd
0 → 100644
+
60
−
0
View file @
ba91dd79
-- --------------------------------------------------------------------------
-- Copyright 2021
-- ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/>
-- P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-- --------------------------------------------------------------------------
--
-- Author: E. Kooistra, Jan 2022
-- Purpose: Regression multi tb for dp_offload_tx_v3 and dp_offload_rx
-- Description:
-- Usage:
-- > as 5
-- > run -all
LIBRARY
IEEE
;
USE
IEEE
.
std_logic_1164
.
ALL
;
USE
work
.
tb_dp_pkg
.
ALL
;
-- for t_dp_flow_control_enum
ENTITY
tb_tb_dp_offload_tx_v3
IS
END
tb_tb_dp_offload_tx_v3
;
ARCHITECTURE
tb
OF
tb_tb_dp_offload_tx_v3
IS
SIGNAL
tb_end
:
STD_LOGIC
:
=
'0'
;
-- declare tb_end to avoid 'No objects found' error on 'when -label tb_end'
BEGIN
-- -- general
-- g_flow_control_stimuli : t_dp_flow_control_enum := e_pulse; -- always e_active, e_random or e_pulse flow control
-- g_flow_control_verify : t_dp_flow_control_enum := e_active; -- always e_active, e_random or e_pulse flow control
-- g_print_en : BOOLEAN := TRUE;
-- -- specific
-- g_data_w : NATURAL := 64;
-- g_symbol_w : NATURAL := 16;
-- g_pkt_len : NATURAL := 240;
-- g_pkt_gap : NATURAL := 16
u_pls_act_data_w_64
:
ENTITY
work
.
tb_dp_offload_tx_v3
GENERIC
MAP
(
e_pulse
,
e_active
,
FALSE
,
64
,
64
,
240
,
16
);
u_pls_act_data_w_64_no_gap
:
ENTITY
work
.
tb_dp_offload_tx_v3
GENERIC
MAP
(
e_pulse
,
e_active
,
FALSE
,
64
,
64
,
240
,
0
);
u_rnd_act_data_w_64
:
ENTITY
work
.
tb_dp_offload_tx_v3
GENERIC
MAP
(
e_random
,
e_active
,
FALSE
,
64
,
64
,
240
,
16
);
u_rnd_act_data_w_32
:
ENTITY
work
.
tb_dp_offload_tx_v3
GENERIC
MAP
(
e_random
,
e_active
,
FALSE
,
32
,
32
,
240
,
16
);
--u_act_rnd_data_w : ENTITY work.tb_dp_offload_tx_v3 GENERIC MAP (e_active, e_random, FALSE, 64, 64, 240, 16);
u_rnd_act_data_64_symbol_16
:
ENTITY
work
.
tb_dp_offload_tx_v3
GENERIC
MAP
(
e_random
,
e_active
,
FALSE
,
64
,
16
,
240
,
16
);
u_rnd_act_data_64_symbol_32
:
ENTITY
work
.
tb_dp_offload_tx_v3
GENERIC
MAP
(
e_random
,
e_active
,
FALSE
,
64
,
32
,
240
,
16
);
u_rnd_act_data_32_symbol_8
:
ENTITY
work
.
tb_dp_offload_tx_v3
GENERIC
MAP
(
e_random
,
e_active
,
FALSE
,
32
,
8
,
240
,
16
);
u_rnd_act_data_32_symbol_16
:
ENTITY
work
.
tb_dp_offload_tx_v3
GENERIC
MAP
(
e_random
,
e_active
,
FALSE
,
32
,
16
,
240
,
16
);
END
tb
;
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