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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
2ec856c5
Commit
2ec856c5
authored
3 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Added more comment to clarify signals.
parent
133cec37
No related branches found
No related tags found
1 merge request
!263
Resolve L2SDP-755
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/base/dp/src/vhdl/dp_bsn_source_v2.vhd
+10
-3
10 additions, 3 deletions
libraries/base/dp/src/vhdl/dp_bsn_source_v2.vhd
with
10 additions
and
3 deletions
libraries/base/dp/src/vhdl/dp_bsn_source_v2.vhd
+
10
−
3
View file @
2ec856c5
...
@@ -29,9 +29,16 @@
...
@@ -29,9 +29,16 @@
-- sop and eop will be active.
-- sop and eop will be active.
-- Alternatively, one can assert dp_on while dp_on_pps is high to
-- Alternatively, one can assert dp_on while dp_on_pps is high to
-- start the data path on the next PPS.
-- start the data path on the next PPS.
-- The dp_on is asynchronous. The dp_bsn_source_v2 takes care that
-- src_out.valid starts with a src_out.sop and that src_out.valid can
-- only go low after a src_out.eop, to ensure that src_out only produces
-- complete sop-eop blocks that enter the subsequent processing.
-- The bs_start is active at the first src_out.sop after dp_on went high.
-- Remarks:
-- Remarks:
--
Starting the data path is only possible from the dp_off state, so one
--
.
Starting the data path is only possible from the dp_off state, so one
-- has to disable (dp_on='0') the data path before restarting it.
-- has to disable (dp_on='0') the data path before restarting it.
-- . Effectively dp_on_status = src_out.valid, because when the BSN source
-- is on, then src_out.valid = '1' at every clk cycle.
--
--
-- author : P.Donker okt. 2020, added bsn_time_offset
-- author : P.Donker okt. 2020, added bsn_time_offset
--
--
...
@@ -57,8 +64,8 @@ ENTITY dp_bsn_source_v2 IS
...
@@ -57,8 +64,8 @@ ENTITY dp_bsn_source_v2 IS
dp_on
:
IN
STD_LOGIC
;
dp_on
:
IN
STD_LOGIC
;
dp_on_pps
:
IN
STD_LOGIC
;
dp_on_pps
:
IN
STD_LOGIC
;
dp_on_status
:
OUT
STD_LOGIC
;
dp_on_status
:
OUT
STD_LOGIC
;
-- = src_out.valid
bs_restart
:
OUT
STD_LOGIC
;
bs_restart
:
OUT
STD_LOGIC
;
-- = src_out.sop for first sop after dp_on went high
nof_clk_per_sync
:
IN
STD_LOGIC_VECTOR
(
c_word_w
-1
DOWNTO
0
)
:
=
TO_UVEC
(
g_nof_clk_per_sync
,
c_word_w
);
nof_clk_per_sync
:
IN
STD_LOGIC_VECTOR
(
c_word_w
-1
DOWNTO
0
)
:
=
TO_UVEC
(
g_nof_clk_per_sync
,
c_word_w
);
bsn_init
:
IN
STD_LOGIC_VECTOR
(
g_bsn_w
-1
DOWNTO
0
)
:
=
(
OTHERS
=>
'0'
);
bsn_init
:
IN
STD_LOGIC_VECTOR
(
g_bsn_w
-1
DOWNTO
0
)
:
=
(
OTHERS
=>
'0'
);
...
...
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