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
424f943e
Commit
424f943e
authored
4 years ago
by
Pieter Donker
Browse files
Options
Downloads
Patches
Plain Diff
L2SDP-246
, done
parent
1d080403
No related branches found
No related tags found
2 merge requests
!100
Removed text for XSub that is now written in Confluence Subband correlator...
,
!83
Resolve L2SDP-246
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
applications/lofar2/designs/lofar2_unb2b_filterbank/tb/vhdl/tb_lofar2_unb2b_filterbank_sst_offload.vhd
+7
-5
7 additions, 5 deletions
...erbank/tb/vhdl/tb_lofar2_unb2b_filterbank_sst_offload.vhd
with
7 additions
and
5 deletions
applications/lofar2/designs/lofar2_unb2b_filterbank/tb/vhdl/tb_lofar2_unb2b_filterbank_sst_offload.vhd
+
7
−
5
View file @
424f943e
...
...
@@ -62,11 +62,11 @@ ARCHITECTURE tb OF tb_lofar2_unb2b_filterbank_sst_offload IS
CONSTANT
c_wpfb_sim
:
t_wpfb
:
=
func_wpfb_set_nof_block_per_sync
(
c_sdp_wpfb_subbands
,
c_nof_block_per_sync
);
-- WG
CONSTANT
c_full_scale_ampl
:
REAL
:
=
REAL
(
2
**
(
18-1
)
-
1
);
-- = full scale of WG
CONSTANT
c_full_scale_ampl
:
REAL
:
=
REAL
(
2
**
(
18-1
)
-
1
);
-- = full scale of WG
CONSTANT
c_bsn_start_wg
:
NATURAL
:
=
2
;
-- start WG at this BSN to instead of some BSN, to avoid mismatches in exact expected data values
CONSTANT
c_ampl_sp_0
:
NATURAL
:
=
2
**
(
c_sdp_W_adc
-1
)
/
2
;
-- in number of lsb
CONSTANT
c_wg_subband_freq_unit
:
REAL
:
=
c_diag_wg_freq_unit
/
REAL
(
c_sdp_N_fft
);
-- subband freq = Fs/1024 = 200 MSps/1024 = 195312.5 Hz sinus
CONSTANT
c_wg_freq_offset
:
REAL
:
=
0
.
0
/
11
.
0
;
-- in freq_unit
CONSTANT
c_ampl_sp_0
:
NATURAL
:
=
2
**
(
c_sdp_W_adc
-1
)
/
2
;
-- in number of lsb
CONSTANT
c_wg_subband_freq_unit
:
REAL
:
=
c_diag_wg_freq_unit
/
REAL
(
c_sdp_N_fft
);
-- subband freq = Fs/1024 = 200 MSps/1024 = 195312.5 Hz sinus
CONSTANT
c_wg_freq_offset
:
REAL
:
=
0
.
0
/
11
.
0
;
-- in freq_unit
CONSTANT
c_subband_sp_0
:
REAL
:
=
102
.
0
;
-- Select subband at index 102 = 102/1024 * 200MHz = 19.921875 MHz
CONSTANT
c_wg_ampl_lsb
:
REAL
:
=
c_diag_wg_ampl_unit
/
c_full_scale_ampl
;
-- amplitude in number of LSbit resolution steps
...
...
@@ -185,7 +185,9 @@ BEGIN
JESD204B_SYNC_N
=>
jesd204b_sync_n
);
-- MM slave accesses via file IO
---------------------------------------------------------------------------------------------------------------------
-- Stimuli
-- MM slave accesses via file IO
tb_clk
<=
(
NOT
tb_clk
)
OR
tb_end
AFTER
c_tb_clk_period
/
2
;
-- Testbench MM clock
p_mm_stimuli
:
PROCESS
...
...
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