projects
/
shakti-peripherals.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
still getting compile errors
[shakti-peripherals.git]
/
src
/
peripherals
/
spi
/
spi.bsv
diff --git
a/src/peripherals/spi/spi.bsv
b/src/peripherals/spi/spi.bsv
index 03f78d8b6e1748d8e7e331d1fd6bfaeed067db15..2f639d670ad117af7b8c302cc872563bb632cdfc 100644
(file)
--- a/
src/peripherals/spi/spi.bsv
+++ b/
src/peripherals/spi/spi.bsv
@@
-72,9
+72,8
@@
package spi;
endmethod
interface io_out = interface Get
method ActionValue#(Bit#(2)) get;
endmethod
interface io_out = interface Get
method ActionValue#(Bit#(2)) get;
-
Bit#(4) temp2
;
+
ActionValue#(Bit#(4)) temp2 = qspi.out.io_out.get
;
Bit#(2) temp;
Bit#(2) temp;
- qspi.out.io_out.get(temp2);
temp[0] = temp2[0];
temp[1] = temp2[1];
return temp;
temp[0] = temp2[0];
temp[1] = temp2[1];
return temp;
@@
-82,9
+81,8
@@
package spi;
endinterface;
interface io_out_en = interface Get
method ActionValue#(Bit#(2)) get;
endinterface;
interface io_out_en = interface Get
method ActionValue#(Bit#(2)) get;
-
Bit#(4) temp2
;
+
ActionValue#(Bit#(4)) temp2 = qspi.out.io_out_en.get
;
Bit#(2) temp;
Bit#(2) temp;
- qspi.out.io_out_en.get(temp2);
temp[0] = temp2[0];
temp[1] = temp2[1];
return temp;
temp[0] = temp2[0];
temp[1] = temp2[1];
return temp;