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
219125ab
Commit
219125ab
authored
2 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Use c_mon_sync_latency to account for sync_reg2 pipeline in dp_bsn_monitor_v2.
parent
fef816dd
No related branches found
No related tags found
1 merge request
!288
Resolve L2SDP-836
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/base/dp/tb/vhdl/tb_dp_bsn_monitor_v2.vhd
+4
-2
4 additions, 2 deletions
libraries/base/dp/tb/vhdl/tb_dp_bsn_monitor_v2.vhd
with
4 additions
and
2 deletions
libraries/base/dp/tb/vhdl/tb_dp_bsn_monitor_v2.vhd
+
4
−
2
View file @
219125ab
...
...
@@ -58,7 +58,9 @@ ARCHITECTURE tb OF tb_dp_bsn_monitor_v2 IS
CONSTANT
c_sync_timeout
:
NATURAL
:
=
c_frame_len
*
c_sync_period
;
CONSTANT
c_nof_repeat
:
NATURAL
:
=
g_nof_sync
*
c_sync_period
+
1
;
CONSTANT
c_ref_sync_latency
:
NATURAL
:
=
7
;
CONSTANT
c_mon_sync_latency
:
NATURAL
:
=
1
;
-- due to sync_reg2 in dp_bsn_monitor_v2
CONSTANT
c_exp_sync_latency
:
NATURAL
:
=
c_ref_sync_latency
+
c_mon_sync_latency
;
-- Error control
CONSTANT
c_skip_sync_nr
:
INTEGER
:
=
-1
;
-- use e.g. 5 >= 0 to introduce a sync timeout at that sync interval 5 (causes missing sinc error by proc_dp_verify_sync), use -1 to disable skipping a sync
CONSTANT
c_nof_err
:
NATURAL
:
=
2
;
-- <= c_sync_period -- introduce frame errors
...
...
@@ -187,7 +189,7 @@ BEGIN
expected_nof_sop
<=
TO_UVEC
(
c_sync_period
,
c_word_w
);
expected_nof_err
<=
TO_UVEC
(
c_nof_err
,
c_word_w
);
expected_nof_valid
<=
TO_UVEC
(
c_frame_len
*
c_sync_period
,
c_word_w
);
expected_latency
<=
TO_UVEC
(
c_
ref
_sync_latency
,
c_word_w
);
expected_latency
<=
TO_UVEC
(
c_
exp
_sync_latency
,
c_word_w
);
------------------------------------------------------------------------------
-- SISO FLOW CONTROL GENERATION
...
...
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