Skip to content
DenseChip
Learn
PracticeCode labInterview

DenseChip

Navigate

Menu

LearnPracticeCode labInterview

Tools

All toolsSV editorCode repoResume
DenseChip

Practice, courses, and chip-design tools in one focused workspace.

LearnPracticeCode labInterviewToolsLearning paths

© 2026 DenseChip

AboutRoadmapCareersInternshipsFAQContactPrivacyTerms
Skip to lesson

Course contents

  • How to Use This Course
  • Protocol Metrics Reference
  • Protocols Glossary
  • Reading Path
  • Protocol Fundamentals25
    • Layering & Transaction Model
    • Handshake & Backpressure
    • Ordering & Outstanding Rules
      • Ordering & Outstanding Rules: Concepts
      • Ordering & Outstanding Rules: Integration
      • Ordering & Outstanding Rules: Debug
      • Ordering & Outstanding Rules: Interview
      • Ordering & Outstanding Rules: Deep Dive
      • Ordering & Outstanding Rules: Worked Examples
    • Bandwidth & Latency Budgeting
    • Protocol Fundamentals: Tricky Q&A
  • AMBA Family (APB / AHB / AXI)17
  • Coherence Fabrics (ACE / CHI)17
  • Memory Interfaces (DDR / LPDDR / HBM)17
  • PCIe & CXL17
  • Embedded Peripherals (I2C / SPI / UART)17
  • High-Speed I/O (USB / Ethernet / MIPI)17
  • Protocol Verification & Compliance17
  • Protocols Interview Prep5
  • Interface Protocols Cheatsheet
Loading lesson

←Ordering & Outstanding Rules
  1. Topics
  2. Bus Protocols
  3. Protocol Fundamentals
  4. Ordering & Outstanding Rules
  5. Ordering & Outstanding Rules: Integration
On this page

    Interface ProtocolsAll levels

    Ordering & Outstanding Rules: Integration

    Integration for Ordering & Outstanding Rules.

    Integration in practice

    Designing ID spaces

    Allocate ID width for independent ordering streams and queue capacity for outstanding transactions separately. One ID can carry four or more outstanding reads if an ordered per-ID context FIFO tracks them; RID selects the stream, its head selects the transaction. A 2-bit downstream ID port permits four ID values, not necessarily only four outstanding transactions. A bridge may serialize, stall, or queue multiple contexts per mapped ID while preserving upstream order and response association. A design choosing one live context per ID does have a four-context limit, but that is its implementation policy.

    1. Per master: max outstanding reads, max outstanding writes.

    2. ID width: enough for independent ordering streams; ceil(log2(max OSTD)) applies only when every live transaction requires a unique ID.

    3. Per bridge: remap table, per-ID ordered queues, total context capacity, and legal backpressure on exhaustion. Never reuse a mapping while untracked responses remain.

    4. System: document admission/backpressure when requested concurrency exceeds downstream acceptance; not every upstream slot needs a simultaneously available slave slot.

    Software-visible ordering contract

    Deliver a programming guide: which memory regions are strongly ordered, which allow relaxed reorder, where fences are required between CPU and device. Hardware teams often omit this; software discovers bugs in production.

    • Device MMIO: typically strongly ordered — document if not.

    • DMA coherent buffers: hardware coherency ≠ write ordering to doorbell.

    • Shared queues: producer/consumer indices need barrier between data and flag.

    Previous

    18 / 154

    Next: Ordering & Outstanding Rules: Debug

    Up next

    Up nextOrdering & Outstanding Rules: Debug

    Sign in to save progress

    Practice this lessonPrevious lessonReport an error

    See also

    • Ordering & Outstanding Rules: Interview
    • Ordering & Outstanding Rules: Deep Dive
    • Ordering & Outstanding Rules: Worked Examples