Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit core collection
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
30
Issues
30
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit core collection
Commits
388e6283
Commit
388e6283
authored
Sep 08, 2013
by
Maciej Lipinski
Committed by
Grzegorz Daniluk
Feb 04, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enforcing the same IFG for odd and even frames
parent
1873cec7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
ep_tx_header_processor.vhd
modules/wr_endpoint/ep_tx_header_processor.vhd
+9
-3
No files found.
modules/wr_endpoint/ep_tx_header_processor.vhd
View file @
388e6283
...
...
@@ -164,6 +164,7 @@ architecture behavioral of ep_tx_header_processor is
signal
stall_int
:
std_logic
;
signal
tx_en
:
std_logic
;
signal
ep_ctrl
:
std_logic
;
signal
bitsel_d
:
std_logic
;
function
b2s
(
x
:
boolean
)
return
std_logic
is
...
...
@@ -316,6 +317,7 @@ begin -- behavioral
fc_pause_ready_o
<=
'1'
;
txtsu_stb_o
<=
'0'
;
bitsel_d
<=
'0'
;
else
...
...
@@ -469,7 +471,7 @@ begin -- behavioral
src_fab_o
.
eof
<=
'1'
;
counter
<=
(
others
=>
'0'
);
if
(
g_force_gap_length
=
0
)
then
if
(
g_force_gap_length
=
0
and
bitsel_d
=
'1'
)
then
-- Submit the TX timestamp to the TXTSU queue
if
(
oob
.
valid
=
'1'
and
oob
.
oob_type
=
c_WRF_OOB_TYPE_TX
)
then
if
(
pcs_busy_i
=
'0'
)
then
...
...
@@ -498,6 +500,10 @@ begin -- behavioral
src_fab_o
.
bytesel
<=
'0'
;
end
if
;
if
(
wb_snk_i
.
sel
(
0
)
=
'0'
)
then
bitsel_d
<=
'1'
;
end
if
;
src_fab_o
.
addr
<=
wb_snk_i
.
adr
;
-------------------------------------------------------------------------------
...
...
@@ -563,8 +569,8 @@ begin -- behavioral
if
(
tx_en
=
'0'
)
then
--ML
wb_out
.
stall
<=
'0'
;
-- /dev/null if TX disabled
-- elsif((wb_snk_i.cyc xor snk_cyc_d0) = '1') then
--
elsif(wb_snk_i.cyc = '1' and snk_cyc_d0 = '0') then -- ML: do it only at the SOF, not EOF
--
wb_out.stall <= '1'; -- /block for 1 cycle right upon
elsif
(
wb_snk_i
.
cyc
=
'1'
and
snk_cyc_d0
=
'0'
)
then
-- ML: do it only at the SOF, not EOF
wb_out
.
stall
<=
'1'
;
-- /block for 1 cycle right upon
-- detection of a packet, so the FSM
-- has time to catch up
elsif
(
src_dreq_i
=
'1'
and
state
/=
TXF_GAP
and
state
/=
TXF_ABORT
and
state
/=
TXF_DELAYED_SOF
)
then
...
...
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