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
c5602f5f
Commit
c5602f5f
authored
3 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into
L2SDP-215
parents
7169bc05
d41002ff
No related branches found
Branches containing commit
No related tags found
1 merge request
!188
Updated model/pfs_coeff_final.m, but preserved old FTF results for reference...
Pipeline
#23230
passed
3 years ago
Stage: simulation
Stage: synthesis
Stage: hardware
Pipeline: sdptr
#23231
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/dsp/fringe_stop/tb/vhdl/tb_mmf_fringe_stop_unit.vhd
+6
-0
6 additions, 0 deletions
...aries/dsp/fringe_stop/tb/vhdl/tb_mmf_fringe_stop_unit.vhd
with
6 additions
and
0 deletions
libraries/dsp/fringe_stop/tb/vhdl/tb_mmf_fringe_stop_unit.vhd
+
6
−
0
View file @
c5602f5f
...
...
@@ -255,23 +255,29 @@ BEGIN
mmf_mm_bus_rd
(
c_mm_file_ram_fringe_stop_step
,
0
,
rd_data
,
mm_clk
);
ASSERT
TO_UINT
(
rd_data
)
=
c_in_step2
REPORT
"Wrong first written step readback value, unexpected page swap"
SEVERITY
ERROR
;
REPORT
"MM done "
&
INTEGER
'IMAGE
(
g_tb_index
)
SEVERITY
NOTE
;
-------------------------------------------------------------------------
-- Test FS step for one phasor period
-------------------------------------------------------------------------
-- Wait for at least one fringe stop phase period
v_data
:
=
out_re
;
proc_common_wait_until_value
(
v_data
+
1
,
dp_clk
,
out_re
);
-- wait until out_re+1, initial (out_re, out_im) = (-c_in_amplitude, 0)
REPORT
"Phasor start "
&
INTEGER
'IMAGE
(
g_tb_index
)
SEVERITY
NOTE
;
tb_state
<=
"Phasor start "
;
proc_common_wait_until_evt
(
dp_clk
,
out_re
);
-- wait until out_re+1 changes
proc_common_wait_until_value
(
v_data
,
dp_clk
,
out_re
);
-- wait until out_re again
proc_common_wait_until_value
(
v_data
+
1
,
dp_clk
,
out_re
);
-- wait until out_re+1 again
REPORT
"Phasor end "
&
INTEGER
'IMAGE
(
g_tb_index
)
SEVERITY
NOTE
;
tb_state
<=
"Phasor end "
;
-- Wait some more sync intervals
proc_common_wait_some_cycles
(
dp_clk
,
c_in_sync_interval
*
3
);
REPORT
"tb_almost_end "
&
INTEGER
'IMAGE
(
g_tb_index
)
SEVERITY
NOTE
;
tb_almost_end
<=
'1'
;
proc_common_wait_some_cycles
(
dp_clk
,
10
);
REPORT
"tb_end "
&
INTEGER
'IMAGE
(
g_tb_index
)
SEVERITY
NOTE
;
tb_end
<=
'1'
;
END
IF
;
WAIT
;
...
...
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