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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
e6cbcdfc
Commit
e6cbcdfc
authored
10 years ago
by
Daniel van der Schuur
Browse files
Options
Downloads
Patches
Plain Diff
-Renamed generic.
parent
8df840e0
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libraries/base/dp/src/vhdl/dp_field_blk.vhd
+3
-3
3 additions, 3 deletions
libraries/base/dp/src/vhdl/dp_field_blk.vhd
libraries/base/dp/src/vhdl/dp_offload_tx.vhd
+2
-2
2 additions, 2 deletions
libraries/base/dp/src/vhdl/dp_offload_tx.vhd
with
5 additions
and
5 deletions
libraries/base/dp/src/vhdl/dp_field_blk.vhd
+
3
−
3
View file @
e6cbcdfc
...
@@ -33,7 +33,7 @@ USE work.dp_stream_pkg.ALL;
...
@@ -33,7 +33,7 @@ USE work.dp_stream_pkg.ALL;
-- . The fields in snk_in.data are determined by g_field_arr;
-- . The fields in snk_in.data are determined by g_field_arr;
-- . Each field can be overridden via MM when when its corresponding MM override bit is '1',
-- . Each field can be overridden via MM when when its corresponding MM override bit is '1',
-- if override = '0' the field is taken from snk_in.data.
-- if override = '0' the field is taken from snk_in.data.
-- . The initial (default) values of the override bits are passed via g_
ovr_init
(one bit per field);
-- . The initial (default) values of the override bits are passed via g_
field_sel
(one bit per field);
-- . Both the SLV as the override (ovr) fields can be read back via MM;
-- . Both the SLV as the override (ovr) fields can be read back via MM;
...
@@ -77,7 +77,7 @@ USE work.dp_stream_pkg.ALL;
...
@@ -77,7 +77,7 @@ USE work.dp_stream_pkg.ALL;
ENTITY
dp_field_blk
IS
ENTITY
dp_field_blk
IS
GENERIC
(
GENERIC
(
g_field_arr
:
t_common_field_arr
;
g_field_arr
:
t_common_field_arr
;
g_
ovr_init
:
STD_LOGIC_VECTOR
;
g_
field_sel
:
STD_LOGIC_VECTOR
;
g_snk_data_w
:
NATURAL
;
g_snk_data_w
:
NATURAL
;
g_src_data_w
:
NATURAL
g_src_data_w
:
NATURAL
);
);
...
@@ -116,7 +116,7 @@ END dp_field_blk;
...
@@ -116,7 +116,7 @@ END dp_field_blk;
ARCHITECTURE
str
OF
dp_field_blk
IS
ARCHITECTURE
str
OF
dp_field_blk
IS
CONSTANT
c_ovr_field_arr
:
t_common_field_arr
(
g_field_arr
'RANGE
)
:
=
field_ovr_arr
(
g_field_arr
,
g_
ovr_init
);
CONSTANT
c_ovr_field_arr
:
t_common_field_arr
(
g_field_arr
'RANGE
)
:
=
field_ovr_arr
(
g_field_arr
,
g_
field_sel
);
-- Mode: fields to data block (c_field_to_block=True) or data block to fields (c_field_to_block=False)
-- Mode: fields to data block (c_field_to_block=True) or data block to fields (c_field_to_block=False)
-- a.k.a. wire to narrow or narrow to wide
-- a.k.a. wire to narrow or narrow to wide
...
...
This diff is collapsed.
Click to expand it.
libraries/base/dp/src/vhdl/dp_offload_tx.vhd
+
2
−
2
View file @
e6cbcdfc
...
@@ -52,7 +52,7 @@ ENTITY dp_offload_tx IS
...
@@ -52,7 +52,7 @@ ENTITY dp_offload_tx IS
g_def_nof_blocks_per_packet
:
NATURAL
;
g_def_nof_blocks_per_packet
:
NATURAL
;
g_output_fifo_depth
:
NATURAL
;
--FIXME - unused
g_output_fifo_depth
:
NATURAL
;
--FIXME - unused
g_hdr_field_arr
:
t_common_field_arr
;
g_hdr_field_arr
:
t_common_field_arr
;
g_hdr_field_ovr_init
:
STD_LOGIC_VECTOR
;
g_hdr_field_ovr_init
:
STD_LOGIC_VECTOR
;
--FIXME - rename to g_hdr_field_sel
g_use_post_split_fifo
:
BOOLEAN
:
=
FALSE
g_use_post_split_fifo
:
BOOLEAN
:
=
FALSE
);
);
PORT
(
PORT
(
...
@@ -277,7 +277,7 @@ BEGIN
...
@@ -277,7 +277,7 @@ BEGIN
u_dp_field_blk
:
ENTITY
work
.
dp_field_blk
u_dp_field_blk
:
ENTITY
work
.
dp_field_blk
GENERIC
MAP
(
GENERIC
MAP
(
g_field_arr
=>
field_arr_set_mode
(
g_hdr_field_arr
,
"RW"
),
g_field_arr
=>
field_arr_set_mode
(
g_hdr_field_arr
,
"RW"
),
g_
ovr_init
=>
g_hdr_field_ovr_init
,
g_
field_sel
=>
g_hdr_field_ovr_init
,
g_snk_data_w
=>
c_dp_field_blk_snk_data_w
,
g_snk_data_w
=>
c_dp_field_blk_snk_data_w
,
g_src_data_w
=>
c_dp_field_blk_src_data_w
g_src_data_w
=>
c_dp_field_blk_src_data_w
)
)
...
...
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