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

AboutContactPrivacyTerms
Skip to lesson

Course contents

  • How to Use This Course
  • Reading Paths
  • Concept Map
  • How to Read the Diagrams
  • Part 0: What Is a Protocol?10
  • Part 1: Timing and Clocking11
  • Part 2: Encoding and Framing12
  • Part 3: Handshakes13
  • Part 4: Flow Control17
  • Part 5: Transactions19
  • Part 6: Concurrency and Performance17
  • Part 7: Ordering13
    • Why Ordering Matters
    • Ordering Scopes
    • The Point of Serialisation
    • Early and Final Acknowledgement
    • Fences and Barriers
    • Ordering Tables
    • Relaxed and ID-Based Ordering
    • Same-Address Hazards
    • Interrupt and Data Ordering
    • Memory Consistency Models
    • Ordering Across Bridges
    • Protocols Compared: Ordering
    • Drills: Ordering
  • Part 8: Sharing and Arbitration12
  • Part 9: Deadlock and Liveness13
  • Part 10: Reliability and Recovery20
  • Part 11: Bring-Up and Link Management10
  • Part 12: Power8
  • Part 13: Shared State and Coherence9
  • Part 14: Security and Isolation7
  • Part 15: Specifying and Verifying11
  • Part 16: Protocols Dissected17
  • Part 17: Capstones5
  • Part 18: Interview Preparation6
Loading lesson

‹Part 7: Ordering
  1. Topics
  2. First Principles of Hardware Protocols
  3. Part 7: Ordering
  4. Protocols Compared: Ordering

Part 7 · Ordering · All levels

Protocols Compared: Ordering

How AXI, PCI Express, processor memory models and DCLink answer "in what order do results become visible?": scopes, passing rules, relaxation, fences and write responses.

On this page

    Read across for one system; read down to see how differently the same ordering questions are answered.

    Ordering, side by side

    AXI

    PCI Express

    x86 (TSO)

    Arm / RISC-V (weak)

    DCLink

    Scope of order

    Same ID, per channel

    Per path, per traffic class, by transaction type

    Per core: stores in order; loads may pass stores

    None without barriers or dependencies

    None between tags

    Read vs earlier write

    No order across channels; wait for the write response

    A read may not pass earlier posted writes

    A load may pass an earlier store (different address)

    May reorder

    Wait for CPL or FENCE

    Relaxation

    Use different IDs

    Relaxed Ordering bit, ID-Based Ordering

    —

    The default

    —

    Fence

    None: wait for responses

    None: a read-back flushes posted writes

    MFENCE, SFENCE, LFENCE

    Arm DMB/DSB; RISC-V FENCE; acquire/release

    FENCE request (step 6)

    What a write response means

    Bufferable: accepted; non-bufferable: at destination

    Memory writes get no response

    —

    —

    Performed

    Interrupt ordering

    Wires: separate path

    MSI is a posted write behind the data

    —

    —

    —

    What the table shows

    • Every system orders within a scope, never globally, and leaves the rest to fences, waits or rules.

    • Producer/consumer is the common need: PCIe builds it into its passing rules; AXI leaves it to IDs and responses; processors use barriers or release/acquire.

    • Bridges sit between different vocabularies and must translate each guarantee explicitly (lesson 7.11).

    Where each idea is explained

    • 7.1 Why Ordering Matters

    • 7.2 Ordering Scopes

    • 7.4 Early and Final Acknowledgement

    • 7.5 Fences and Barriers

    • 7.6 Ordering Tables

    • 7.7 Relaxed and ID-Based Ordering

    • 7.10 Memory Consistency Models

    Tip

    For any hand-off in a design, name the data, the flag, and the mechanism that keeps the flag behind the data on every path. If you cannot name the mechanism, you have found a bug.

    Keep going

    Next: Drills: Ordering. Interview questions, a whiteboard exercise and a ten-question checkpoint for Part 7.

    Related topics

    • Part 7 overview: Ordering

    • Course hub

    Previous

    115 / 234

    Next: Drills: Ordering

    Up next

    Up nextDrills: Ordering

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • Why Ordering Matters
    • Ordering Scopes
    • The Point of Serialisation