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
4efd9ffb
Commit
4efd9ffb
authored
3 years ago
by
Reinier van der Walle
Browse files
Options
Downloads
Patches
Plain Diff
forgot to save changes...
parent
ba149c06
No related branches found
Branches containing commit
No related tags found
1 merge request
!155
added ring_rx
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/base/ring/src/vhdl/ring_rx.vhd
+6
-6
6 additions, 6 deletions
libraries/base/ring/src/vhdl/ring_rx.vhd
with
6 additions
and
6 deletions
libraries/base/ring/src/vhdl/ring_rx.vhd
+
6
−
6
View file @
4efd9ffb
...
...
@@ -38,6 +38,7 @@ USE work.ring_pkg.ALL;
ENTITY
ring_rx
IS
GENERIC
(
g_use_dp_layer
:
BOOLEAN
:
=
TRUE
;
g_lane_direction
:
NATURAL
:
=
1
;
g_data_w
:
NATURAL
:
=
64
;
g_nof_rx_monitors
:
NATURAL
:
=
1
;
...
...
@@ -76,9 +77,8 @@ END ring_rx;
ARCHITECTURE
str
OF
ring_rx
IS
CONSTANT
c_use_dp_layer
:
BOOLEAN
:
=
TRUE
;
CONSTANT
c_nof_hdr_fields
:
NATURAL
:
=
sel_a_b
(
c_use_dp_layer
,
c_ring_dp_nof_hdr_fields
,
c_ring_eth_nof_hdr_fields
);
CONSTANT
c_hdr_field_arr
:
t_common_field_arr
(
c_nof_hdr_fields
-1
DOWNTO
0
)
:
=
sel_a_b
(
c_use_dp_layer
,
c_ring_dp_hdr_field_arr
,
c_ring_eth_hdr_field_arr
);
CONSTANT
c_nof_hdr_fields
:
NATURAL
:
=
sel_a_b
(
g_use_dp_layer
,
c_ring_dp_nof_hdr_fields
,
c_ring_eth_nof_hdr_fields
);
CONSTANT
c_hdr_field_arr
:
t_common_field_arr
(
c_nof_hdr_fields
-1
DOWNTO
0
)
:
=
sel_a_b
(
g_use_dp_layer
,
c_ring_dp_hdr_field_arr
,
c_ring_eth_hdr_field_arr
);
SIGNAL
lane_rx_sosi
:
t_dp_sosi
;
SIGNAL
packet_sosi
:
t_dp_sosi
;
...
...
@@ -153,7 +153,7 @@ BEGIN
);
-- Use dp layer
gen_dp_layer
:
IF
c
_use_dp_layer
GENERATE
gen_dp_layer
:
IF
g
_use_dp_layer
GENERATE
p_set_meta
:
PROCESS
(
offload_rx_sosi
,
hdr_fields_out
)
BEGIN
decoded_sosi
<=
offload_rx_sosi
;
...
...
@@ -182,7 +182,6 @@ BEGIN
reg_miso
=>
reg_dp_block_validate_bsn_at_sync_cipo
);
-- BSN Monitors
-- Convert nof_hops to source RN
p_hop_to_src_rn
:
PROCESS
(
validated_sosi
,
this_rn
,
N_rn
)
BEGIN
...
...
@@ -202,6 +201,7 @@ BEGIN
src_out_arr
=>
monitor_sosi_arr
);
-- BSN Monitors
u_mms_dp_bsn_monitor_v2
:
ENTITY
dp_lib
.
mms_dp_bsn_monitor_v2
GENERIC
MAP
(
g_nof_streams
=>
g_nof_rx_monitors
...
...
@@ -221,7 +221,7 @@ BEGIN
END
GENERATE
;
-- Do not use dp layer
gen_no_dp_layer
:
IF
NOT
c
_use_dp_layer
GENERATE
gen_no_dp_layer
:
IF
NOT
g
_use_dp_layer
GENERATE
from_lane_sosi
<=
offload_rx_sosi
;
END
GENERATE
;
...
...
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