interface SPI_out out;
interface AXI4_Lite_Slave_IFC#(`PADDR,`Reg_width,`USERSPACE) slave;
// 0=TOF, 1=SMF, 2=Threshold, 3=TCF, 4=TEF 5 = request_ready
interface SPI_out out;
interface AXI4_Lite_Slave_IFC#(`PADDR,`Reg_width,`USERSPACE) slave;
// 0=TOF, 1=SMF, 2=Threshold, 3=TCF, 4=TEF 5 = request_ready