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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
969cd043
Commit
969cd043
authored
10 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Wait for XON proc_tech_mac_10g_tx_packet.
parent
e5f8f6bf
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/technology/mac_10g/tb_tech_mac_10g_pkg.vhd
+77
-75
77 additions, 75 deletions
libraries/technology/mac_10g/tb_tech_mac_10g_pkg.vhd
with
77 additions
and
75 deletions
libraries/technology/mac_10g/tb_tech_mac_10g_pkg.vhd
+
77
−
75
View file @
969cd043
...
@@ -202,6 +202,9 @@ PACKAGE BODY tb_tech_mac_10g_pkg IS
...
@@ -202,6 +202,9 @@ PACKAGE BODY tb_tech_mac_10g_pkg IS
VARIABLE
v_num
:
UNSIGNED
(
c_tech_mac_10g_data_w
-1
DOWNTO
0
)
:
=
(
OTHERS
=>
'0'
);
VARIABLE
v_num
:
UNSIGNED
(
c_tech_mac_10g_data_w
-1
DOWNTO
0
)
:
=
(
OTHERS
=>
'0'
);
VARIABLE
v_hdr_words_arr
:
t_network_total_header_64b_arr
;
VARIABLE
v_hdr_words_arr
:
t_network_total_header_64b_arr
;
BEGIN
BEGIN
ff_src_out
<=
c_dp_sosi_rst
;
IF
ff_src_in
.
xon
=
'1'
THEN
-- Generate this packet
-- Select header
-- Select header
CASE
c_data_type
IS
CASE
c_data_type
IS
WHEN
c_tb_tech_mac_10g_data_type_arp
=>
v_hdr_words_arr
:
=
c_arp_words_arr
;
WHEN
c_tb_tech_mac_10g_data_type_arp
=>
v_hdr_words_arr
:
=
c_arp_words_arr
;
...
@@ -280,11 +283,10 @@ PACKAGE BODY tb_tech_mac_10g_pkg IS
...
@@ -280,11 +283,10 @@ PACKAGE BODY tb_tech_mac_10g_pkg IS
END
IF
;
END
IF
;
-- Initialize for next tx packet
ELSE
ff_src_out
.
data
<=
TO_DP_DATA
(
0
);
-- Wait until XON is active
ff_src_out
.
valid
<=
'0'
;
proc_common_wait_until_high
(
ff_clk
,
ff_src_in
.
xon
);
ff_src_out
.
eop
<=
'0'
;
END
IF
;
ff_src_out
.
empty
<=
TO_DP_EMPTY
(
0
);
END
proc_tech_mac_10g_tx_packet
;
END
proc_tech_mac_10g_tx_packet
;
...
...
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