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
a5c4c75e
Commit
a5c4c75e
authored
8 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Use run_pfir.m instead of one_pfb.m to have specific script for ppf HDL verification.
parent
13506df7
No related branches found
No related tags found
No related merge requests found
Changes
161
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/dsp/filter/tb/vhdl/tb_tb_fil_ppf_wide_file_data.vhd
+6
-6
6 additions, 6 deletions
...aries/dsp/filter/tb/vhdl/tb_tb_fil_ppf_wide_file_data.vhd
with
6 additions
and
6 deletions
libraries/dsp/filter/tb/vhdl/tb_tb_fil_ppf_wide_file_data.vhd
+
6
−
6
View file @
a5c4c75e
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
-- Purpose: Multi-testbench for fil_ppf_wide using file data
-- Purpose: Multi-testbench for fil_ppf_wide using file data
-- Description:
-- Description:
-- Verify fil_ppf_wide using coefficients and data generated by
-- Verify fil_ppf_wide using coefficients and data generated by
-- Matlab $RADIOHDL/applications/apertif/matlab/
one
_pf
b
.m
-- Matlab $RADIOHDL/applications/apertif/matlab/
run
_pf
ir
.m
--
--
-- Usage:
-- Usage:
-- > as 4
-- > as 4
...
@@ -40,9 +40,9 @@ ARCHITECTURE tb OF tb_tb_fil_ppf_wide_file_data IS
...
@@ -40,9 +40,9 @@ ARCHITECTURE tb OF tb_tb_fil_ppf_wide_file_data IS
CONSTANT
c_pipeline
:
t_fil_ppf_pipeline
:
=
(
1
,
1
,
1
,
1
,
1
,
1
,
0
);
CONSTANT
c_pipeline
:
t_fil_ppf_pipeline
:
=
(
1
,
1
,
1
,
1
,
1
,
1
,
0
);
CONSTANT
c_coeff_prefix
:
string
:
=
"hex/
one
_pf
b
_m_pfir_coeff_fircls1"
;
CONSTANT
c_coeff_prefix
:
string
:
=
"hex/
run
_pf
ir
_m_pfir_coeff_fircls1"
;
CONSTANT
c_data
:
string
:
=
"data/
one
_pf
b
_m_sinusoid_chirp_8b_16taps_128points_16b_16b.dat"
;
-- coefs, input and output data for 1 stream
CONSTANT
c_data
:
string
:
=
"data/
run
_pf
ir
_m_sinusoid_chirp_8b_16taps_128points_16b_16b.dat"
;
-- coefs, input and output data for 1 stream
CONSTANT
c_data15
:
string
:
=
"data/
one
_pf
b
_m_sinusoid_chirp_8b_15taps_128points_16b_16b.dat"
;
-- coefs, input and output data for 1 stream
CONSTANT
c_data15
:
string
:
=
"data/
run
_pf
ir
_m_sinusoid_chirp_8b_15taps_128points_16b_16b.dat"
;
-- coefs, input and output data for 1 stream
SIGNAL
tb_end
:
STD_LOGIC
:
=
'0'
;
-- declare tb_end to avoid 'No objects found' error on 'when -label tb_end'
SIGNAL
tb_end
:
STD_LOGIC
:
=
'0'
;
-- declare tb_end to avoid 'No objects found' error on 'when -label tb_end'
...
@@ -74,8 +74,8 @@ BEGIN
...
@@ -74,8 +74,8 @@ BEGIN
-- -- does not remove any of the data in order to be able to verify with the original coefficients values.
-- -- does not remove any of the data in order to be able to verify with the original coefficients values.
-- -- coef_dat_w : natural; -- = 16, data width of the FIR coefficients
-- -- coef_dat_w : natural; -- = 16, data width of the FIR coefficients
-- -- end record;
-- -- end record;
--g_coefs_file_prefix : string := "hex/
one
_pf
b
_m_pfir_coeff_fircls1";
--g_coefs_file_prefix : string := "hex/
run
_pf
ir
_m_pfir_coeff_fircls1";
--g_data_file : string := "data/
one
_pf
b
_m_sinusoid_chirp_8b_16taps_128points_16b_16b.dat"; -- coefs, input and output data for 1 stream
--g_data_file : string := "data/
run
_pf
ir
_m_sinusoid_chirp_8b_16taps_128points_16b_16b.dat"; -- coefs, input and output data for 1 stream
--g_data_file_nof_lines : natural := 25600; -- number of lines with input data that is available in the g_data_file
--g_data_file_nof_lines : natural := 25600; -- number of lines with input data that is available in the g_data_file
--g_data_file_nof_read : natural := 5000; -- number of lines with input data to read and simulate, must be <= g_data_file_nof_lines
--g_data_file_nof_read : natural := 5000; -- number of lines with input data to read and simulate, must be <= g_data_file_nof_lines
--g_enable_in_val_gaps : boolean := FALSE
--g_enable_in_val_gaps : boolean := FALSE
...
...
This diff is collapsed.
Click to expand it.
Prev
1
…
5
6
7
8
9
Next
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