Skip to main content

Posts

Showing posts from August, 2026

AXI Verification Interview Questions and Real-World Debugging

AMBA Protocol Series · Part 10 of 10 AXI Verification Interview Questions and Real-World Debugging Common protocol violations, how to read them off a waveform, and a curated set of interview questions with concise, correct answers — the capstone of the core 10-day series. AMBA Protocol Series: From APB & AHB to AXI — A Complete Guide for VLSI Engineers This wraps up the core 10-day series. Everything here draws directly on Days 1–9 — if any answer below feels unfamiliar, that's a good signal for which earlier post to revisit. (If you want to go further, see the 20-day extended list at the end of this post.) In This Article Common Protocol Violations Debugging From a Waveform Interview Questions and Answers Series Recap Extending the Series 1. Common Protocol Violations VALID deasserted before handshake — a source drops VALID before READY ever went high (violates the Day 8 stabi...

AMBA Protocol Verification Using UVM

AMBA Protocol Series · Part 9 of 10 AMBA Protocol Verification Using UVM How a UVM environment is built around an AMBA VIP — driver, monitor, scoreboard, protocol assertions, functional coverage, and the testcases that actually get run against it. AMBA Protocol Series: From APB & AHB to AXI — A Complete Guide for VLSI Engineers Everything from Days 1–8 was about understanding the protocol. Today we look at how that protocol gets verified — the standard UVM architecture teams build around AXI/AHB/APB interfaces, which is also exactly what most AXI verification interview questions are probing for. In This Article What a VIP Actually Is UVM Environment Architecture The Driver The Monitor The Scoreboard Assertions and Functional Coverage Representative Testcases Recap 1. What a VIP Actually Is A Verification IP (VIP) for AXI/AHB/APB is a reusable UVM component package ...

AMBA Protocol Handshake: VALID and READY Explained

AMBA Protocol Series · Part 8 of 10 AMBA Protocol Handshake: VALID and READY Explained The exact handshake rules, timing requirements, backpressure behavior, and the design mistakes that cause the majority of real-world AXI protocol violations. AMBA Protocol Series: From APB & AHB to AXI — A Complete Guide for VLSI Engineers We introduced VALID/READY on Day 5, but the handshake has a small set of precise rules that RTL designers violate surprisingly often — and that verification engineers are expected to check with protocol assertions (which we'll formalize on Day 18). This post is the definitive reference for those rules. In This Article The Basic Handshake Rule Rule: VALID Must Not Wait for READY Rule: VALID Cannot Be Deasserted Before the Transfer Backpressure: What READY Actually Controls Common Design Mistakes Recap 1. The Basic Handshake Rule A transfer on any AXI channe...

AXI Burst Transactions Explained: LEN, SIZE, BURST and Address Calculation

AMBA Protocol Series · Part 7 of 10 AXI Burst Transactions Explained: LEN, SIZE, BURST and Address Calculation INCR, WRAP, and FIXED burst types, exactly how burst length and beat size are encoded, and the address-generation math for every beat in a burst. AMBA Protocol Series: From APB & AHB to AXI — A Complete Guide for VLSI Engineers Burst handling is one of the most reliable ways interviewers separate candidates who've memorized AXI signal names from candidates who actually understand the protocol. This post gives you the exact math, not just the concepts. In This Article AxLEN: Burst Length AxSIZE: Bytes per Beat AxBURST: INCR, WRAP, FIXED Address Calculation Walkthrough WRAP Boundary Calculation Burst Constraints You Must Know Recap 1. AxLEN: Burst Length AWLEN / ARLEN encodes the number of data beats minus one . So AxLEN = 0 means a 1-beat burst, and AxLEN = 15...

AXI4-Lite vs AXI4 vs AXI-Stream: What's the Difference?

AMBA Protocol Series · Part 6 of 10 AXI4-Lite vs AXI4 vs AXI-Stream: What's the Difference? Use cases, feature sets, and transaction types for the three members of the AXI family — and a comparison table you can use to decide which one fits a given block. AMBA Protocol Series: From APB & AHB to AXI — A Complete Guide for VLSI Engineers "AXI" is often used as shorthand for all three of these variants, which causes real confusion in design reviews and interviews. Each one trades away part of full AXI4's capability in exchange for simplicity — and knowing exactly what's traded away is what separates a surface-level answer from a strong one. In This Article AXI4: The Full-Featured Baseline AXI4-Lite: Register Access, Simplified AXI4-Stream: No Address, Pure Data Flow Full Comparison Table Which One Should You Use? Recap 1. AXI4: The Full-Featured Baseline AXI4, c...

AXI4 Protocol Explained: The Complete Beginner's Guide

AMBA Protocol Series · Part 5 of 10 AXI4 Protocol Explained: The Complete Beginner's Guide AXI's five independent channels, the VALID/READY handshake that governs all of them, and why splitting a transaction this way unlocks far higher throughput than AHB. AMBA Protocol Series: From APB & AHB to AXI — A Complete Guide for VLSI Engineers This is the protocol most digital design and verification engineers spend the majority of their career working with. Everything from here through Day 10 builds directly on what's in this post, so take your time with the channel architecture below — it's the single most important mental model in this entire series. In This Article Why AXI Exists The Five Independent Channels The VALID/READY Handshake Write Transaction Flow Read Transaction Flow Key Signals by Channel Recap 1. Why AXI Exists AHB's single shared address/data...

AHB Protocol Explained: Architecture, Signals and Transfers

AMBA Protocol Series · Part 4 of 10 AHB Protocol Explained: Architecture, Signals and Transfers Master/slave architecture, pipelined address and data phases, HREADY, HRESP, and burst transfer types — the mid-performance backbone that came before AXI. AMBA Protocol Series: From APB & AHB to AXI — A Complete Guide for VLSI Engineers AHB introduced the idea that made all later high-performance AMBA protocols possible: pipelining . While one transaction's data phase is completing, the next transaction's address phase can already be underway. It's a single shared bus, so only one transaction is in flight at a time — but overlapping address and data phases still meaningfully increases throughput over APB's fully sequential model. In This Article Master/Slave Topology and the Arbiter Key AHB Signals Address and Data Phase Pipelining HREADY and HRESP Burst Transfer Types Transaction Walk...

APB Protocol Explained with Example

AMBA Protocol Series · Part 3 of 10 APB Protocol Explained with Example APB architecture, every signal in the interface, the three-state transfer state machine, and a complete walkthrough of a read and a write transaction. AMBA Protocol Series: From APB & AHB to AXI — A Complete Guide for VLSI Engineers APB is where most engineers write their first bus-functional model, because it's the simplest protocol in the AMBA family. That simplicity makes it the perfect place to learn how a "transfer state machine" and a basic handshake actually work before we add pipelining (AHB) and multi-channel complexity (AXI). In This Article APB Architecture APB Signals The Transfer State Machine Write Transaction Walkthrough Read Transaction Walkthrough Error Responses with PSLVERR Recap 1. APB Architecture An APB system has exactly one APB bridge (which behaves as the single A...