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
75758da6
Commit
75758da6
authored
2 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Add func_wpfb_map_real_input_wpfb_parameters_to_complex_input().
parent
45d9ce3b
No related branches found
Branches containing commit
No related tags found
1 merge request
!289
Rename c_sdp_W_fsub_wg into c_sdp_W_local_oscillator. Use...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/dsp/wpfb/src/vhdl/wpfb_pkg.vhd
+13
-1
13 additions, 1 deletion
libraries/dsp/wpfb/src/vhdl/wpfb_pkg.vhd
with
13 additions
and
1 deletion
libraries/dsp/wpfb/src/vhdl/wpfb_pkg.vhd
+
13
−
1
View file @
75758da6
...
...
@@ -71,11 +71,13 @@ package wpfb_pkg is
end
record
;
-----------------------------------------------------------------------------
-- Map WPFB parameters
to FIL parameter and to FFT parameters
-- Map WPFB parameters
-----------------------------------------------------------------------------
function
func_wpfb_map_wpfb_parameters_to_fil_ppf
(
g_wpfb
:
t_wpfb
)
return
t_fil_ppf
;
function
func_wpfb_map_wpfb_parameters_to_fft
(
g_wpfb
:
t_wpfb
)
return
t_fft
;
function
func_wpfb_map_real_input_wpfb_parameters_to_complex_input
(
g_wpfb
:
t_wpfb
)
return
t_wpfb
;
-----------------------------------------------------------------------------
-- LOFAR2 subband filter
-----------------------------------------------------------------------------
...
...
@@ -286,6 +288,16 @@ package body wpfb_pkg is
return
c_fft
;
end
func_wpfb_map_wpfb_parameters_to_fft
;
function
func_wpfb_map_real_input_wpfb_parameters_to_complex_input
(
g_wpfb
:
t_wpfb
)
return
t_wpfb
is
variable
v_wpfb
:
t_wpfb
:
=
g_wpfb
;
begin
v_wpfb
.
nof_wb_streams
:
=
c_nof_complex
*
v_wpfb
.
nof_wb_streams
;
v_wpfb
.
use_separate
:
=
false
;
return
v_wpfb
;
end
func_wpfb_map_real_input_wpfb_parameters_to_complex_input
;
function
func_wpfb_subband_scale_w
(
wpfb
:
t_wpfb
)
return
natural
is
begin
return
wpfb
.
fft_out_dat_w
+
wpfb
.
fft_out_gain_w
-
(
wpfb
.
fil_in_dat_w
+
wpfb
.
fil_backoff_w
);
...
...
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