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
e9418603
Commit
e9418603
authored
10 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Added multi port or multi register slv arrays for DP stream records fields, eg. t_dp_data_slv_arr.
parent
e4d70d2f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/base/dp/src/vhdl/dp_stream_pkg.vhd
+8
-0
8 additions, 0 deletions
libraries/base/dp/src/vhdl/dp_stream_pkg.vhd
with
8 additions
and
0 deletions
libraries/base/dp/src/vhdl/dp_stream_pkg.vhd
+
8
−
0
View file @
e9418603
...
@@ -106,6 +106,14 @@ PACKAGE dp_stream_pkg Is
...
@@ -106,6 +106,14 @@ PACKAGE dp_stream_pkg Is
TYPE
t_dp_sosi_integer_arr
IS
ARRAY
(
INTEGER
RANGE
<>
)
OF
t_dp_sosi_integer
;
TYPE
t_dp_sosi_integer_arr
IS
ARRAY
(
INTEGER
RANGE
<>
)
OF
t_dp_sosi_integer
;
-- Multi port or multi register slv arrays for DP stream records fields
TYPE
t_dp_bsn_slv_arr
IS
ARRAY
(
INTEGER
RANGE
<>
)
OF
STD_LOGIC_VECTOR
(
c_dp_stream_bsn_w
-1
DOWNTO
0
);
TYPE
t_dp_data_slv_arr
IS
ARRAY
(
INTEGER
RANGE
<>
)
OF
STD_LOGIC_VECTOR
(
c_dp_stream_data_w
-1
DOWNTO
0
);
TYPE
t_dp_dsp_data_slv_arr
IS
ARRAY
(
INTEGER
RANGE
<>
)
OF
STD_LOGIC_VECTOR
(
c_dp_stream_dsp_data_w
-1
DOWNTO
0
);
TYPE
t_dp_empty_slv_arr
IS
ARRAY
(
INTEGER
RANGE
<>
)
OF
STD_LOGIC_VECTOR
(
c_dp_stream_empty_w
-1
DOWNTO
0
);
TYPE
t_dp_channel_slv_arr
IS
ARRAY
(
INTEGER
RANGE
<>
)
OF
STD_LOGIC_VECTOR
(
c_dp_stream_channel_w
-1
DOWNTO
0
);
TYPE
t_dp_error_slv_arr
IS
ARRAY
(
INTEGER
RANGE
<>
)
OF
STD_LOGIC_VECTOR
(
c_dp_stream_error_w
-1
DOWNTO
0
);
-- Multi-dimemsion array types with fixed LS-dimension
-- Multi-dimemsion array types with fixed LS-dimension
-- . 2 dimensional array with 2 fixed LS sosi/siso interfaces (dp_split, dp_concat)
-- . 2 dimensional array with 2 fixed LS sosi/siso interfaces (dp_split, dp_concat)
TYPE
t_dp_siso_2arr_2
IS
ARRAY
(
INTEGER
RANGE
<>
)
OF
t_dp_siso_arr
(
1
DOWNTO
0
);
TYPE
t_dp_siso_2arr_2
IS
ARRAY
(
INTEGER
RANGE
<>
)
OF
t_dp_siso_arr
(
1
DOWNTO
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