projects
/
shakti-peripherals.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4258fa3
)
reformat header
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 24 Jul 2018 08:09:27 +0000
(09:09 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 24 Jul 2018 08:09:27 +0000
(09:09 +0100)
src/peripherals/spi/spi.bsv
patch
|
blob
|
history
diff --git
a/src/peripherals/spi/spi.bsv
b/src/peripherals/spi/spi.bsv
index dc40722d6b89202e5aeb1b25cb285069dd825593..3255ad7ce354c7769e121b6c7565114114949065 100644
(file)
--- a/
src/peripherals/spi/spi.bsv
+++ b/
src/peripherals/spi/spi.bsv
@@
-38,10
+38,10
@@
package spi;
(*always_ready, always_enabled*)
interface SPI_out;
interface Get#(Bit#(1)) clk_o;
- interface Get#(Bit#(1)) io_out;
method Bit#(9) io0_sdio_ctrl;
method Bit#(9) io1_sdio_ctrl;
// index 0 is MOSI, index 1 is MISO.
+ interface Get#(Bit#(2)) io_out;
interface Get#(Bit#(2)) io_out_en;
interface Put#(Bit#(2)) io_in;
interface Get#(Bit#(1)) ncs_o;