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.
I/O Interfaces & Buses: key points
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 have high-speed connections between chips and boards moved from parallel transmission over many wires to serial transmission over a few fast 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 has been 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 adopted from PCI Express 3.0 onward?
- 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), adopted in PCI Express 6.0?
- 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 conventional 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 have large SoCs adopted 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)?