FVO — Formal Verification Online
Chapter 14

Handshakes and Credit-Based Flow Control

The protocols that move data between blocks — valid/ready, four-phase and two-phase req/ack, and credit-based flow control — and how to write assumptions, assertions and conservation invariants for them. Ends with a lab that hunts a lost credit.

Advanced⏱ ~80 min6 lessons

What you will learn

Lessons

  1. 14.1Handshakes: who promises whatProducers, consumers, and the assume/assert split.
  2. 14.2Valid/ready: the rules and the waveformsHold, stability, transfer, independence and no X.
  3. 14.3Four-phase and two-phase req/ackReturn-to-zero handshakes and toggle (transition) signalling.
  4. 14.4Credit-based flow control explainedCounting free slots instead of asking "are you ready?" every cycle.
  5. 14.5Formal properties for a credit linkOverdraft, overflow, conservation, deadlock and liveness.
  6. 14.6Lab: hunting a lost creditA credit link with a one-line priority bug that simulation rarely notices.
  7. ✎Chapter quiz (5 questions)

Key takeaways

Related guides

Was this page helpful?

Tip: select any text on the page before clicking Report and it will be quoted in your report.