A synthesizable SPI slave (device) soft-IP — the counterpart to ip/spimaster. 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 synthesizable SPI slave (device) soft-IP — the counterpart to ip/spi_master. An external SPI master drives sclk/mosi/cs_n, asynchronous to the host clock; this IP synchronizes them, frames each transfer on chip-select, and shifts data in/out via APB4 TXDATA/RXDATA registers, supporting all four CPOL/CPHA modes.
Motorola/Freescale SPI protocol (4-wire, modes 0–3, CPOL/CPHA); ISO 26262 ASIL-B SEooC (SPFM 91.50%, LFM 89.62%, PMHF 6.15×10⁻¹⁰/h)
ASIL-B (SEooC) · SPFM 91.50% · LFM 89.62% · PASS
ISO 26262:2018 · FMEDA available · Safety Manual included
| Offset | Register | Description |
|---|---|---|
0x00 | CTRL | [0]=EN [1]=CPOL [2]=CPHA |
0x04 | STATUS | [0]=RX_READY [1]=OVERRUN(W1C) [2]=CS_ACTIVE |
0x08 | TXDATA | 0x0C RXDATA (read clears RX_READY) 0x10 IER [0]=RX_IE |
// Minimal instantiation
spi_slave #(
.ADDR_W(6)
) u_spi_slave (
.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