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
  • Part 8: Sharing and Arbitration12
    • Shared Media and Topologies
    • Arbitration Policies
    • Fairness and Starvation
    • Priority Inversion
    • Arbitration Granularity
    • Distributed Arbitration
    • Quality of Service
    • Virtual Channels
    • Routing
    • Multicast and Broadcast
    • Protocols Compared: Sharing and Arbitration
    • Drills: Sharing and Arbitration
  • 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 8: Sharing and Arbitration
  1. Topics
  2. First Principles of Hardware Protocols
  3. Part 8: Sharing and Arbitration
  4. Protocols Compared: Sharing and Arbitration

Part 8 · Sharing and Arbitration · All levels

Protocols Compared: Sharing and Arbitration

How I2C, CAN, AHB, AXI, PCI Express and on-chip networks decide who gets the wire: arbitration, granularity, QoS, virtual channels and routing.

On this page

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

    Sharing, side by side

    I2C

    CAN

    AHB

    AXI interconnect

    PCI Express

    On-chip network

    Who arbitrates

    The wire (wired-AND)

    The wire (dominant bits)

    A central arbiter

    Arbiters per target port

    Each switch output; endpoints are point-to-point

    Each router output

    Priority comes from

    Address bits

    Identifier bits

    Arbiter policy

    Policy plus AxQOS

    Traffic class, VC arbitration

    Class, VC, age

    Granularity

    Whole transfer

    Whole frame

    Per transfer (locked sequences hold)

    Per transaction; read data per beat across IDs

    Per packet

    Per packet or per flit across VCs

    Isolation between classes

    None

    By identifier priority

    None

    Independent channels

    Virtual channels per traffic class

    Virtual channels per message class

    Routing

    —

    —

    Address decode

    Address decode

    Address and ID routing through switches

    Usually XY in meshes

    What the table shows

    • Slow, shared wires arbitrate on the wire itself; fast on-chip fabrics use central or per-port arbiters.

    • Priority is either built into the message (I2C, CAN) or carried as a field (AxQOS, traffic class).

    • Isolation needs separate buffers: virtual channels in PCIe and networks-on-chip, independent channels in AXI.

    Where each idea is explained

    • 8.2 Arbitration Policies

    • 8.3 Fairness and Starvation

    • 8.5 Arbitration Granularity

    • 8.6 Distributed Arbitration

    • 8.7 Quality of Service

    • 8.8 Virtual Channels

    • 8.9 Routing

    Tip

    For any shared resource, state its arbiter's policy, the longest hold one grant allows, and the resulting worst wait for its most urgent requester.

    Keep going

    Next: Drills: Sharing and Arbitration. Interview questions, a whiteboard exercise and a ten-question checkpoint for Part 8.

    Related topics

    • Part 8 overview: Sharing and Arbitration

    • Course hub

    Previous

    127 / 234

    Next: Drills: Sharing and Arbitration

    Up next

    Up nextDrills: Sharing and Arbitration

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • Shared Media and Topologies
    • Arbitration Policies
    • Fairness and Starvation