RISC-V branch-trace encoder (N-Trace style) with APB4 slave interface and ASIL B safety monitor. 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:
## What it is
RISC-V branch-trace encoder (N-Trace style) with APB4 slave interface and ASIL B safety monitor.
ISO 26262 (SEooC)
ASIL-B (SEooC) · SPFM 100.00% · LFM 90.00% · PASS
ISO 26262:2018 · FMEDA available · Safety Manual included
| Offset | Register | Description |
|---|---|---|
0x00 | CTRL | [0]=EN [1]=SYNC_REQ (self-clearing) [2]=FIFO_RST (self-clearing) |
0x04 | STATUS | [0]=FIFO_EMPTY [1]=FIFO_FULL [2]=OVERFLOW (sticky, W1C via ISR) |
0x08 | PACKET | (RO) pop one 32-bit packet word (0 when empty) |
0x0C | COUNT | (RO) number of words currently in the FIFO |
0x10 | IER | [0]=NOTEMPTY_IE [1]=OVF_IE |
…1 more registers — see datasheet for the full table.
// Minimal instantiation
trace_enc #(
.ADDR_W(6)
) u_trace_enc (
.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 the safety backbone of an ASIL SoC — error detection, redundancy, and the fault-reaction path that takes the system to a safe state.
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