The connective tissue that wires your SoC together — one AMBA fabric, any protocol, any clock
The Zen Bus Fabric & Interconnect is the plumbing a client drops between the masters and slaves of their SoC: an N×M full AXI4 crossbar, four ARM AMBA protocol bridges (AXI4 / AXI4-Lite / AHB5 / APB4), and a clock-domain-crossing primitive library — one struct-typed convention end to end. It is a fabric, not a peripheral: there are no software registers to drive. You size and shape it entirely with elaboration-time parameters, then it just carries traffic. Product / integrator view; every number is sourced from the product datasheet or marked TBC with an owner.
1. The fabric in one paragraph
Every block in an SoC needs to reach every other block, and they rarely speak the same protocol or run on the same clock. The Zen Bus Fabric solves both problems in one coherent kit. The N×M AXI4 crossbar routes any master to any slave — per-master address decode, per-slave arbitration, write-data steering locked to its grant, and composite-ID response routing so every reply returns to the right master with its original ID. The four protocol bridges translate an AXI4, AXI4-Lite or AHB5 master down onto AHB5 or APB4 peripherals, decomposing or mapping bursts as the destination demands. The CDC library lets the two sides of any bridge run on independent clocks, safely. Because the whole fabric is fixed at elaboration time — widths, IDs, the address map, arbitration, clock mode — there is nothing to program at runtime and no CSR bank to maintain.
- Zen fabric (crossbar + bridges + CDC)
- your masters / slaves
- clock-domain crossing
SLAVE_BASE/SLAVE_SIZE address map and the clock mode (CDC_ENABLE) are set at instantiation and are not run-time switchable. The dual-clock (CDC_ENABLE=1) envelope is verified at the bridge level; the crossbar's own per-port CDC path ships single-clock (CDC_ENABLE=0) as its verified configuration.2. What it is, at a glance
| Element | Detail | Default | Status |
|---|---|---|---|
| AXI4 crossbar | N×M full crossbar; decode → arbitrate → route; DECERR default slave for unmapped addresses | 2×4 | exists |
| Arbitration | round-robin (fair) or fixed-priority (low index wins), selectable | round-robin | exists |
| Response routing | composite ID {master_idx, master_id} returns each reply to its master | — | exists |
| AXI4 → AHB5 bridge | full burst (INCR/WRAP/FIXED) mapped to AHB bursts | — | exists |
| AXI4 → APB4 bridge | AXI burst decomposed to APB single beats | — | exists |
| AXI4-Lite → APB4 bridge | single-beat register access | — | exists |
| AHB5 → APB4 bridge | AHB transfer decomposed to APB; HPROT→PPROT mapped | — | exists |
| CDC library | 6 primitives: single-FF sync, pulse, handshake, async-FIFO, bus-sync, package | 6 | exists |
| Clock mode | single-clock, or dual-clock through the CDC library | CDC_ENABLE=0 | exists |
| Default widths | AXI4 64/64 · AXI4-Lite 32/32 · AHB5 32/64 · APB4 32/32 (ADDR/DATA) | — | exists |
| Sustained bandwidth / latency (cycles) | functional sign-off shipped; cycle-level timing downstream | TBC | TBC |
Sources: Zen Bus Fabric & Interconnect product datasheet; as-built RTL.
3. Configuring it for your SoC
The fabric has one configuration surface — elaboration parameters — and the defaults come up as a working 2-master × 4-slave AXI4 system.
- Size the crossbar — set
N_MASTERS,M_SLAVES, and the data/ID widths (DATA_WIDTH,ID_WIDTH) to your SoC. Lay out the memory map withSLAVE_BASE_FLAT/SLAVE_SIZE_FLAT; any address that falls in no region returns DECERR from the built-in default slave. - Pick the arbitration policy —
ARB_SCHEME=0for round-robin fairness,=1for fixed priority where the lowest-index master wins. Bound concurrency withMAX_OUTSTANDING. - Add the bridges you need — instantiate the matching bridge to reach each legacy or low-cost peripheral tier (AXI4/AXI4-Lite/AHB5 down to APB4, or AXI4 to AHB5). Bursts are decomposed or mapped automatically.
- Cross clocks where required — set
CDC_ENABLE=1on a bridge to run its two sides on independent clocks; tuneSYNC_STAGESand the request/response FIFO depths. For single-clock builds tie the two clocks together and leaveCDC_ENABLE=0.
interface constructs), so it drops cleanly into an open or commercial synthesis flow.4. Standards, verification & provenance
- AMBA compliance: protocol semantics are re-expressed from the ARM AMBA specifications — AXI4 (5-channel handshakes, INCR/WRAP/FIXED bursts, IDs, response codes), AXI4-Lite (single-beat register subset), AHB5 (pipelined address/data, HTRANS/HBURST, HRESP) and APB4 (PSEL/PENABLE/PREADY, PSTRB, PPROT, PSLVERR). No third-party standard text is reproduced.
- Verification: assertion-based, byte-exact cocotb. Bridges 25/25 PASS; interconnect 7/7 PASS (routing, no-leak, exact B/R + ID, DECERR, 2-master arbitration); CDC dual-clock green across all 4 bridges, single- and multi-beat bursts, over 4 async clock ratios, with no open CDC burst defects. Full portfolio regression 166/166 across 26 suites.
- Errors in-band, not in registers: faults propagate as AMBA response codes (DECERR / SLVERR / HRESP / PSLVERR) — there is no status register to poll.
- Gates & scope: Verilator DV and Yosys §11 synth-check (no inferred latches) both clean. Formal CDC and timing/PPA sign-off are downstream and out of kit scope; cycle-level throughput/latency is not yet characterized (TBC, owner: verif).
Sources read
Sources: Zen Bus Fabric & Interconnect product datasheet; as-built RTL.