endmethod
interface io_out = interface Get
method ActionValue#(Bit#(2)) get;
- ActionValue#(Bit#(4)) temp2 = qspi.out.io_out.get;
+ let temp2 <- qspi.out.io_out.get;
Bit#(2) temp;
temp[0] = temp2[0];
temp[1] = temp2[1];
endinterface;
interface io_out_en = interface Get
method ActionValue#(Bit#(2)) get;
- ActionValue#(Bit#(4)) temp2 = qspi.out.io_out_en.get;
+ let temp2 <- qspi.out.io_out_en.get;
Bit#(2) temp;
temp[0] = temp2[0];
temp[1] = temp2[1];