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
f5711477
Commit
f5711477
authored
3 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Added missing mon_input_bsn_at_sync field and corrected address_offsets.
parent
5b9dd580
No related branches found
No related tags found
2 merge requests
!148
L2SDP-495
,
!146
Prepared dp_bsn_align_v2.vhd (still empty) and mmp_, tb_ and tb_mmp_ files,...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/base/dp/dp.peripheral.yaml
+20
-10
20 additions, 10 deletions
libraries/base/dp/dp.peripheral.yaml
with
20 additions
and
10 deletions
libraries/base/dp/dp.peripheral.yaml
+
20
−
10
View file @
f5711477
...
...
@@ -216,26 +216,37 @@ peripherals:
mm_port_description
:
"
"
fields
:
-
-
field_name
:
ctrl_enable
field_description
:
"
Enable
the
output
when
1,
disable
the
output
when
0.
To
first
disable
output
to
re-enable
output."
address_offset
:
0 * MM_BUS_SIZE
# = 0x0
field_description
:
"
Enable
the
output
when
1,
disable
the
output
when
0.
First
disable
output
to
re-enable
output."
address_offset
:
0 * MM_BUS_SIZE
mm_width
:
1
access_mode
:
RW
-
-
field_name
:
ctrl_interval_size
field_description
:
"
Number
of
samples
in
output
sync
interval"
address_offset
:
1 * MM_BUS_SIZE
# = 0x4
field_description
:
"
Number
of
samples
in
output
sync
interval.
For
example,
for
sample
rate
200
MHz
this
implies
a
maximum
sync
interval
period
of
2**31
*
5
ns
=
10.7
s
(because
VHDL
NATURAL
range
is
0
-
2**31-1)"
address_offset
:
1 * MM_BUS_SIZE
mm_width
:
31
access_mode
:
RW
-
-
field_name
:
ctrl_start_bsn
field_description
:
"
Schedule
start
BSN
for
the
output.
The
start
BSN
needs
to
be
in
the
future,
if
the
start
BSN
is
in
the
past
or
if
the
input
stream
is
not
active,
then
ctrl_enable
=
'1'
will
have
no
effect."
address_offset
:
2 * MM_BUS_SIZE
# = 0x8
address_offset
:
2 * MM_BUS_SIZE
user_width
:
64
radix
:
uint64
access_mode
:
RW
-
-
field_name
:
mon_current_input_bsn
field_description
:
"
Current
input
BSN.
This
can
be
read
to
determine
a
start
BSN
in
the
future."
address_offset
:
4 * MM_BUS_SIZE
# = 0x10
address_offset
:
4 * MM_BUS_SIZE
user_width
:
64
radix
:
uint64
access_mode
:
RO
-
-
field_name
:
mon_input_bsn_at_sync
field_description
:
"
Input
BSN
at
input
sync.
This
can
be
read
to
compare
with
mon_output_sync_bsn."
address_offset
:
6 * MM_BUS_SIZE
user_width
:
64
radix
:
uint64
access_mode
:
RO
...
...
@@ -244,21 +255,20 @@ peripherals:
"
Is
1
when
output
is
enabled,
0
when
output
is
disabled.
The
output
stream
gets
enabled
when
ctrl_enable
is
set
'1'
and
when
the
BSN
of
the
input
stream
has
reached
the
ctrl_start_bsn."
address_offset
:
6
* MM_BUS_SIZE
# = 0x18
address_offset
:
8
* MM_BUS_SIZE
mm_width
:
1
access_mode
:
RO
-
-
field_name
:
mon_output_sync_bsn
field_description
:
"
Output
BSN
at
sync.
This
yields
the
number
of
blocks
per
output
sync
interval."
address_offset
:
7
* MM_BUS_SIZE
# = 0x1C
address_offset
:
9
* MM_BUS_SIZE
user_width
:
64
radix
:
uint64
access_mode
:
RO
-
-
field_name
:
block_size
field_description
:
"
Number
of
samples
per
BSN
block,
same
for
input
stream
and
output
stream."
address_offset
:
9
* MM_BUS_SIZE
# = 0x24
address_offset
:
11
* MM_BUS_SIZE
access_mode
:
RO
-
peripheral_name
:
dp_bsn_monitor
# pi_dp_bsn_monitor.py
peripheral_description
:
"
Monitor
the
Block
Sequence
Number
(BSN)
status
of
streaming
data."
parameters
:
...
...
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