I/O Interfaces & Buses
Learn about I/O interfaces and buses with multiple-choice questions: PCI Express lanes and bandwidth calculations, SerDes serial links, USB, on-chip buses such as AXI, CXL, and bandwidth versus latency.
Memory bandwidth →Phase noise to jitter →dB and dBm converter →CRC calculator →
I/O Interfaces & Buses: key points
New to this topic? Start with: What Is USB? USB-C vs USB 3, USB4 and Power Delivery / What Is a Printed Circuit Board (PCB)? Layers, Vias, FR-4
Inside a computer, components such as the CPU, memory, GPU, storage and network are connected by various interfaces. For high-speed links, serial transmission, which sends very fast signals over a few wires, has replaced parallel buses with many wires, enabled by transceiver circuits called SerDes.
This topic covers calculating bandwidth from PCI Express lane count and per-lane speed, encoding efficiency, USB basics, on-chip buses such as AXI that connect blocks within a chip, and CXL for sharing memory. Understanding that bandwidth and latency are different quantities reveals what actually limits performance.
All I/O Interfaces & Buses questions (50)
- Why do high-speed connections between chips and boards use serial transmission over a few fast wires rather than parallel transmission over many wires?
- What is the role of a SerDes (serializer/deserializer) in high-speed serial links?
- Why do high-speed serial links use differential signaling, sending opposite signals on two wires?
- What is the role of the clock and data recovery (CDR) circuit in a high-speed serial receiver?
- What is the purpose of 8b/10b encoding (sending 8 data bits as a 10-bit code) in serial links?
- On a link using 8b/10b encoding with a signaling rate of 5 Gb/s, what is the effective data rate?
- Which is closest to the efficiency of the 128b/130b encoding used in PCI Express 3.0 to 5.0?
- Which describes a "lane" in PCI Express?
- What is closest to the effective one-direction bandwidth of a PCI Express 3.0 x16 link (8 GT/s per lane, 128b/130b encoding)?
- For PCI Express generations 3 through 6, how does the per-lane signaling rate change with each generation?
- What is a characteristic of PAM4 (four-level pulse amplitude modulation), used in high-speed serial links?
- Why does forward error correction (FEC) become more important with PAM4 than with NRZ?
- What happens when an x4 PCI Express SSD is plugged into a full-length x16 slot on a motherboard (assuming the slot is wired for at least x4)?
- Which statement about the structure of PCI Express is correct?
- How does communication in PCI Express work?
- What does the PCI Express data link layer do about bit errors during transmission?
- How are the registers and memory of a PCI Express device made accessible to the CPU?
- What is a characteristic of MSI (message-signaled interrupts) used in PCI Express?
- What is the difference between bandwidth and latency in interface performance?
- On a link with 10 GB/s bandwidth and 1 µs latency, roughly how long does it take to send 64 bytes once (time = latency + size ÷ bandwidth)?
- Which is most effective for speeding up a program that exchanges thousands of small pieces of data with a device one at a time?
- Which statement about how USB communication works is correct (for USB, excluding USB4)?
- Which statement about USB Type-C is correct?
- Which describes USB Power Delivery (USB PD)?
- Among USB transfer types, what is characteristic of isochronous transfers?
- Which describes hot plugging, supported by USB and some PCI Express setups?
- Which bus from Arm's AMBA specifications is widely used to connect blocks such as CPUs, memory controllers and peripherals inside an SoC?
- What is a characteristic of the AXI bus?
- In the VALID/READY handshake used on each AXI channel, when is data transferred?
- What is the advantage of burst transfers in AXI?
- In AXI, what is the advantage of issuing the next read request without waiting for the previous one's response (having multiple outstanding requests)?
- What is AXI4-Lite mainly used for?
- What is a characteristic of AXI4-Stream?
- Why do large SoCs use a network-on-chip (NoC) instead of a single shared bus?
- Which describes CXL (Compute Express Link)?
- What is an advantage of memory expansion using CXL (CXL memory)?
- Which correctly lists the three protocols that make up CXL?
- What is the role of equalizers (such as CTLE and DFE) in high-speed serial receivers?
- Which statement about the eye diagram used to assess high-speed serial signal quality is correct?
- Why does raising serial link speed make it harder to send signals over board traces of the same length, sometimes requiring retimers along the way?
- What does a requirement of "bit error rate (BER) at most 10^-12" for a high-speed serial link mean?
- Why are high-speed signal traces designed so that their characteristic impedance matches the transmit and receive circuits?
- High-speed links such as 100-gigabit Ethernet are sometimes built by bundling, for example, four 25 Gb/s lanes. Which describes this approach?
- What is the purpose of spread-spectrum clocking (SSC), used in PCI Express and elsewhere?
- What does it mean that a PCI Express lane is full duplex?
- Which describes the credit-based flow control used in PCI Express?
- In AI systems with many GPUs, why are dedicated high-speed GPU-to-GPU links (such as NVIDIA NVLink) used in addition to PCI Express?
- In PCI Express, sending many packets that each write 64 bytes yields effective bandwidth well below the theoretical figure. What is the main reason?
- Which statement is correct about DMA using a ring of descriptors in memory, as widely used by network cards and NVMe SSDs?
- Which statement is correct about PCI Express link power saving (the L0s and L1 states of ASPM)?
Comparisons in this topic
- NVMe vs SATA SSD: Speed, Interface and Which to BuyNVMe vs SATA SSD compared in a table: interface, speed, latency, command queues, form factor, power, compatib…
- DMA vs Programmed I/O: Differences ExplainedDMA vs programmed I/O (PIO) compared in a table: who moves the data, CPU load, throughput, setup cost, comple…
- PCIe 3.0 vs 4.0 vs 5.0 vs 6.0: Speed and DifferencesPCIe 3.0, 4.0, 5.0 and 6.0 compared in a table: transfer rate, bandwidth per lane and per x4 and x16 link, en…
- NRZ vs PAM4: Key Differences ExplainedNRZ vs PAM4 in one table: bits per symbol, baud rate at the same bit rate, eye opening and SNR, need for FEC,…
- Single-Ended vs Differential Signaling: Key Differences ExplainedSingle-ended vs differential signaling in one table: wire count, reference, noise immunity, EMI, swing and sp…
Books on I/O Interfaces & Buses Ad
As an Amazon Associate I earn from qualifying purchases.
Other topics in Architecture and embedded systems
- Computer Arithmetic IEEE 754, fixed point, rounding error
- CPUs and architecture Pipelining, cache memory, von Neumann
- ISA & Assembly RISC-V, addressing modes, calling conventions
- Memory Hierarchy Caches, replacement policies, 3 types of misses
- Multicore & Synchronization MESI, atomic instructions, memory barriers
- GPU Programming Warps, shared memory, coalescing, occupancy
- AI Hardware & Software Stack Inference vs training, quantization, roofline
- Performance Analysis Amdahl's law, CPI, bottlenecks
- System Architecture and Reliability Redundancy, RAID, backups and cloud
- Power Management DVFS, power gating, sleep states
- Embedded Systems & Firmware GPIO, UART/SPI/I2C, RTOS
- HDL & Verification Verilog, latches, state machines, testbenches
- Hardware Security Side channels, secure boot, TEE, PUF
- Hardware Security: Advanced Topics and Trends Confidential computing, CHERI/MTE, Rowhammer, PQC hardware, supply chain