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
281ebdd2
Commit
281ebdd2
authored
3 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Improved comment.
parent
12f74f7a
No related branches found
No related tags found
1 merge request
!132
Renamed proc_dp_verify_sync_v2() into overloaded proc_dp_verify_sync() and...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/base/dp/src/vhdl/dp_bsn_sync_interval.vhd
+8
-8
8 additions, 8 deletions
libraries/base/dp/src/vhdl/dp_bsn_sync_interval.vhd
with
8 additions
and
8 deletions
libraries/base/dp/src/vhdl/dp_bsn_sync_interval.vhd
+
8
−
8
View file @
281ebdd2
...
...
@@ -31,13 +31,13 @@
-- because it then starts at any BSN, but that is not synchronous between
-- FPGAs.
-- * ctrl_interval_size:
-- The
period of the
output sync interval is programmable via
--
ctrl_interval_size. The
ctrl_interval_size is the number data samples
--
per output sync interval,
so an integer multiple sample periods. The
--
g_block_size is the number of
data samples per block.
-- The output sync interval is programmable via
ctrl_interval_size. The
-- ctrl_interval_size is the number data samples
per output sync interval,
-- so an integer multiple sample periods. The
g_block_size is the number of
-- data samples per block.
-- The output sync intervals are controlled such that on average the number
-- of blocks per sync interval is nof_blk = ctrl_interval_size /
g_block_size,
-- also when they are not integer dividable.
-- of blocks per sync interval is nof_blk = ctrl_interval_size /
--
g_block_size,
also when they are not integer dividable.
-- * ctrl_enable:
-- The output is enabled at the ctrl_start_bsn when ctrl_enable = '1' and the
-- output is disable after an in_sosi.eop when ctrl_enable = '0'. If the
...
...
@@ -102,7 +102,7 @@ ENTITY dp_bsn_sync_interval IS
-- M&C
ctrl_enable
:
IN
STD_LOGIC
;
ctrl_enable_evt
:
IN
STD_LOGIC
;
ctrl_interval_size
:
IN
NATURAL
;
-- = number of data valid per output sync interval
ctrl_interval_size
:
IN
NATURAL
;
ctrl_start_bsn
:
IN
STD_LOGIC_VECTOR
(
g_bsn_w
-1
DOWNTO
0
)
:
=
(
OTHERS
=>
'0'
);
mon_input_current_bsn
:
OUT
STD_LOGIC_VECTOR
(
g_bsn_w
-1
DOWNTO
0
);
mon_input_bsn_at_sync
:
OUT
STD_LOGIC_VECTOR
(
g_bsn_w
-1
DOWNTO
0
);
...
...
@@ -163,7 +163,7 @@ BEGIN
END
PROCESS
;
p_comb
:
PROCESS
(
r
,
ctrl_enable
,
ctrl_enable_evt
,
ctrl_interval_size
,
ctrl_start_bsn
,
in_sosi
)
VARIABLE
v
:
t_reg
;
VARIABLE
v
:
t_reg
;
VARIABLE
v_size
:
NATURAL
;
BEGIN
v
:
=
r
;
...
...
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