package spi;
+ import AXI4_Lite_Types :: *;
+ import AXI4_Lite_Fabric :: *;
+ import GetPut::*;
import qspi::*;
`include "instance_defines.bsv"
Ifc_qspi qspi <- mkqspi();
- interface SPI_out out;
+ interface out = interface SPI_out
method Bit#(9) io0_sdio_ctrl;
return qspi.out.io0_sdio_ctrl;
endmethod
endinterface;
interface clk_o = qspi.out.clk_o;
interface ncs_o = qspi.ncs_o;
- endinterface
+ endinterface;
interface slave = qspi.slave;
return qspi.interripts;
endmethod
+ endmodule
endpackage