EE292A Lecture 4.verification
EE292A Lecture 4.verification
Raúl Camposano
Silvaco and Silicon Catalyst
[email protected]
ip ip
System
ip
HLS
Functional
Verification
RTL
Synthesis
Logic
Check
Equiv.
Electrical Circuit
Verification
Physical
Design
Extraction
LVS Mask Physical
Physical
Verification
Design
, DUT
clk=0, reset=0, load=0, count=00
Results
Simulator
clk=1, reset=0, load=0, count=01
clk=0, reset=0, load=0, count=01
01000101010001111101010
clk = 1’b0;
count_input= 8’h0; out = 8’b0;
enable = 1’b1;
load = 1’b1;
count_input= 8’h0;
out = 8’b0;
Scala, Verilog
“Non-blocking”
• Sequential behavior, imperative / Always @(posedge clk)
procedural language like C, Java begin z
z <= t1 | t2 a
t2 <= ˜a & b b t2
t1 <= a & ˜c a
Verilog IEEE standard 1800-2012 c t1
VHDL IEEE standard 1076-2008
clk
April 11, 2024 Stanford EE292A Lecture 18 7
Main Simulation Approaches
Approx. achievable speed
• Simulation
102Hz
• HW acceleration
• Runs simulator in special purpose HW
• Testbench on computer or HW 104Hz
• Emulation
• Emulating a design on a special purpose 106Hz
emulation system, typically FPGA based
• Requires “synthesis” to the target system
• FPGA prototype
108Hz
State1
out1
Design 1
X1, X2, X3… f(X1, X2, X3…)
Design 2 out2
G C L
Initial operating point
DC 1/R I=0 V=0
Linearize G Conductances
Transient 1/R I=C dV/dt I=1/L⎰Vdt
Solve G V = I V Voltages
I Currents AC 1/R I=jwCV I=V/jwL
Next t
V,I, controlled sources, mutual Inductors…
Kirchhoff
Nodal Analysis
0 = $ 𝐼𝑏
a
• Otherwise
• Distributed elements, transmission lines
• Electromagnetic solver
=
a
b
a
c
a
b
=
April 11, 2024 Stanford EE292A Lecture 18 21
Signoff
Fab / Foundry Design
PDK
Symbol Schematic Timing
P DRM
Pcell
PEX
Layout
Extraction
DRC / ERC / LVS
Power
Process & Design Rule Rules DRC
MDP limits Manual Model Spice
• Dynamic Power
• Transistor switching 𝛼 CVDD2f
• Gate + wire capacitance
• nMOS and pMOS both “on” is ~10% dynamic power
Gate IGate
VDD-IR VDD
• IR drop 𝐴
R = 𝜌𝐿/𝐴 𝐿
𝜌 = 1.637 𝜇Ohm / cm for copper https://www.semiwiki.com/forum/content/
2957-signoff-summit-voltus.html