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
a63a4426
Commit
a63a4426
authored
4 years ago
by
Reinier van der Walle
Browse files
Options
Downloads
Patches
Plain Diff
Removed measured value comparison.
parent
8e5756a7
Branches
Branches containing commit
No related tags found
2 merge requests
!100
Removed text for XSub that is now written in Confluence Subband correlator...
,
!48
Resolve L2SDP-133
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.vhd
+0
-4
0 additions, 4 deletions
...2_unb2b_filterbank/tb/vhdl/tb_lofar2_unb2b_filterbank.vhd
with
0 additions
and
4 deletions
applications/lofar2/designs/lofar2_unb2b_filterbank/tb/vhdl/tb_lofar2_unb2b_filterbank.vhd
+
0
−
4
View file @
a63a4426
...
@@ -108,7 +108,6 @@ ARCHITECTURE tb OF tb_lofar2_unb2b_filterbank IS
...
@@ -108,7 +108,6 @@ ARCHITECTURE tb OF tb_lofar2_unb2b_filterbank IS
CONSTANT
c_exp_sp_subband_power_ratio
:
REAL
:
=
1
.
0
/
8
.
0
;
-- depends on internal WPFB quantization and FIR coefficients
CONSTANT
c_exp_sp_subband_power_ratio
:
REAL
:
=
1
.
0
/
8
.
0
;
-- depends on internal WPFB quantization and FIR coefficients
CONSTANT
c_exp_sp_subband_power_sum_ratio
:
REAL
:
=
c_exp_sp_subband_power_ratio
;
-- because all sinus power is expected in one subband
CONSTANT
c_exp_sp_subband_power_sum_ratio
:
REAL
:
=
c_exp_sp_subband_power_ratio
;
-- because all sinus power is expected in one subband
CONSTANT
c_exp_subband_power_sp_0
:
REAL
:
=
c_exp_wg_power_sp_0
*
c_exp_sp_subband_power_ratio
;
CONSTANT
c_exp_subband_power_sp_0
:
REAL
:
=
c_exp_wg_power_sp_0
*
c_exp_sp_subband_power_ratio
;
CONSTANT
c_measured_subband_power_sp_0
:
REAL
:
=
17016589184
.
0
;
-- obtained from Wave window
TYPE
t_real_arr
IS
ARRAY
(
INTEGER
RANGE
<>
)
OF
REAL
;
TYPE
t_real_arr
IS
ARRAY
(
INTEGER
RANGE
<>
)
OF
REAL
;
TyPE
t_slv_64_subbands_arr
IS
ARRAY
(
INTEGER
RANGE
<>
)
OF
t_slv_64_arr
(
0
TO
c_sdp_N_sub
);
TyPE
t_slv_64_subbands_arr
IS
ARRAY
(
INTEGER
RANGE
<>
)
OF
t_slv_64_arr
(
0
TO
c_sdp_N_sub
);
...
@@ -404,9 +403,6 @@ BEGIN
...
@@ -404,9 +403,6 @@ BEGIN
IF
v_sp_power_sum_0
>
0
.
0
THEN
ASSERT
sp_subband_power_0
>
c_lo_factor
*
c_exp_subband_power_sp_0
REPORT
"Wrong subband power for SP 0"
SEVERITY
ERROR
;
END
IF
;
IF
v_sp_power_sum_0
>
0
.
0
THEN
ASSERT
sp_subband_power_0
>
c_lo_factor
*
c_exp_subband_power_sp_0
REPORT
"Wrong subband power for SP 0"
SEVERITY
ERROR
;
END
IF
;
IF
v_sp_power_sum_0
>
0
.
0
THEN
ASSERT
sp_subband_power_0
<
c_hi_factor
*
c_exp_subband_power_sp_0
REPORT
"Wrong subband power for SP 0"
SEVERITY
ERROR
;
END
IF
;
IF
v_sp_power_sum_0
>
0
.
0
THEN
ASSERT
sp_subband_power_0
<
c_hi_factor
*
c_exp_subband_power_sp_0
REPORT
"Wrong subband power for SP 0"
SEVERITY
ERROR
;
END
IF
;
-- verify expected subband power based on earlier simulation of exactly measurement of subband power
ASSERT
sp_subband_power_0
=
c_measured_subband_power_sp_0
REPORT
"Wrong exact subband power for SP 0"
SEVERITY
ERROR
;
-- view c_exp_sp_subband_power_ratio in Wave window
-- view c_exp_sp_subband_power_ratio in Wave window
IF
v_sp_power_sum_0
>
0
.
0
THEN
sp_subband_power_ratio_0
<=
sp_subband_power_0
/
v_sp_power_sum_0
;
END
IF
;
IF
v_sp_power_sum_0
>
0
.
0
THEN
sp_subband_power_ratio_0
<=
sp_subband_power_0
/
v_sp_power_sum_0
;
END
IF
;
...
...
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