endmethod
interface io_out = interface Get
method ActionValue#(Bit#(2)) get;
- Bit#(4) temp2;
+ let temp2 <- qspi.out.io_out.get;
Bit#(2) temp;
- qspi.out.io_out.get(temp2);
temp[0] = temp2[0];
temp[1] = temp2[1];
return temp;
endinterface;
interface io_out_en = interface Get
method ActionValue#(Bit#(2)) get;
- Bit#(4) temp2;
+ let temp2 <- qspi.out.io_out_en.get;
Bit#(2) temp;
- qspi.out.io_out_en.get(temp2);
temp[0] = temp2[0];
temp[1] = temp2[1];
return temp;
// 0=TOF, 1=SMF, 2=Threshold, 3=TCF, 4=TEF 5=request_ready
method Bit#(6) interrupts;
- return qspi.interripts;
+ return qspi.interrupts;
endmethod
endmodule