Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Gateware
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
12
Issues
12
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Gateware
Commits
8ce566c2
Commit
8ce566c2
authored
May 09, 2013
by
Maciej Lipinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TRU] bugfix: disable control of endpoints when TRU disabled
parent
a64f6ee4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
xwrsw_tru.vhd
modules/wrsw_tru/xwrsw_tru.vhd
+4
-4
No files found.
modules/wrsw_tru/xwrsw_tru.vhd
View file @
8ce566c2
...
@@ -214,7 +214,7 @@ begin --rtl
...
@@ -214,7 +214,7 @@ begin --rtl
endpoint_o
=>
s_endpoint_array
(
i
),
endpoint_o
=>
s_endpoint_array
(
i
),
reset_rxFlag_i
=>
s_config
.
gcr_rx_frame_reset
(
i
)
reset_rxFlag_i
=>
s_config
.
gcr_rx_frame_reset
(
i
)
);
);
ep_o
(
i
)
.
link_kill
<=
not
s_port_if_ctrl
(
i
);
ep_o
(
i
)
.
link_kill
<=
not
s_port_if_ctrl
(
i
)
when
(
s_tru_ena
=
'1'
)
else
'0'
;
end
generate
G_ENDP
;
end
generate
G_ENDP
;
-- generating strobe to count packets which enter switch after receiving MARKER/sending PAUSE
-- generating strobe to count packets which enter switch after receiving MARKER/sending PAUSE
...
@@ -357,9 +357,9 @@ begin --rtl
...
@@ -357,9 +357,9 @@ begin --rtl
'1'
when
(
s_inject_sel
(
i
)
.
pause
=
'1'
and
ep_i
(
i
)
.
inject_ready
=
'1'
and
s_inject_ready_d
(
i
)
=
'1'
)
else
'1'
when
(
s_inject_sel
(
i
)
.
pause
=
'1'
and
ep_i
(
i
)
.
inject_ready
=
'1'
and
s_inject_ready_d
(
i
)
=
'1'
)
else
'0'
;
'0'
;
ep_o
(
i
)
.
inject_packet_sel
<=
s_ep
(
i
)
.
inject_packet_sel
;
ep_o
(
i
)
.
inject_packet_sel
<=
s_ep
(
i
)
.
inject_packet_sel
when
(
s_tru_ena
=
'1'
)
else
(
others
=>
'0'
)
;
ep_o
(
i
)
.
inject_user_value
<=
s_ep
(
i
)
.
inject_user_value
;
ep_o
(
i
)
.
inject_user_value
<=
s_ep
(
i
)
.
inject_user_value
when
(
s_tru_ena
=
'1'
)
else
(
others
=>
'0'
)
;
ep_o
(
i
)
.
inject_req
<=
s_ep
(
i
)
.
inject_req
;
ep_o
(
i
)
.
inject_req
<=
s_ep
(
i
)
.
inject_req
when
(
s_tru_ena
=
'1'
)
else
'0'
;
ep_o
(
i
)
.
fc_pause_req
<=
'0'
;
--s_trans_ep_ctr(i).pauseSend;
ep_o
(
i
)
.
fc_pause_req
<=
'0'
;
--s_trans_ep_ctr(i).pauseSend;
ep_o
(
i
)
.
fc_pause_delay
<=
(
others
=>
'0'
);
--s_trans_ep_ctr(i).pauseTime;
ep_o
(
i
)
.
fc_pause_delay
<=
(
others
=>
'0'
);
--s_trans_ep_ctr(i).pauseTime;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment