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
900de3c8
Commit
900de3c8
authored
2 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Register ref_sync to ease timing closure for ref_sync fanout to (many) dp_bsn_monitor_v2 instances.
parent
b434adf9
Branches
Branches containing commit
No related tags found
1 merge request
!283
Resolve L2SDP-696
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/base/dp/src/vhdl/dp_bsn_monitor_v2.vhd
+7
-3
7 additions, 3 deletions
libraries/base/dp/src/vhdl/dp_bsn_monitor_v2.vhd
with
7 additions
and
3 deletions
libraries/base/dp/src/vhdl/dp_bsn_monitor_v2.vhd
+
7
−
3
View file @
900de3c8
...
...
@@ -116,6 +116,7 @@ ARCHITECTURE rtl OF dp_bsn_monitor_v2 IS
SIGNAL
nof_valid
:
STD_LOGIC_VECTOR
(
c_cnt_valid_w
-1
DOWNTO
0
);
SIGNAL
cnt_latency
:
STD_LOGIC_VECTOR
(
c_cnt_latency_w
-1
DOWNTO
0
);
SIGNAL
latency
:
STD_LOGIC_VECTOR
(
c_cnt_latency_w
-1
DOWNTO
0
);
SIGNAL
ref_sync_reg
:
STD_LOGIC
:
=
'0'
;
SIGNAL
i_mon_ready_stable
:
STD_LOGIC
;
SIGNAL
i_mon_xon_stable
:
STD_LOGIC
;
...
...
@@ -167,7 +168,10 @@ BEGIN
nof_err
<=
cnt_err
;
nof_valid
<=
cnt_valid
;
latency
<=
cnt_latency
;
-- Register ref_sync to ease timing closure for ref_sync fanout to (many) dp_bsn_monitor_v2 instances
ref_sync_reg
<=
ref_sync
WHEN
rising_edge
(
clk
);
u_sync_timeout_cnt
:
ENTITY
common_lib
.
common_counter
GENERIC
MAP
(
g_width
=>
c_sync_timeout_w
...
...
@@ -315,7 +319,7 @@ BEGIN
load
=>
TO_SVEC
(
1
,
c_cnt_valid_w
),
count
=>
cnt_valid
);
u_cnt_latency
:
ENTITY
common_lib
.
common_counter
GENERIC
MAP
(
g_width
=>
c_cnt_latency_w
...
...
@@ -323,7 +327,7 @@ BEGIN
PORT
MAP
(
rst
=>
rst
,
clk
=>
clk
,
cnt_clr
=>
ref_sync
,
cnt_clr
=>
ref_sync
_reg
,
cnt_en
=>
'1'
,
count
=>
cnt_latency
);
...
...
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