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
14
Issues
14
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
30ebd980
Commit
30ebd980
authored
Apr 18, 2023
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wb_xpi: fix sticky bit in ctrl. Fix
#35
parent
a0e0f2e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
spi_top.v
modules/wishbone/wb_spi/spi_top.v
+1
-1
No files found.
modules/wishbone/wb_spi/spi_top.v
View file @
30ebd980
...
...
@@ -279,7 +279,7 @@ module spi_top
else
if
(
spi_ctrl_sel
&&
wb_we_i
&&
!
tip
)
begin
if
(
wb_sel_i
[
0
])
ctrl
[
7
:
0
]
<=
#
Tp
wb_dat_i
[
7
:
0
]
|
{
7'b0
,
ctrl
[
0
]
}
;
ctrl
[
7
:
0
]
<=
#
Tp
wb_dat_i
[
7
:
0
]
;
if
(
wb_sel_i
[
1
])
ctrl
[
`SPI_CTRL_BIT_NB
-
1
:
8
]
<=
#
Tp
wb_dat_i
[
`SPI_CTRL_BIT_NB
-
1
:
8
]
;
end
...
...
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