Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Platform-independent core collection
Manage
Activity
Members
Labels
Plan
Issues
15
Issue boards
Milestones
Wiki
Code
Merge requests
5
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
Platform-independent core collection
Commits
fd6c520b
Commit
fd6c520b
authored
5 years ago
by
Michael Reese
Browse files
Options
Downloads
Patches
Plain Diff
direct-access: fix transaction count when ack or err coincides with stb
parent
616dfc3a
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
platform/altera/wb_pcie/pcie_wb.vhd
+2
-2
2 additions, 2 deletions
platform/altera/wb_pcie/pcie_wb.vhd
with
2 additions
and
2 deletions
platform/altera/wb_pcie/pcie_wb.vhd
+
2
−
2
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'
;
...
...
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