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
6f3d7ad7
Commit
6f3d7ad7
authored
2 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Use fft_out_gain_w = 2b, to have W_fsub_gain = W_fft_proc = 5b.
parent
f0b2982c
No related branches found
Branches containing commit
No related tags found
1 merge request
!305
Resolve L2SDP-846
Pipeline
#42167
failed
2 years ago
Stage: simulation
Stage: synthesis
Stage: hardware
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
applications/lofar2/libraries/sdp/src/vhdl/sdp_pkg.vhd
+10
-3
10 additions, 3 deletions
applications/lofar2/libraries/sdp/src/vhdl/sdp_pkg.vhd
libraries/dsp/wpfb/src/vhdl/wpfb_pkg.vhd
+9
-1
9 additions, 1 deletion
libraries/dsp/wpfb/src/vhdl/wpfb_pkg.vhd
with
19 additions
and
4 deletions
applications/lofar2/libraries/sdp/src/vhdl/sdp_pkg.vhd
+
10
−
3
View file @
6f3d7ad7
...
@@ -99,7 +99,7 @@ PACKAGE sdp_pkg is
...
@@ -99,7 +99,7 @@ PACKAGE sdp_pkg is
CONSTANT
c_sdp_W_statistic
:
NATURAL
:
=
64
;
CONSTANT
c_sdp_W_statistic
:
NATURAL
:
=
64
;
CONSTANT
c_sdp_W_statistic_sz
:
NATURAL
:
=
2
;
-- = c_sdp_W_statistic / c_word_w
CONSTANT
c_sdp_W_statistic_sz
:
NATURAL
:
=
2
;
-- = c_sdp_W_statistic / c_word_w
CONSTANT
c_sdp_W_sub_weight
:
NATURAL
:
=
16
;
-- = w in s(w, p), s = signed
CONSTANT
c_sdp_W_sub_weight
:
NATURAL
:
=
16
;
-- = w in s(w, p), s = signed
CONSTANT
c_sdp_W_sub_weight_fraction
:
NATURAL
:
=
1
3
;
-- = p in s(w, p)
CONSTANT
c_sdp_W_sub_weight_fraction
:
NATURAL
:
=
1
4
;
-- = p in s(w, p)
CONSTANT
c_sdp_W_sub_weight_magnitude
:
NATURAL
:
=
c_sdp_W_sub_weight
-
c_sdp_W_sub_weight_fraction
-
1
;
-- = 2
CONSTANT
c_sdp_W_sub_weight_magnitude
:
NATURAL
:
=
c_sdp_W_sub_weight
-
c_sdp_W_sub_weight_fraction
-
1
;
-- = 2
CONSTANT
c_sdp_W_beamlet_scale
:
NATURAL
:
=
16
;
-- = w in u(w, p), u = unsigned
CONSTANT
c_sdp_W_beamlet_scale
:
NATURAL
:
=
16
;
-- = w in u(w, p), u = unsigned
CONSTANT
c_sdp_W_beamlet_scale_fraction
:
NATURAL
:
=
15
;
-- = p in u(w, p)
CONSTANT
c_sdp_W_beamlet_scale_fraction
:
NATURAL
:
=
15
;
-- = p in u(w, p)
...
@@ -169,11 +169,18 @@ PACKAGE sdp_pkg is
...
@@ -169,11 +169,18 @@ PACKAGE sdp_pkg is
-- . g_fft_out_gain_w = 1 (compensate for fil_backoff_w = 1)
-- . g_fft_out_gain_w = 1 (compensate for fil_backoff_w = 1)
-- . g_fft_stage_dat_w = 24
-- . g_fft_stage_dat_w = 24
-- . g_fft_guard_w = 1
-- . g_fft_guard_w = 1
--CONSTANT c_sdp_wpfb_subbands : t_wpfb :=
-- (1, c_sdp_N_fft, 0, c_sdp_P_pfb,
-- c_sdp_N_taps, 1, c_sdp_W_adc, 23, c_sdp_W_fir_coef,
-- true, false, true, 23, c_sdp_W_subband, 1, 24, 1, true, 54, c_sdp_W_statistic_sz, 195313,
-- c_fft_pipeline, c_fft_pipeline, c_fil_ppf_pipeline); -- = c_wpfb_lofar2_subbands_dts_18b
-- L2TS
CONSTANT
c_sdp_wpfb_subbands
:
t_wpfb
:
=
CONSTANT
c_sdp_wpfb_subbands
:
t_wpfb
:
=
(
1
,
c_sdp_N_fft
,
0
,
c_sdp_P_pfb
,
(
1
,
c_sdp_N_fft
,
0
,
c_sdp_P_pfb
,
c_sdp_N_taps
,
1
,
c_sdp_W_adc
,
23
,
c_sdp_W_fir_coef
,
c_sdp_N_taps
,
1
,
c_sdp_W_adc
,
23
,
c_sdp_W_fir_coef
,
true
,
false
,
true
,
23
,
c_sdp_W_subband
,
1
,
24
,
1
,
true
,
54
,
c_sdp_W_statistic_sz
,
195313
,
true
,
false
,
true
,
23
,
c_sdp_W_subband
,
2
,
24
,
1
,
true
,
54
,
c_sdp_W_statistic_sz
,
195313
,
c_fft_pipeline
,
c_fft_pipeline
,
c_fil_ppf_pipeline
);
-- = c_wpfb_lofar2_subbands_
d
ts_18b
c_fft_pipeline
,
c_fft_pipeline
,
c_fil_ppf_pipeline
);
-- = c_wpfb_lofar2_subbands_
l2
ts_18b
CONSTANT
c_sdp_wpfb_complex_subbands
:
t_wpfb
:
=
func_wpfb_map_real_input_wpfb_parameters_to_complex_input
(
c_sdp_wpfb_subbands
);
CONSTANT
c_sdp_wpfb_complex_subbands
:
t_wpfb
:
=
func_wpfb_map_real_input_wpfb_parameters_to_complex_input
(
c_sdp_wpfb_subbands
);
...
...
This diff is collapsed.
Click to expand it.
libraries/dsp/wpfb/src/vhdl/wpfb_pkg.vhd
+
9
−
1
View file @
6f3d7ad7
...
@@ -82,6 +82,8 @@ package wpfb_pkg is
...
@@ -82,6 +82,8 @@ package wpfb_pkg is
-- LOFAR2 subband filter
-- LOFAR2 subband filter
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-- Can use guard_w = 1, because fil_backoff_w = 1 already provides sufficient input margin
-- Fsub settings:
-- Fsub settings:
-- . Settings used on LTS and DTS until at least March 2022
-- . Settings used on LTS and DTS until at least March 2022
constant
c_wpfb_lofar2_subbands_lts_2021
:
t_wpfb
:
=
(
1
,
1024
,
0
,
6
,
constant
c_wpfb_lofar2_subbands_lts_2021
:
t_wpfb
:
=
(
1
,
1024
,
0
,
6
,
...
@@ -97,7 +99,7 @@ package wpfb_pkg is
...
@@ -97,7 +99,7 @@ package wpfb_pkg is
true
,
false
,
true
,
23
,
18
,
1
,
24
,
1
,
true
,
54
,
2
,
195313
,
true
,
false
,
true
,
23
,
18
,
1
,
24
,
1
,
true
,
54
,
2
,
195313
,
c_fft_pipeline
,
c_fft_pipeline
,
c_fil_ppf_pipeline
);
c_fft_pipeline
,
c_fft_pipeline
,
c_fil_ppf_pipeline
);
-- . Settings used
o
n
DTS
with fft_out_dat_w = 19b, to preserve FFT processing gain of 4.5 bits
-- . Settings used
i
n
tb_tb_verify_pfb_wg
with fft_out_dat_w = 19b, to preserve FFT processing gain of 4.5 bits
-- - use stage_dat_w = 25 --> fil_out_dat_w = fft_in_dat_w = 24
-- - use stage_dat_w = 25 --> fil_out_dat_w = fft_in_dat_w = 24
-- - with fft_out_dat_w = 19 --> stat_data_w = 2*19 + 18 = 56 b
-- - with fft_out_dat_w = 19 --> stat_data_w = 2*19 + 18 = 56 b
constant
c_wpfb_lofar2_subbands_dts_19b
:
t_wpfb
:
=
(
1
,
1024
,
0
,
6
,
constant
c_wpfb_lofar2_subbands_dts_19b
:
t_wpfb
:
=
(
1
,
1024
,
0
,
6
,
...
@@ -105,6 +107,12 @@ package wpfb_pkg is
...
@@ -105,6 +107,12 @@ package wpfb_pkg is
true
,
false
,
true
,
24
,
19
,
1
,
25
,
1
,
true
,
56
,
2
,
195313
,
true
,
false
,
true
,
24
,
19
,
1
,
25
,
1
,
true
,
56
,
2
,
195313
,
c_fft_pipeline
,
c_fft_pipeline
,
c_fil_ppf_pipeline
);
c_fft_pipeline
,
c_fft_pipeline
,
c_fil_ppf_pipeline
);
-- . Settings for L2TS with fft_out_gain_w = 2b, to have W_fsub_gain = W_fft_proc = 5b
constant
c_wpfb_lofar2_subbands_l2ts_18b
:
t_wpfb
:
=
(
1
,
1024
,
0
,
6
,
16
,
1
,
14
,
23
,
16
,
true
,
false
,
true
,
23
,
18
,
2
,
24
,
1
,
true
,
54
,
2
,
195313
,
c_fft_pipeline
,
c_fft_pipeline
,
c_fil_ppf_pipeline
);
constant
c_wpfb_lofar2_subbands
:
t_wpfb
:
=
c_wpfb_lofar2_subbands_dts_18b
;
constant
c_wpfb_lofar2_subbands
:
t_wpfb
:
=
c_wpfb_lofar2_subbands_dts_18b
;
-- The FFT output has more bits to be able to preserve the sensitivity of
-- The FFT output has more bits to be able to preserve the sensitivity of
...
...
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