Skip to question
asic.fyi
DesignVerificationSystemVerilogFirmwareArchitectureInterviews
asic.fyi/Interview questions/Verify a four-by-four AXI bridge

Hardware interview practice

Verify a four-by-four AXI bridge

MediumUVMSystemVerilog

Four AXI masters share a bridge to four slaves. Address selects the slave, and responses may reorder across IDs. Design a UVM environment and test plan for the bridge.

Try it in the question bankReason first. Then compare.

Keep this exact question selected while you check your answer and review the full solution.

Practice this question →
Starting point

Question code

4 AXI master-side interfaces
4 AXI slave-side interfaces
address map: one range per slave
ID width: 4 bits
per-slave round robin: a continuous requester is served within 4 accepted address transfers when the target accepts continuously
active-low synchronous reset
Reviewed example

Work through one case

Input
Case 1: Master 2, ID 5, address in slave-3 range
Case 2: IDs 1 and 2
Case 3: An unmapped address
Expected output
Case 1: Must exit slave 3 and return to master 2.
Case 2: May respond in reverse issue order; two ID-1 requests may not.
Case 3: Returns DECERR and creates no slave transfer.

The shown result follows by applying this rule: Prediction includes address routing and response return routing. The cases also demonstrate this requirement: Cover every master × slave × response and concurrent requests from all four masters.

What to cover

Requirements

  1. Use active master agents, passive monitors on both sides, an address predictor, and an ID-aware scoreboard.
  2. Check arbitration, decode errors, reset in flight, and backpressure. Assert that a continuously requesting master is served within four eligible address handshakes whenever the selected slave remains able to accept.
  3. Enforce order within one ID while permitting legal reordering across different IDs.
  4. Cover every master × slave × response and concurrent requests from all four masters.
Continue practicing

Related questions

UVMMatch out-of-order AXI read responses→Design VerificationDistinguish AXI-Lite from AXI3→Waveform DebuggingAXI Write Address Changes While Stalled→
asic.fyi · Learn silicon end to end.info@asic.fyi