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
bd3646a6
Commit
bd3646a6
authored
3 years ago
by
Reinier van der Walle
Browse files
Options
Downloads
Patches
Plain Diff
reverted tb
parent
cde35d38
Branches
Branches containing commit
No related tags found
1 merge request
!206
Corrected lofar2_unb2c_sdp_station_full top-level and revision pkg.
Pipeline
#25560
passed
3 years ago
Stage: simulation
Stage: synthesis
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
applications/lofar2/designs/lofar2_unb2b_sdp_station/revisions/lofar2_unb2b_sdp_station_xsub_one/tb_lofar2_unb2b_sdp_station_xsub_one_xst_offload.vhd
+12
-27
12 additions, 27 deletions
..._one/tb_lofar2_unb2b_sdp_station_xsub_one_xst_offload.vhd
with
12 additions
and
27 deletions
applications/lofar2/designs/lofar2_unb2b_sdp_station/revisions/lofar2_unb2b_sdp_station_xsub_one/tb_lofar2_unb2b_sdp_station_xsub_one_xst_offload.vhd
+
12
−
27
View file @
bd3646a6
...
@@ -71,7 +71,7 @@ ARCHITECTURE tb OF tb_lofar2_unb2b_sdp_station_xsub_one_xst_offload IS
...
@@ -71,7 +71,7 @@ ARCHITECTURE tb OF tb_lofar2_unb2b_sdp_station_xsub_one_xst_offload IS
CONSTANT
c_tb_clk_period
:
TIME
:
=
100
ps
;
-- use fast tb_clk to speed up M&C
CONSTANT
c_tb_clk_period
:
TIME
:
=
100
ps
;
-- use fast tb_clk to speed up M&C
CONSTANT
c_nof_block_per_sync
:
NATURAL
:
=
8
*
16
;
-- long enough to stream out udp data
CONSTANT
c_nof_block_per_sync
:
NATURAL
:
=
16
;
-- long enough to stream out udp data
CONSTANT
c_nof_clk_per_sync
:
NATURAL
:
=
c_nof_block_per_sync
*
c_sdp_N_fft
;
CONSTANT
c_nof_clk_per_sync
:
NATURAL
:
=
c_nof_block_per_sync
*
c_sdp_N_fft
;
CONSTANT
c_pps_period
:
NATURAL
:
=
c_nof_clk_per_sync
;
CONSTANT
c_pps_period
:
NATURAL
:
=
c_nof_clk_per_sync
;
CONSTANT
c_wpfb_sim
:
t_wpfb
:
=
func_wpfb_set_nof_block_per_sync
(
c_sdp_wpfb_subbands
,
c_nof_block_per_sync
);
CONSTANT
c_wpfb_sim
:
t_wpfb
:
=
func_wpfb_set_nof_block_per_sync
(
c_sdp_wpfb_subbands
,
c_nof_block_per_sync
);
...
@@ -79,8 +79,6 @@ ARCHITECTURE tb OF tb_lofar2_unb2b_sdp_station_xsub_one_xst_offload IS
...
@@ -79,8 +79,6 @@ ARCHITECTURE tb OF tb_lofar2_unb2b_sdp_station_xsub_one_xst_offload IS
-- MM
-- MM
CONSTANT
c_mm_file_reg_bsn_source_v2
:
STRING
:
=
mmf_unb_file_prefix
(
c_unb_nr
,
c_node_nr
)
&
"REG_BSN_SOURCE_V2"
;
CONSTANT
c_mm_file_reg_bsn_source_v2
:
STRING
:
=
mmf_unb_file_prefix
(
c_unb_nr
,
c_node_nr
)
&
"REG_BSN_SOURCE_V2"
;
CONSTANT
c_mm_file_reg_crosslets_info
:
STRING
:
=
mmf_unb_file_prefix
(
c_unb_nr
,
c_node_nr
)
&
"REG_CROSSLETS_INFO"
;
CONSTANT
c_mm_file_reg_nof_crosslets
:
STRING
:
=
mmf_unb_file_prefix
(
c_unb_nr
,
c_node_nr
)
&
"REG_NOF_CROSSLETS"
;
CONSTANT
c_mm_file_reg_stat_enable_xst
:
STRING
:
=
mmf_unb_file_prefix
(
c_unb_nr
,
c_node_nr
)
&
"REG_STAT_ENABLE_XST"
;
CONSTANT
c_mm_file_reg_stat_enable_xst
:
STRING
:
=
mmf_unb_file_prefix
(
c_unb_nr
,
c_node_nr
)
&
"REG_STAT_ENABLE_XST"
;
CONSTANT
c_mm_file_reg_bsn_sync_scheduler_xsub
:
STRING
:
=
mmf_unb_file_prefix
(
c_unb_nr
,
c_node_nr
)
&
"REG_BSN_SYNC_SCHEDULER_XSUB"
;
CONSTANT
c_mm_file_reg_bsn_sync_scheduler_xsub
:
STRING
:
=
mmf_unb_file_prefix
(
c_unb_nr
,
c_node_nr
)
&
"REG_BSN_SYNC_SCHEDULER_XSUB"
;
...
@@ -223,19 +221,6 @@ BEGIN
...
@@ -223,19 +221,6 @@ BEGIN
WAIT
FOR
1
us
;
WAIT
FOR
1
us
;
pps_rst
<=
'0'
;
pps_rst
<=
'0'
;
----------------------------------------------------------------------------
-- Crosslets Info
----------------------------------------------------------------------------
mmf_mm_bus_wr
(
c_mm_file_reg_nof_crosslets
,
0
,
7
,
tb_clk
);
-- nof crosslets offset
mmf_mm_bus_wr
(
c_mm_file_reg_crosslets_info
,
0
,
0
,
tb_clk
);
-- offset
mmf_mm_bus_wr
(
c_mm_file_reg_crosslets_info
,
1
,
1
,
tb_clk
);
-- offset
mmf_mm_bus_wr
(
c_mm_file_reg_crosslets_info
,
2
,
2
,
tb_clk
);
-- offset
mmf_mm_bus_wr
(
c_mm_file_reg_crosslets_info
,
3
,
3
,
tb_clk
);
-- offset
mmf_mm_bus_wr
(
c_mm_file_reg_crosslets_info
,
4
,
4
,
tb_clk
);
-- offset
mmf_mm_bus_wr
(
c_mm_file_reg_crosslets_info
,
5
,
5
,
tb_clk
);
-- offset
mmf_mm_bus_wr
(
c_mm_file_reg_crosslets_info
,
6
,
6
,
tb_clk
);
-- offset
mmf_mm_bus_wr
(
c_mm_file_reg_crosslets_info
,
15
,
7
,
tb_clk
);
-- stepsize
----------------------------------------------------------------------------
----------------------------------------------------------------------------
-- Enable xsub
-- Enable xsub
----------------------------------------------------------------------------
----------------------------------------------------------------------------
...
@@ -264,16 +249,16 @@ BEGIN
...
@@ -264,16 +249,16 @@ BEGIN
-------------------------------------------------------------------------
-------------------------------------------------------------------------
-- Verify proper DUT 1GbE offload output using Ethernet packet statistics
-- Verify proper DUT 1GbE offload output using Ethernet packet statistics
-------------------------------------------------------------------------
-------------------------------------------------------------------------
--
u_eth_statistics : ENTITY eth_lib.eth_statistics
u_eth_statistics
:
ENTITY
eth_lib
.
eth_statistics
--
GENERIC MAP (
GENERIC
MAP
(
--
g_runtime_nof_packets => c_eth_check_nof_packets,
g_runtime_nof_packets
=>
c_eth_check_nof_packets
,
--
g_runtime_timeout => c_eth_runtime_timeout,
g_runtime_timeout
=>
c_eth_runtime_timeout
,
--
g_check_nof_valid => TRUE,
g_check_nof_valid
=>
TRUE
,
--
g_check_nof_valid_ref => c_eth_check_nof_valid
g_check_nof_valid_ref
=>
c_eth_check_nof_valid
--
)
)
--
PORT MAP (
PORT
MAP
(
--
eth_serial_in => eth_txp(0),
eth_serial_in
=>
eth_txp
(
0
),
--
tb_end => eth_done
tb_end
=>
eth_done
--
);
);
END
tb
;
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