Learning Tracks
Protocols
Handshakes, bursts, ordering and byte lanes, then the AMBA buses AXI, APB and AHB, each checked on a bench you drive.
How do blocks talk to each other?
Protocols
The rules every bus shares: handshakes, bursts, pipelining, flow control, ordering, byte lanes and arbitration, taught on a generic link and checked on a bench you drive.
105 lessonsOn-Chip Interconnect Protocols
Bus basics, then the AMBA buses: AXI, APB and AHB.
-
P1
Protocol Fundamentals
11 lessonsWhat every bus shares, taught on a generic link: why a bus needs rules, clocks and sampling, the valid/ready handshake, beats and transactions, pipelining and throughput, flow control, ordering and tags, byte lanes, arbitration, turning a spec sentence into a check, and a capstone bug hunt.
- P1.1Why a Bus Needs Rules
- P1.2Clocks, Edges and Sampling
- P1.3Handshakes: Request and Acknowledge, Valid and Ready
- P1.4Transactions: Beats, Bursts, Split and Posted
- P1.5Pipelining, Outstanding Transactions, Latency and Throughput
- P1.6Flow Control: Backpressure, FIFO Depth and Credits
- P1.7Ordering, Tags and Out-of-Order Completion
- P1.8Addresses, Widths, Byte Lanes and Alignment
- P1.9Arbitration, Fairness and Atomic Access
- P1.10From the Spec to a Check
- P1.11Capstone: The Generic Link Bug Hunt
-
P2
AXI
18 lessonsAXI as a reference: the five channels, the handshake and reset, the write and the read, outstanding transactions, bursts and the address of every beat, narrow and unaligned transfers onto memory, strobes, IDs and same-ID order, out-of-order and interleaving, the ordering model, responses and exclusive access, the request attributes, AXI4-Lite and the family, the protocol checker, a UVM agent, and a capstone bug hunt.
- P2.1AXI in One Picture
- P2.2The Handshake, the Clock and Reset, AXI Style
- P2.3The Write Transaction: AW, W and B
- P2.4The Read Transaction: AR and R
- P2.5Outstanding Transactions and Throughput
- P2.6Bursts and the Address of Every Beat
- P2.7Narrow Transfers, Byte Lanes and Width Conversion
- P2.8Unaligned Transfers: Mapping Any Transfer onto Memory
- P2.9Write Strobes, Byte Invariance and Read-Modify-Write
- P2.10IDs and Same-ID Order: Why Responses Come Back in Order
- P2.11Different IDs: Out of Order and Interleaving
- P2.12The Ordering Model: Reads Versus Writes
- P2.13Responses and Exclusive Access
- P2.14Memory Attributes, Protection and QoS: The Signals You Get Asked About
- P2.15AXI4-Lite, AXI3 and AXI5: The Family
- P2.16The AXI Protocol Checker
- P2.17An AXI Agent, Monitor and Scoreboard
- P2.18Capstone: AXI Bug Hunts
-
P3
APB
10 lessonsAPB as a reference: where it sits and why every transfer takes two cycles, setup, access and the state machine, wait states, errors, strobes and protection with APB5, decoders and the read multiplexor, the AXI-to-APB bridge, the protocol checker, a UVM agent with the register adapter, and a capstone bug hunt.
- P3.1APB in One Picture
- P3.2The Transfer: Setup, Access and the State Machine
- P3.3Wait States and PREADY
- P3.4Errors: PSLVERR
- P3.5Strobes, Protection and APB5
- P3.6Many Completers: Decoder and Read Mux
- P3.7The AXI-to-APB Bridge
- P3.8The APB Checker
- P3.9An APB Agent and the Register Adapter
- P3.10Capstone: APB Bug Hunts
-
P4
AHB
12 lessonsAHB as a reference: the pipelined bus in one picture, address and data phases, HTRANS, wait states and what may change, the two-cycle ERROR, bursts and the address of every beat, sizes, lanes and strobes, the decoder, multiplexor and default subordinate with an APB bridge, locked and exclusive access, the protocol checker, a pipelined UVM agent, and a capstone bug hunt.
- P4.1AHB in One Picture
- P4.2Address Phase, Data Phase
- P4.3HTRANS: IDLE, BUSY, NONSEQ, SEQ
- P4.4Wait States and What May Change
- P4.5The Two-Cycle ERROR
- P4.6Bursts: The Address of Every Beat
- P4.7Transfer Size, Byte Lanes, Strobes and Width
- P4.8Decoder, Multiplexor and the Default Subordinate
- P4.9Locked Transfers, Protection and Exclusive Access
- P4.10The AHB Checker
- P4.11An AHB Agent: The Pipelined Driver and Monitor
- P4.12Capstone: AHB Bug Hunts
Peripheral & Serial Interface Protocols
Serial fundamentals, then UART, SPI and QSPI, I2C and I3C.
-
P5
Serial Communication Fundamentals
11 lessonsThe questions every serial link answers: serial against parallel, how the receiver knows when to sample, duplex and topology, push-pull and open-drain drivers, framing and bit order, addressing and arbitration, error detection, flow control, the synchronizer on a serial input, when a wire becomes a transmission line, and how to choose between UART, SPI, QSPI, I2C and I3C.
- P5.1Serial vs Parallel
- P5.2How the Receiver Knows When to Sample
- P5.3Duplex and Topology
- P5.4Line Drivers: Push-Pull and Open-Drain
- P5.5Framing, Bit Order and Endianness
- P5.6Addressing and Arbitration
- P5.7Detecting Errors
- P5.8Flow Control
- P5.9Crossing into the Receiver's Clock
- P5.10When a Wire Becomes a Transmission Line
- P5.11Choosing a Serial Protocol
-
P6
UART
7 lessonsThe asynchronous serial link: the five serial links in one picture, the frame, the sixteen-tick receiver and its sample point, the measured baud-mismatch budget, framing, parity, overrun and break, flow control and baud divisors, and a capstone monitor, checker and fault matrix.
-
P7
SPI and QSPI
14 lessonsSPI from the wires up, the four modes and why a wrong mode is a one-bit shift, the half-cycle timing budget, many peripherals on one bus, a mode-generic monitor, then a quad flash on the wire: the command grammar, four bidirectional pins and who drives them, program and erase with WEL and BUSY, execute-in-place with burst wrap, a capstone bug hunt, then the rest of the datasheet: write protection and locks, erase sizes with suspend and resume, IDs, security registers, power-down and reset, and the power-up and pin timing a controller must meet.
- P7.1SPI in One Picture
- P7.2The Four Modes: CPOL and CPHA
- P7.3Timing: Setup, Hold and the Half-Cycle Budget
- P7.4Many Peripherals: CS, Daisy Chain and Tri-State
- P7.5The SPI Monitor and Checker
- P7.6From SPI to QSPI: The Flash Command Model
- P7.7Quad I/O on the Wire: Four Bidirectional Pins
- P7.8Program, Erase and the Status Register
- P7.9XIP, Continuous Read and Burst with Wrap
- P7.10Capstone: A QSPI Controller and Flash Bug Hunt
- P7.11Write Protection: Ranges, Locks and /WP
- P7.12Erase Sizes, Quad Program, Suspend and Resume
- P7.13IDs, Security Registers, Power-Down and Reset
- P7.14Power-Up, Pin Timing and DC Levels
-
P8
I2C
13 lessonsThe two-wire bus from the wired-AND up: START, STOP and repeated START, the ninth clock and who drives it, 7-bit, 10-bit and reserved addresses, clock stretching, synchronisation and arbitration between controllers, the Table 11 timing and the pull-up window, stuck-bus recovery, Fast-mode Plus and High-speed mode with its mixed-speed bridge, a monitor, an intent checker and a UVM agent, a capstone bug hunt, the write-only Ultra Fast-mode bus, and heavy buses: drive, buffers, series resistors and wiring.
- P8.1I2C in One Picture
- P8.2Bits, START, STOP and Repeated START
- P8.3Bytes, ACK and NACK
- P8.4Addressing: 7-bit, Combined Format, 10-bit, Reserved
- P8.5Clock Stretching
- P8.6Clock Synchronisation and Arbitration
- P8.7Timing: Table 11 and the Pull-Up
- P8.8Stuck Buses, Bus Clear and Resets
- P8.9Fast-Mode Plus and Hs-Mode
- P8.10The I2C Monitor, Checker and Agent
- P8.11Capstone: I2C Bug Hunts
- P8.12Ultra Fast-Mode: The Write-Only Bus
- P8.13Heavy Buses: Drive, Buffers, Series Resistors and Wiring
-
P9
I3C
9 lessonsI2C's two wires at 12.5 MHz: SDR frames and the T-bit, legacy I2C targets behind a 50 ns filter, open-drain and push-pull phases, dynamic address assignment, common command codes, in-band interrupts and hot-join, the HDR patterns and error recovery, a capstone bug hunt on a mixed bus, and handing the bus to a secondary controller.
- P9.1I3C in One Picture
- P9.2SDR Frames and Legacy I2C Coexistence
- P9.3Open-Drain and Push-Pull Phases
- P9.4Dynamic Address Assignment
- P9.5Common Command Codes
- P9.6In-Band Interrupts and Hot-Join
- P9.7HDR Patterns and Error Recovery
- P9.8Capstone: The I3C Target Bug Hunt
- P9.9Secondary Controllers and the Mastership Handoff
High-Speed Interface Protocols
The links that carry data off the chip at speed.
Coming soonNo lessons match that search. Try a shorter topic or clear the search.