tsnswitch is a 3-port Time-Sensitive-Networking (TSN) L2 store-and-forward Ethernet switch with an IEEE 802.1Qbv Time-Aware Shaper (TAS), 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:
tsn_switch is a 3-port Time-Sensitive-Networking (TSN) L2 store-and-forward Ethernet switch with an IEEE 802.1Qbv Time-Aware Shaper (TAS), delivered as synthesizable SystemVerilog soft-IP with an APB4-lite control interface and built-in ISO 26262 (ASIL-B) safety instrumentation.
IEEE 802.1Q, 802.1Qbv (TAS), 802.1AS (PTP)
ASIL-B (SEooC) · SPFM 91.00% · LFM 90.00% · PASS
ISO 26262:2018 · FMEDA available · Safety Manual included
| Offset | Register | Description |
|---|---|---|
0x00 | CTRL | [0]=SWITCH_EN [1]=TAS_EN (TAS_EN gates the 802.1Qbv shaper) |
0x04 | STATUS | RO [0]=SWITCH_EN [1]=TAS_EN [2]=SYNC_TIMEOUT [3]=Q_OVF [4]=FLOOD_LAST [7:5]=ACTIVE_GCL_IDX [10:8]=GATE_STATES |
0x08 | GATE_CYCLE | RW: gate-cycle period in clocks (the 802.1Qbv hyperperiod) |
0x0C | SYNC_TMO | RW: max clocks between tick_i strobes (time-sync watchdog) |
0x10 | MACCFG | RW: [7:0]=our switch MAC low byte (modelled VLAN/admin) |
…9 more registers — see datasheet for the full table.
// Minimal instantiation
tsn_switch #(
.ADDR_W(6)
) u_tsn_switch (
.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