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
dfc521d2
"readme.md" did not exist on "7a4371be12e62548e491a6242ca78fdc9a1fba9a"
Commit
dfc521d2
authored
9 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Corrected path to data. Tb self checking result is not up to date.
parent
c11af122
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/dsp/fft/tb/vhdl/tb_fft_wide_unit.vhd
+18
-18
18 additions, 18 deletions
libraries/dsp/fft/tb/vhdl/tb_fft_wide_unit.vhd
with
18 additions
and
18 deletions
libraries/dsp/fft/tb/vhdl/tb_fft_wide_unit.vhd
+
18
−
18
View file @
dfc521d2
...
@@ -113,33 +113,33 @@ architecture tb of tb_fft_wide_unit is
...
@@ -113,33 +113,33 @@ architecture tb of tb_fft_wide_unit is
constant
c_normal
:
BOOLEAN
:
=
TRUE
;
constant
c_normal
:
BOOLEAN
:
=
TRUE
;
-- input from uniform noise file created automatically by MATLAB testFFT_input.m
-- input from uniform noise file created automatically by MATLAB testFFT_input.m
constant
c_noiseInputFile
:
string
:
=
"
../../../../rTwoSDF/tb/
data/test/in/uniNoise_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
c_twiddle_w
)
&
"_in.txt"
;
constant
c_noiseInputFile
:
string
:
=
"data/test/in/uniNoise_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
c_twiddle_w
)
&
"_in.txt"
;
constant
c_noiseGoldenFile
:
string
:
=
"
../../../../rTwoSDF/tb/
data/test/out/uniNoise_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
c_twiddle_w
)
&
"_tb"
&
natural
'image
(
wTyp
'length
)
&
"_out.txt"
;
constant
c_noiseGoldenFile
:
string
:
=
"data/test/out/uniNoise_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
c_twiddle_w
)
&
"_tb"
&
natural
'image
(
wTyp
'length
)
&
"_out.txt"
;
constant
c_noiseOutputFile
:
string
:
=
"
../../../../rTwoSDF/tb/
data/test/out/uniNoise_out.txt"
;
constant
c_noiseOutputFile
:
string
:
=
"data/test/out/uniNoise_out.txt"
;
-- input from sinus file. Data is from diag_wg_wideband.
-- input from sinus file. Data is from diag_wg_wideband.
constant
c_sinusInputFile
:
string
:
=
"
../../../../rTwoSDF/tb/
data/test/in/sinus_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
g_fft
.
in_dat_w
)
&
"_in.txt"
;
constant
c_sinusInputFile
:
string
:
=
"data/test/in/sinus_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
g_fft
.
in_dat_w
)
&
"_in.txt"
;
constant
c_sinusGoldenFile
:
string
:
=
"
../../../../rTwoSDF/tb/
data/test/out/sinus_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
g_fft
.
in_dat_w
)
&
"_tb"
&
natural
'image
(
wTyp
'length
)
&
"_out.txt"
;
constant
c_sinusGoldenFile
:
string
:
=
"data/test/out/sinus_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
g_fft
.
in_dat_w
)
&
"_tb"
&
natural
'image
(
wTyp
'length
)
&
"_out.txt"
;
constant
c_sinusOutputFile
:
string
:
=
"
../../../../rTwoSDF/tb/
data/test/out/sinus_out.txt"
;
constant
c_sinusOutputFile
:
string
:
=
"data/test/out/sinus_out.txt"
;
-- input from combined sinus with noise file. Real part is sinus, imaginary part is noise
-- input from combined sinus with noise file. Real part is sinus, imaginary part is noise
constant
c_sinNoiseInputFile
:
string
:
=
"
../../../../rTwoSDF/tb/
data/test/in/sinNoise_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
g_fft
.
in_dat_w
)
&
"_in.txt"
;
constant
c_sinNoiseInputFile
:
string
:
=
"data/test/in/sinNoise_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
g_fft
.
in_dat_w
)
&
"_in.txt"
;
constant
c_sinNoiseGoldenFile
:
string
:
=
"
../../../../rTwoSDF/tb/
data/test/out/sinNoise_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
g_fft
.
in_dat_w
)
&
"_tb"
&
natural
'image
(
wTyp
'length
)
&
"_out.txt"
;
constant
c_sinNoiseGoldenFile
:
string
:
=
"data/test/out/sinNoise_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
g_fft
.
in_dat_w
)
&
"_tb"
&
natural
'image
(
wTyp
'length
)
&
"_out.txt"
;
constant
c_sinNoiseOutputFile
:
string
:
=
"
../../../../rTwoSDF/tb/
data/test/out/sinNoise_out.txt"
;
constant
c_sinNoiseOutputFile
:
string
:
=
"data/test/out/sinNoise_out.txt"
;
-- input from impulse files
-- input from impulse files
constant
c_impulseInputFile
:
string
:
=
"
../../../../rTwoSDF/tb/
data/impulse_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
c_twiddle_w
)
&
"_in.txt"
;
constant
c_impulseInputFile
:
string
:
=
"data/impulse_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
c_twiddle_w
)
&
"_in.txt"
;
constant
c_impulseGoldenFile
:
string
:
=
"
../../../../rTwoSDF/tb/
data/impulse_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
c_twiddle_w
)
&
"_out.txt"
;
constant
c_impulseGoldenFile
:
string
:
=
"data/impulse_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
c_twiddle_w
)
&
"_out.txt"
;
constant
c_impulseOutputFile
:
string
:
=
"
../../../../rTwoSDF/tb/
data/impulse_out.txt"
;
constant
c_impulseOutputFile
:
string
:
=
"data/impulse_out.txt"
;
-- input from 2xreal impulse files
-- input from 2xreal impulse files
constant
c_2xrealImpulseInputFile
:
string
:
=
"
../../../../rTwoSDF/tb/
data/2xreal_impulse_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
c_twiddle_w
)
&
"_in.txt"
;
constant
c_2xrealImpulseInputFile
:
string
:
=
"data/2xreal_impulse_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
c_twiddle_w
)
&
"_in.txt"
;
constant
c_2xrealImpulseGoldenFile
:
string
:
=
"
../../../../rTwoSDF/tb/
data/2xreal_impulse_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
c_twiddle_w
)
&
"_out.txt"
;
constant
c_2xrealImpulseGoldenFile
:
string
:
=
"data/2xreal_impulse_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
c_twiddle_w
)
&
"_out.txt"
;
constant
c_2xrealImpulseOutputFile
:
string
:
=
"
../../../../rTwoSDF/tb/
data/2xreal_impulse_out.txt"
;
constant
c_2xrealImpulseOutputFile
:
string
:
=
"data/2xreal_impulse_out.txt"
;
constant
c_2xrealNoiseGoldenFile
:
string
:
=
"
../../../../rTwoSDF/tb/
data/test/out/uniNoise_2xreal_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
c_twiddle_w
)
&
"_tb"
&
natural
'image
(
wTyp
'length
)
&
"_out.txt"
;
constant
c_2xrealNoiseGoldenFile
:
string
:
=
"data/test/out/uniNoise_2xreal_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
c_twiddle_w
)
&
"_tb"
&
natural
'image
(
wTyp
'length
)
&
"_out.txt"
;
constant
c_2xrealSinusGoldenFile
:
string
:
=
"
../../../../rTwoSDF/tb/
data/test/out/sinus_2xreal_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
g_fft
.
in_dat_w
)
&
"_tb"
&
natural
'image
(
wTyp
'length
)
&
"_out.txt"
;
constant
c_2xrealSinusGoldenFile
:
string
:
=
"data/test/out/sinus_2xreal_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
g_fft
.
in_dat_w
)
&
"_tb"
&
natural
'image
(
wTyp
'length
)
&
"_out.txt"
;
constant
c_2xrealSinNoiseGoldenFile
:
string
:
=
"
../../../../rTwoSDF/tb/
data/test/out/sinNoise_2xreal_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
g_fft
.
in_dat_w
)
&
"_tb"
&
natural
'image
(
wTyp
'length
)
&
"_out.txt"
;
constant
c_2xrealSinNoiseGoldenFile
:
string
:
=
"data/test/out/sinNoise_2xreal_p"
&
natural
'image
(
g_fft
.
nof_points
)
&
"_b"
&
natural
'image
(
g_fft
.
in_dat_w
)
&
"_tb"
&
natural
'image
(
wTyp
'length
)
&
"_out.txt"
;
-- determine active stimuli and result files
-- determine active stimuli and result files
constant
c_preSelImpulseInputFile
:
string
:
=
sel_a_b
(
g_use_2xreal_inputs
,
c_2xrealImpulseInputFile
,
c_impulseInputFile
);
constant
c_preSelImpulseInputFile
:
string
:
=
sel_a_b
(
g_use_2xreal_inputs
,
c_2xrealImpulseInputFile
,
c_impulseInputFile
);
...
...
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