Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Platform-independent core collection
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
18
Issues
18
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
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
Platform-independent core collection
Commits
fd6c520b
Commit
fd6c520b
authored
Aug 02, 2019
by
Michael Reese
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
direct-access: fix transaction count when ack or err coincides with stb
parent
616dfc3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pcie_wb.vhd
platform/altera/wb_pcie/pcie_wb.vhd
+2
-2
No files found.
platform/altera/wb_pcie/pcie_wb.vhd
View file @
fd6c520b
...
...
@@ -263,11 +263,11 @@ begin
-- control the cycle line during direct access mode
if
bridge_mode
=
mode_direct_access
then
if
int_slave_i
.
stb
=
'1'
then
if
int_slave_o
.
stall
=
'0'
then
if
int_slave_o
.
stall
=
'0'
and
int_slave_o
.
ack
=
'0'
and
int_slave_o
.
err
=
'0'
and
int_slave_o
.
rty
=
'0'
then
wb_n_transact
<=
wb_n_transact
+
1
;
end
if
;
wb_direct_cyc
<=
'1'
;
elsif
wb_direct_cyc
=
'1'
and
int_slave_o
.
ack
=
'1'
then
elsif
wb_direct_cyc
=
'1'
and
(
int_slave_o
.
ack
=
'1'
or
int_slave_o
.
err
=
'1'
or
int_slave_o
.
rty
=
'1'
)
then
wb_n_transact
<=
wb_n_transact
-
1
;
if
wb_n_transact
=
1
then
wb_direct_cyc
<=
'0'
;
...
...
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