Introduction to Information Science and Technology

Lecture 6: Computer Systems

Xin Lou

School of Information Science and Technology · Fall 2026

Where We Are

Course Overview

Diagram
Today:Computer Systems
SI100B · EE1 / 38
Where We Are

Lecture 6 Overview

From Python code to CPUs, GPUs, and AI clusters, to AI today and miniCPU.

SI100B · EE2 / 38
SECTION 01 / 04

From Code to CPU

IN THIS SECTION · 12 SLIDES
From Code to CPU

From Python to Instructions

Software translates programs into instructions: binary operations a CPU executes.

SI100B · EE3 / 38
From Code to CPU

Compilers and Assemblers

Grace Hopper
1952: A-0
A compiler translates programs such as C into CPU instructions.
Assembly gives CPU instructions readable names; an assembler turns those names into bits.
Photo: James S. Davis, public domain; facts: CHM / CCH
SI100B · EE4 / 38
From Code to CPU

The Stored-Program Computer

EDSAC replica
1945: von Neumann’s EDVAC report.
1949-05-06: EDSAC first ran.
Programs and data are both bits in memory. An instruction tells the CPU one operation to perform.
Photo: Geni, CC BY-SA 4.0; facts: CHM
SI100B · EE5 / 38
From Code to CPU

RISC-V: An Open Instruction Set

Yunsup Lee and a RISC-V prototype
2010: UC Berkeley project.
2015: RISC-V Foundation. 2020: RISC-V International.
ISA (instruction set architecture): what instructions mean. Microarchitecture: how the CPU runs them. Different designs can share the open RISC-V ISA.
Photo: Derrick Coetzee, CC0; facts: RISC-V International
SI100B · EE6 / 38
From Code to CPU

The Instruction Cycle

Diagram

Get an instruction from memory, understand it, then do it.

SI100B · EE7 / 38
From Code to CPU

Inside a CPU: The Big Picture

I/O means input and output: how a computer receives and sends information.

SI100B · EE8 / 38
From Code to CPU

Control and Datapath

The datapath carries values. Control signals (dashed) tell each part what to do.

SI100B · EE9 / 38
From Code to CPU

Following an Add Instruction

The program counter (PC) holds an address; the next 32-bit instruction is four bytes away.

SI100B · EE10 / 38
From Code to CPU

Pipelining and Hazards

Pipelining overlaps instructions. A data hazard occurs when a needed result is not ready.

SI100B · EE11 / 38
From Code to CPU

Built from Lectures 2 to 5

A CPU unites logic gates (L2), binary (L3), arithmetic (L4), and memory & clock (L5).

SI100B · EE12 / 38
From Code to CPU

Apple Silicon for Mac

Mac mini M1 and iPhone 11 A13 boards
2020
Apple announced a move from Intel to its own Mac chips.
The first M1 Macs arrived later that year.
Photo: Sonic8400, CC BY-SA 4.0; facts: Apple
SI100B · EE13 / 38
From Code to CPU

Clock Rate

Clock rate alone is not speed: core count and parallelism matter just as much.

SI100B · EE14 / 38
SECTION 02 / 04

CPU, GPU and AI Chips

IN THIS SECTION · 11 SLIDES
CPU, GPU and AI Chips

CPU and GPU Cores

Core: a processing unit. CPUs use few large cores; GPUs pack many small parallel units.

SI100B · EE15 / 38
CPU, GPU and AI Chips

Latency and Throughput

SI100B · EE16 / 38
CPU, GPU and AI Chips

Parallel Work

SIMD (single instruction, multiple data): one operation across many pairs at once.

SI100B · EE17 / 38
CPU, GPU and AI Chips

CPU and GPU Today

SI100B · EE18 / 38
CPU, GPU and AI Chips

A Phone Chip: Apple A17 Pro

iPhone 15 Pro, 2023
A17 Pro
CPU: general-purpose tasks.
GPU: graphics and parallel work.
Neural Engine: hardware for AI tasks, such as recognizing speech.
Image and facts: Apple Newsroom
SI100B · EE19 / 38
CPU, GPU and AI Chips

Specialized AI Chips: TPU and NPU

ASIC: a chip built for a specific job. FPGA: a chip whose logic can be rewired after manufacturing.

SI100B · EE20 / 38
CPU, GPU and AI Chips

TPU v2: Matrix Data Flow

The scalar unit handles one value at a time; the vector unit works on groups of values.

SI100B · EE21 / 38
CPU, GPU and AI Chips

From Graphics Cards

GeForce 256
1999
NVIDIA called it the world’s first GPU.
Graphics involves operations on many pixels: tiny dots in an image.
Photo: Hyins, public domain; facts: NVIDIA
SI100B · EE22 / 38
CPU, GPU and AI Chips

Programming GPUs

GeForce 8800 GTX
2006-11-08
GeForce 8800 GTX launch introduced CUDA.
CUDA: NVIDIA tools for programming GPUs beyond graphics. 2007: public toolkit.
Photo: Hyins, public domain; facts: NVIDIA / iTnews
SI100B · EE23 / 38
CPU, GPU and AI Chips

AlexNet, 2012

GeForce GTX 580 card and GF110 GPU
Two GTX 580s, 3 GB each;
5–6 days of training.
15.3% vs. 26.2%
Error when the correct label is missing from five guesses: AlexNet team vs. runner-up.
Photo: Fritzchens Fritz, CC0; facts: Krizhevsky et al., 2012
SI100B · EE24 / 38
CPU, GPU and AI Chips

GPUs in AI Today

Data: NVIDIA annual reports / SEC 10-K

SI100B · EE25 / 38
SECTION 03 / 04

From Chip to Cluster

IN THIS SECTION · 6 SLIDES
From Chip to Cluster

A Computer System

PCIe: common system link. NVLink: fast GPU link. Cluster: networked computers.

SI100B · EE26 / 38
From Chip to Cluster

Moving Data

Bandwidth: data moved per second. Nearby HBM feeds GPU math (PCI-SIG / Micron / NVIDIA).

SI100B · EE27 / 38
From Chip to Cluster

HBM Next to the GPU

H100 GPU and HBM memory (rendering)
HBM (high-bandwidth memory) supplies data to the GPU.
Memory chips sit close to the GPU so they can send lots of data at once.
Image: NVIDIA Hopper architecture blog
SI100B · EE28 / 38
From Chip to Cluster

A Rack as One Computer: NVL72

GB200 NVL72 (rendering)
72 Blackwell GPUs
36 Grace CPUs
A rack is a cabinet holding connected computers.
GPUs linked by NVLink
Image and specifications: NVIDIA
SI100B · EE29 / 38
From Chip to Cluster

AI Clusters

Meta cluster infrastructure (illustration)
Meta, 2024: two clusters, each with 24,576 H100 GPUs.
xAI Colossus, 2024-10: 100,000 Hopper GPUs.
Image: Meta; facts: Meta Engineering / NVIDIA
SI100B · EE30 / 38
From Chip to Cluster

From Transistor to Cluster

SI100B · EE31 / 38
SECTION 04 / 04

AI Today and miniCPU

IN THIS SECTION · 5 SLIDES
AI Today and miniCPU

AI Writes the Code

Data: METR Time Horizon 1.1; model + tools

SI100B · EE32 / 38
AI Today and miniCPU

An AI Reply

Token: a piece of text as a number. Every reply loops across software, memory and GPUs.

SI100B · EE33 / 38
AI Today and miniCPU

From Natural Language to Transistors

Diagram

Each level gives us a different way to describe computation.

SI100B · EE34 / 38
AI Today and miniCPU

Load and Store

Load copies data from memory into a register; store copies it back to memory.

SI100B · EE35 / 38
AI Today and miniCPU

miniCPU: Run a Program

Run the swap on a RISC-V CPU built in Logisim, a circuit simulator.

SI100B · EE36 / 38
Wrap-Up

Key Ideas

Programs and data live in memory; CPUs execute instructions.

Control signals choose where data goes; a pipeline overlaps instructions.

GPUs and AI chips do many calculations in parallel.

Chips, memory and links form systems and clusters.

SI100B · EE37 / 38
Wrap-Up

From Transistors to Natural Language