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
f4ff7e94
Commit
f4ff7e94
authored
1 year ago
by
Reinier van der Walle
Browse files
Options
Downloads
Patches
Plain Diff
corrected the ref_sync input for the strobe counter
parent
1ef40bb9
No related branches found
No related tags found
1 merge request
!354
Regression eth tester rx fix
Pipeline
#57816
passed
1 year ago
Stage: linting
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/io/eth/src/vhdl/eth_tester_rx.vhd
+4
-1
4 additions, 1 deletion
libraries/io/eth/src/vhdl/eth_tester_rx.vhd
with
4 additions
and
1 deletion
libraries/io/eth/src/vhdl/eth_tester_rx.vhd
+
4
−
1
View file @
f4ff7e94
...
@@ -96,6 +96,7 @@ architecture str of eth_tester_rx is
...
@@ -96,6 +96,7 @@ architecture str of eth_tester_rx is
signal
unpacked_data
:
std_logic_vector
(
c_octet_w
-
1
downto
0
);
signal
unpacked_data
:
std_logic_vector
(
c_octet_w
-
1
downto
0
);
signal
crc_corrupt
:
std_logic
:
=
'0'
;
signal
crc_corrupt
:
std_logic
:
=
'0'
;
signal
strobe_cnt_ref_sync
:
std_logic
;
signal
in_strobe_arr
:
std_logic_vector
(
c_nof_total_counts
-
1
downto
0
);
signal
in_strobe_arr
:
std_logic_vector
(
c_nof_total_counts
-
1
downto
0
);
signal
hdr_fields_out_slv
:
std_logic_vector
(
1023
downto
0
);
signal
hdr_fields_out_slv
:
std_logic_vector
(
1023
downto
0
);
...
@@ -248,6 +249,8 @@ begin
...
@@ -248,6 +249,8 @@ begin
in_strobe_arr
(
1
)
<=
unpacked_sosi
.
valid
;
-- count total nof Rx valid samples
in_strobe_arr
(
1
)
<=
unpacked_sosi
.
valid
;
-- count total nof Rx valid samples
in_strobe_arr
(
2
)
<=
crc_corrupt
;
-- count total nof corrupted Rx packets
in_strobe_arr
(
2
)
<=
crc_corrupt
;
-- count total nof corrupted Rx packets
strobe_cnt_ref_sync
<=
unpacked_sosi
.
sync
when
g_use_dp_header
else
ref_sync
;
u_dp_strobe_total_count
:
entity
dp_lib
.
dp_strobe_total_count
u_dp_strobe_total_count
:
entity
dp_lib
.
dp_strobe_total_count
generic
map
(
generic
map
(
g_nof_counts
=>
c_nof_total_counts
,
g_nof_counts
=>
c_nof_total_counts
,
...
@@ -258,7 +261,7 @@ begin
...
@@ -258,7 +261,7 @@ begin
dp_rst
=>
st_rst
,
dp_rst
=>
st_rst
,
dp_clk
=>
st_clk
,
dp_clk
=>
st_clk
,
ref_sync
=>
ref_sync
,
ref_sync
=>
strobe_cnt_
ref_sync
,
in_strobe_arr
=>
in_strobe_arr
,
in_strobe_arr
=>
in_strobe_arr
,
mm_rst
=>
mm_rst
,
mm_rst
=>
mm_rst
,
...
...
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