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
09cc2f76
Commit
09cc2f76
authored
3 years ago
by
Reinier van der Walle
Browse files
Options
Downloads
Patches
Plain Diff
fixed syntax errors
parent
dcbffc8f
No related branches found
No related tags found
1 merge request
!129
Resolve L2SDP-275
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
libraries/base/ring/src/vhdl/ring_pkg.vhd
+1
-1
1 addition, 1 deletion
libraries/base/ring/src/vhdl/ring_pkg.vhd
libraries/base/ring/src/vhdl/ring_tx.vhd
+2
-2
2 additions, 2 deletions
libraries/base/ring/src/vhdl/ring_tx.vhd
with
3 additions
and
3 deletions
libraries/base/ring/src/vhdl/ring_pkg.vhd
+
1
−
1
View file @
09cc2f76
...
...
@@ -137,7 +137,7 @@ PACKAGE BODY ring_pkg IS
FUNCTION
func_nof_hops_to_source_rn
(
hops
,
this_rn
,
N_rn
:
STD_LOGIC_VECTOR
;
lane_dir
:
NATURAL
)
RETURN
STD_LOGIC_VECTOR
IS
BEGIN
RETURN
TO_UVEC
(
nof_hops_to_source_rn
(
TO_UINT
(
hops
),
TO_UINT
(
N_rn
),
TO_UINT
(
N_rn
),
lane_dir
),
hops
'LENGTH
);
RETURN
TO_UVEC
(
func_
nof_hops_to_source_rn
(
TO_UINT
(
hops
),
TO_UINT
(
N_rn
),
TO_UINT
(
N_rn
),
lane_dir
),
hops
'LENGTH
);
END
;
END
ring_pkg
;
...
...
This diff is collapsed.
Click to expand it.
libraries/base/ring/src/vhdl/ring_tx.vhd
+
2
−
2
View file @
09cc2f76
...
...
@@ -115,7 +115,7 @@ BEGIN
p_hop
:
PROCESS
(
validated_sosi
)
BEGIN
tx_sosi
<=
validated_sosi
;
IF
TO_UINT
(
validate_sosi
.
channel
)
>=
TO_UINT
(
N_rn
)
-1
THEN
IF
TO_UINT
(
validate
d
_sosi
.
channel
)
>=
TO_UINT
(
N_rn
)
-1
THEN
tx_sosi
.
channel
<=
(
OTHERS
=>
'0'
);
ELSE
tx_sosi
.
channel
<=
INCR_DP_CHANNEL
(
validated_sosi
.
channel
,
1
,
c_dp_stream_channel_w
);
...
...
@@ -194,7 +194,7 @@ BEGIN
p_hop_to_src_rn
:
PROCESS
(
validated_sosi
,
this_rn
,
N_rn
)
BEGIN
monitor_sosi
<=
validated_sosi
;
monitor_sosi
.
channel
<=
nof_hops_to_source_rn
(
validated_sosi
.
channel
,
this_rn
,
N_rn
,
g_lane_direction
);
monitor_sosi
.
channel
<=
func_
nof_hops_to_source_rn
(
validated_sosi
.
channel
,
this_rn
,
N_rn
,
g_lane_direction
);
END
PROCESS
;
u_dp_demux
:
ENTITY
dp_lib
.
dp_demux
...
...
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