Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit core collection
Manage
Activity
Members
Labels
Plan
Issues
33
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
White Rabbit core collection
Commits
1ecf0401
Commit
1ecf0401
authored
13 years ago
by
Tomasz Wlostowski
Browse files
Options
Downloads
Patches
Plain Diff
wr_endpoint: ep_tx_pcs_tbi.vhd: FIFO access bug fixed
parent
1b8d2062
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/wr_endpoint/ep_tx_pcs_tbi.vhd
+4
-3
4 additions, 3 deletions
modules/wr_endpoint/ep_tx_pcs_tbi.vhd
with
4 additions
and
3 deletions
modules/wr_endpoint/ep_tx_pcs_tbi.vhd
+
4
−
3
View file @
1ecf0401
...
...
@@ -6,7 +6,7 @@
-- Author : Tomasz Wlostowski
-- Company : CERN BE-CO-HT section
-- Created : 2009-06-16
-- Last update: 2011-0
5-28
-- Last update: 2011-0
8-14
-- Platform : FPGA-generic
-- Standard : VHDL'93
-------------------------------------------------------------------------------
...
...
@@ -238,7 +238,7 @@ begin
g_with_rd_count
=>
true
,
g_with_wr_almost_full
=>
true
,
g_almost_empty_threshold
=>
16
,
g_almost_full_threshold
=>
6
0
)
-- fixme: make this a generic (or WB register)
g_almost_full_threshold
=>
5
6
)
-- fixme: make this a generic (or WB register)
port
map
(
rst_n_i
=>
tx_fifo_clear_n
,
clk_wr_i
=>
clk_sys_i
,
...
...
@@ -326,7 +326,7 @@ begin
-- we've got a new frame in the FIFO
elsif
(
tx_fifo_start
=
'1'
and
fifo_rdy
=
'1'
)
then
tx_fifo_rdreq
<=
'
0
'
;
tx_fifo_rdreq
<=
'
1
'
;
tx_newframe
<=
'1'
;
tx_state
<=
TX_SPD
;
tx_preamble_cntr
<=
"101"
;
...
...
@@ -409,6 +409,7 @@ begin
-- State SPD: sends a start-of-packet delimeter
-------------------------------------------------------------------------------
when
TX_SPD
=>
tx_fifo_rdreq
<=
'0'
;
tx_is_k
<=
'1'
;
tx_odata_reg
<=
c_k27_7
;
tx_state
<=
TX_PREAMBLE
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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