Hi everyone,
To support those preparing for hardware verification and design roles or for engineers working with the protocol daily, I’ve compiled a curated list of AXI Protocol Interview Questions.
To help you navigate the content effectively, I have categorized the questions into three levels:
Basic Level:
- What are the key features of the AXI protocol?
- Why does AXI have 5 channels? Name them and explain why they are separate?
- Why does the Read operation only have 2 channels while Write has 3?
- Explain the VALID/READY handshake. What are the three possible scenarios for these signals?
- Define "Beat", "Transfer", and "Burst"?
- What are the three burst types in AXI? (FIXED, INCR, WRAP). Give a real-world use case for each ?
- What are the four AXI response types? Explain the scenario when respective response type is received ?
- Can AXI read and write happen simultaneously?
- Can address and data phases overlap?
- Why there is no read response channel in AXI ?
- How do you check handshake correctness?
- In AXI4, can a slave send a Write Response (
BVALID) before the master has finished sending all the data beats (WVALID/WLAST)?
Mid Level:
- Explain the AXI Write & Read transaction sequence with channel flow ?
- What are the different burst types supported in AXI (FIXED, INCR, WRAP)? Explain in detail ?
- Explain out-of-order transaction support in AXI. How is it achieved?
- What is data interleaving in AXI? Is it supported in AXI4?
- What is the role of AXI ID (transaction ID) in AXI channels?
- How are read/write transactions associated in AXI (especially for out-of-order)?
- What happens if a slave does not support out-of-order responses?
- How do you verify out-of-order responses?
- How does back-pressure work in AXI?
- What is the difference between transaction ordering and response ordering?
- Can multiple outstanding transactions exist?
- How do you detect deadlock in AXI?
- What happens if WLAST is asserted early?
- Can RLAST come without valid data?
- Can write response come before all data is sent?
- Can read data start before address handshake?
- In AXI4, if AxLEN = 7 and burst type is INCR, what is the actual number of data beats transferred?
Advance Level:
- Calculate the address sequence for a WRAP burst with:
Start_Address = 0x38,AxLEN = 3, andAxSIZE = 2(4 bytes)? - Why must the Start_Address be aligned for a WRAP burst? (follow up question)
- Calculate the effective bandwidth of a 128-bit AXI bus running at 400MHz, assuming 80% efficiency due to address overhead and arbitration ?
- If a 64-bit master writes to address
0x03, explain how theWSTRB(Write Strobes) bits are set for the first beat? - Why is a burst not allowed to cross a 4KB boundary?
- Explain the difference between Read Interleaving and Out-of-Order (OoO) completion?
- If Master A sends two requests (ID: 0 and ID: 1), can the Slave return ID 1 first? If Master A sends two requests (both ID: 0), can the Slave return the second one first?
- A master wants to transfer 128 bytes starting at 0x100 using INCR bursts. Assume AxSIZE = 4 bytes (32-bit data bus). What is the minimum number of bursts needed if the slave supports max burst length of 16 beats?
- Calculate the wrap boundary and address sequence for a WRAP burst: AxSIZE=4 bytes, AxLEN=7 (8 beats), start address=0x1C?
- If a master issues two read transactions with the same ID but different addresses, and the slave returns data out-of-order, how does the master associate responses?
No comments:
Post a Comment