EE292A Lecture 3.abstractions, Design
EE292A Lecture 3.abstractions, Design
Design Abstractions
Design Abstractions
The Digital Design Flow
Raúl Camposano
Silvaco and Silicon Catalyst
[email protected]
Simplified
general purpose computer Simplified ML Containerized
https://en.wikipedia.org/wiki/Operating_system
Wafer
Die
IDM Integrated Device EDA Tapeout Fab
Manufacturer
Package
April 9, 2024 Stanford EE292A Lecture 9 5
Simplified Fabrication Process (1)
Heat
1. Grow field oxide
ox. Thermal oxidation, 800o-1200o
Optical Lithography
p-type substrate Etch
UV ArF laser 193nm Wet Plasma
2. Etch oxide for pMOSFET Mask
ox.
Mask (pattern)
p-type substrate Photoresist
Heat Arsenic
3. Diffuse n-well Phosphorus
ox.
n-well
p-type substrate
p-type substrate
3. Diffuse n-well
Simplified Fabrication Process (2)
ox.
n-well
p-type substrate
n-well
p-type substrate
Heat
5. Grow gate oxide
Thermal oxidation
ox.
n-well
p-type substrate
n-well
p-type substrate
7.AprilEtch
9, 2024polysilicon and oxide Stanford EE292A Lecture 9 7
ox.
n-well
p-type substrate
n-well
p-type substrate
6. Deposit polysilicon
n-well
p-type substrate
n-well
p-type substrate
9. Grow nitride
Low Pressure CVD (Chemical
ox.
n+ n+ p+ p+ Vapor Deposition) of Si3N4
n-well Insulate
p-type substrate
10. Etch
April 9, 2024 nitride Stanford EE292A Lecture 9 8
ox.
n+ n+ p+ p+
n-well
p-type substrate
9. Grow nitride
11. Deposit metal Barrier Sputtering, accelerating ions towards the target
Masks Seed Sputtering
ox. Film Electroplating
n+ n+ p+ p+ CMP
n-well
p-type substrate
L3 Cache
4Mb
“Twister” CPU
L2
Dual Core
3Mb
FPGA
Source: Altera Corp.
April 9, 2024 Stanford EE292A Lecture 9 15
Design Rules
• Specify the allowed geometries in a given technology, e.g.,
• 28nm bulk CMOS ~2,500 design rules
• 12nm SoI CMOS ~5,000 design rules
• From very simple: distance, width, overlap
• To very complex: antenna, density, cross-coupling, voltage
dependent…
• Used by the Design Rule Checker
L1
Physical
of larger blocks
Design
Mask
• Many algorithms [18, 19], e.g. min-cut, quadratic Physical
placement, force directed, density-based, …
Source: Wikipedia
= +
PMOS Transistor
Circuit
Stick Diagram
Logic, FSM
a
b Circuit
c
abc+d
d
t
z rese
s1
reset
start reset
rese
t
z res
et s2
Logic Synthesis
• RTL languages imply the registers and memory
used, so only the combinational logic in between Circuit
is synthesized.
• Since large part of delays is in the wires, often Mask
combined with floor planning / placement Physical
reset
control code
reset
addr Control
start rese
t
Micro control
z res
et ROM control in
s2
controller signals
in signals
reset
R0
R15
https://www.altera.com/en_US/pdfs/literature/wp/wp-01003.pdf
April 9, 2024 Stanford EE292A Lecture 9 35
Logic Synthesis
Building the FPGA (Altera)
https://www.altera.com/en_US/pdfs/literature/wp/wp-01003.pdf
April 9, 2024 Stanford EE292A Lecture 9 36
Register-Transfer Level
VHDL
Verilog RTL Data Path, Controller
Data Path
• Set of functional units that carry
a + Reg out data processing, typically
b
c
Mux
“n-bit wide”
clk
Controller, Control Logic, Sequencer
• A finite state machine that
FSM
controls the operation of the
data path
clk
April 9, 2024 Stanford EE292A Lecture 9 38
Register-Transfer Level Languages
Hardware Description Language (HDL)
1. VHDL - Very High Speed IC (VHSIC) HDL, IEEE standard 1076
2. Verilog, originally Cadence, IEEE standard 1364
VHDL [6]
Verilog [7, 8, 9] RTL
HLS
• Resource allocation, operators and memory
• Scheduling of operations, data access RTL
• Exploring (architectural) trade-offs
• Generating data path and control logic Circuit
Mask
Physical
bufferi
0
1
2
Multiply 3
images, weights USB USB 4 guess
PHY logic Add 5
Array 6
7
8
9
bufferw
score Max
images addr, reg
R/W
weights addr,
R/W guess
bufferi
index control bufferw R/W
index
score reg
HLS
RTL
Synthesis
Logic
Circuit
Physical
Design
Mask Physical
Cerebras Wafer
What What
• Functionality • PPA: Performance , Power,
• Properties Circuit Area (Cost)
• PPA • NRE: Design effort
• Design Rules (geometry) • TTM: design time
• Litho Mask Physical • Yield / manufacturability,
• Electrical constraints, setup/hold… thermal, peak power,
• Thermal energy,…
• SW
HLS
Formal Ver &
Simulation
RTL
Synthesis
Logic
checking
Equiv.
Static Timing
Analysis Circuit
Physical
Design
Extraction
, LVS
Circuit
Simulation Mask Physical
Fully designed and verified models Incomplete prototypes that can be fabricated
Scala
C++
Chisel EDA
Verilog
Rocket
Core
Caches
SoC
Coprocessor EDA
Tiles
Peripherals
Scala: Programming language supporting OO and Halide: Programming language for writing digital image processing code using
functional programming memory locality, vectorized computation and multi-core CPUs and GPUs
Chisel: Constructing HW in a Scala embedded language CGRA: Coarse-Grained Reconfigurable Array
Rocket: Chip generator written in Chisel
April 9, 2024 Stanford EE292A Lecture 9 50
Summary
• Wafer fabrication involves Lithography, Etching, Deposition, Chemical Mechanical
Polishing, Ion Implantation
• Hardware design uses design abstractions; among the main uses are simulation
(“executing”) and synthesis (successive refinement)
• The main abstractions levels are System, RTL, Circuit and Physical
• Logic synthesis and physical design involve many steps that have been automated