Skip to content
VLSI Mentor
All CHI labs
  1. CHI Request and Response Transactions7
  2. CHI Cache Coherency and Snoop Operations8
  3. CHI Ordering, Concurrency, and Advanced Transactions7
  4. CHI UVM Verification and Protocol Checking7
  5. CHI Expert Debugging and Subsystem Integration4
CHI-04CHI Architecture and Link FundamentalsPublished

Design CHI Link-Level Credit-Based Flow Control

Design both ends of L-Credit flow control for one channel — a 4-bit transmitter credit counter and a receiver that promises only free slots — with overflow and underflow checks, conservation assertions and a measured credit round trip.

Foundation~120 min
Concepts covered
  • L-Credits and LCRDV
  • Credit consumption and return in one cycle
  • Overflow, underflow and conservation
  • Credit round trip and buffer sizing
Deliverable
Transmitter and receiver credit logic with boundary flags, five SystemVerilog assertions proven to fire, and a testbench with an independent per-edge model, run at DEPTH 1, 3, 4 and 15.
Prerequisites
  • Link activation (CHI-03)
  • Counter and handshake RTL
Specification
Verified against ARM IHI 0050E.a (§13.7.2, §14.2, §14.5, Table 14-2). One channel; credit return with Link flits during deactivation is CHI-05.
This lab is part of AMBA CHI RTL Design & UVM Verification Labs

Unlock the complete lab with the AMBA CHI RTL Design & UVM Verification Labs collection.

Back to all labs