A full-duplex SPI master controller delivered as synthesizable SystemVerilog soft-IP. It is delivered as a licensable soft-IP block engineered as an ASIL-B Safety Element out of Context — not just RTL, but the complete functional-safety work package needed to carry it into an ISO 26262 program:
A full-duplex SPI master controller delivered as synthesizable SystemVerilog soft-IP.
Motorola SPI / Freescale DSPI protocol (4-wire, modes 0-3); ISO 26262 ASIL-B SEooC (SPFM 95.26%, LFM 90.00%, PMHF 1.77×10⁻⁹/h)
ASIL-B (SEooC) · SPFM 95.26% · LFM 90.00% · PASS
ISO 26262:2018 · FMEDA available · Safety Manual included
| Offset | Register | Description |
|---|---|---|
0x00 | CR: | [7]=EN [6]=CPHA [5]=CPOL [4]=MSBFIRST [1]=TXEIE [0]=RXNEIE |
0x04 | DIVR: | [15:0] SCK half-period in clk cycles (SCK period = 2×DIVR; 0=off) |
0x08 | CSR: | [0]=CS_EN (assert the selected chip select for the transfer) [3:1]=CS_SEL (0..NCS-1 — which of the up-to-8 chip selec… |
0x0C | DR: | write=push TX FIFO; read=pop RX FIFO |
0x10 | SR: | [3]=BSY [2]=OVR [1]=RXNE [0]=TXE (read-only) |
…1 more registers — see datasheet for the full table.
// Minimal instantiation
spi_master #(
.ADDR_W(6)
) u_spi_master (
.clk (clk),
.rst_n (rst_n),
// APB4
.p_paddr (paddr),
.p_psel (psel),
.p_penable (penable),
.p_pwrite (pwrite),
.p_pwdata (pwdata),
.p_prdata (prdata),
.p_pready (pready),
// Safety
.err_clear (1'b0),
.err_valid (err_valid),
.err_code (err_code)
);Configure via the CTRL register after reset to enable the IP and set operating parameters. Monitor err_valid / err_code for any safety faults reported by the built-in safety monitor.
Typically deployed in in-vehicle networks, industrial gateways, and sensor/actuator links where a bus controller has to carry its own safety argument.
Pricing, the per-IP FMEDA, safety manual, and RTL data room are shared under a mutual NDA.
Figures are pre-silicon engineering-grade estimates for a Safety Element out of Context (SEooC); final ASIL sign-off is the integrator’s, supported under NDA. FMEDA and Safety Manual available under NDA.
circuit-design.space · +1-971-357-1400 · sales@circuit-design.space