Академический Документы
Профессиональный Документы
Культура Документы
Cell
S
Speaker:
Y.-J. Huang and C.-S.
C S Ho
Verilog/ VHDL
NC-Verilog/ ModelSim
Debussy (Verdi)/ VCS
Logic Synthesis
Conformal/
Formality
Gate Level
NC-Verilog/ ModelSim
Debussy (Verdi)/ VCS
Layout Level
SOC Encounter
Post-Layout
Verification
GDS II
DRC/ LVS (Calibre)
PVS: Calibre xRC/ NanoSim
(Time/ Power Mill)
Tape Out
Advanced Reliable Systems (ARES) Lab.
Syntest
Ph
hysical Com
mpiler/
Mag
gma Blast Fusion
RTL Level
Memory Generator
Subjects
Verilog and Simulation
Design Compiler
SOC Encounter
E
t
Verilog
Synthesizable Verilog
Verilog Basis
p
parameter
declarations
wire, wand, wor declarations
reg declarations
input output
input,
output, inout
continuous assignment
module instructions
gate instructions
always blocks
task statement
function definitions
for, while loop
Better
Cycle
Time
Also, the code coverage of your test benches should be verified (i.e. VN)
Constraints
The area and timing of your circuit are mainly determined by your
circuit architecture and coding style
There is always a trade-off between the circuit timing and area
In fact, a super tight timing constraint may be worked while synthesis,
but failed in the Place & Route (P&R) procedure
Advanced Reliable Systems (ARES) Lab.
Design Compiler
REF:
CIC Training Manual Logic Synthesis with Design Compiler, July, 2006
TSMC 0.18um Process 1.8-Volt SAGE-XTM Stand Cell Library Databook, September, 2003
TPZ973G TSMC 0.18um Standard I/O Library Databook, Version 240a, December 10, 2003
Artisan User Manual
What is Synthesis
Synthesis = translation + optimization + mapping
if(high_bits == 2b10)begin
residue = state_table[i];
[ ];
end
else begin
residue = 16h0000;
end
HDL Source
(RTL)
No Timing Info.
Generic Boolean
(GTECT)
Optimize + Mapping
(HDL Compiler)
Timing Info.
The synthesis is constraint driven and
technology independent !!
Advanced Reliable Systems (ARES) Lab.
Target Technology
Architecture
Optimization
HDL
Compiler
Logic
Optimization
Design
Compiler
Optimized
Gate-Level Netlist
Design Ware
Library
Technology
Library
DW
Developer
Lib
p
Compiler
Compile
Optimized Design
RTL code
or netlist
Compile
Attributes &
Constraints
Schematic
Reports
Technology
Lib
Library
(Can be set by the GUI
interface or user-defined
Script File !!)
(Gate-Level Netlist)
((Timing,
g, Area,, Power,, ,, etc))
Flatten
Structure
Map
(Tslack
l k > 0 denotes
no timing violation)
Reg to Reg
DFF1
D
clk1
DFF2
PATH
Tarrival
clk2
TDFF1 + Tpath
Q
Q
Tarrival
Tsetup
clk2
Trequire
data
Tslack
Memory Compiler
REF:
CIC Training Manual Logic Synthesis with Design Compiler, July, 2006
TSMC 0.18um Process 1.8-Volt SAGE-XTM Stand Cell Library Databook, September, 2003
TPZ973G TSMC 0.18um Standard I/O Library Databook, Version 240a, December 10, 2003
Artisan User Manual
14
Memory Compiler
Artisan SRAM Types:
Generator
ra1sh
SRAM-DP
ra2sh
Hi h D
High-Density
it Si
Single-Port
l P t SRAM
SRAM SP HD ra1shd
SRAM-SP-HD
1 hd
SRAM-DP-HD ra2shd
SRAM-SP-LP
ra1shl
Single-Port SRAM
CLK
Q[n-1:0]
WEN[*]
CEN
OEN
A[m-1:0]
D[n-1:0]
Name
Type
SRAM
Description
Basic Pins
CLK
Input
Clock
WEN[*]
Input
CEN
Input
OEN
Input
A[m-1:0]
Input
Address (A[0]=LSB)
D[n-1:0]
Input
Q[n-1:0]
Q[n
1:0]
Output
tcyc
tckh
tckl
tckh
tckl
CLK
tcs tch
tcs tch
tcs tch
CEN
tws twh
tws twh
tas tah
tas tah
ADD1
ADD2
WEN1
A[ j ]
ta
Q[ i ]
ta
Q1
Q2
tcyc
tckh
tckl
tckh
tckl
CLK
tcs tch
tcs tch
tcs tch
CEN
tws twhh
tws twh
tas tah
tas tah
ADD1
ADD2
tds tdh
tds tdh
WEN1
A[ j ]
D[ i ]
DATA1
DATA2
ta
Q[ i ]
ta
Q1
Q2
Mask-Write SRAM
Word Width: 64 bits
CLK
WEN[*]
CEN
OEN
A[9:0]
D[63:0]
11: No write
10: Write to LSB part
01: Write to MSB part
00: Write to the whole word
1.
word
3.
D[63:0]
WEN = 2b10
word
4.
D[63 0]
D[63:0]
WEN = 2b01
64k RAM
2.
D[63:0]
WEN = 2b11
Q[63:0]
word
D[63:0]
WEN = 2b00
word
Synthesis Flow
Design Import
DFT Insertion
Setting Design
Environment
Compile After
DFT
Setting Clock
Constraints
Assign Violation
Avoidance
Setting Design
Rule Constraints
Naming Rule
Changing
Compile the
Design
Save Design
VLSI Testing
VLSI Testing
IIntroduction
t d ti
Fault modeling
Test
T t generation
ti
Definitions
Design synthesis
Gi
Give an I/O function,
f
ti
develop
d
l a procedure
d
to
t
manufacture a device using known materials and
processes
Verification
Predictive analysis to ensure that the synthesized
design will perform the given I/O function
Testing
A manufacturing step that ensures that the physical
device manufactured from the synthesized design
device,
design,
has no manufacturing defect
Advanced Reliable Systems (ARES) Lab.
Why Testing?
Economy
P
Product
d t quality
lit
Product reliability
Fault
A representation off a physical defect
f
at the abstracted
function level
Error
E
A wrong output signal produced by a defective circuit
It is caused by a fault or a design error
Modern IC Testing
STIL 1 0;
110001001
000111000
101000011
111110001
Test program
Cost of Test
Design for testability (DFT)
Area
A
overhead
h d and
d yield
i ld reduction
d ti
Performance overhead
Manufacturing
g test
Automatic test equipment (ATE) capital cost
Test center operational
p
cost
Defect
Real defects are too numerous and hard to be
analyzed
Fault
Fault is a physical defect in a circuit/system
P
Permanentt Fault:
F lt a fault
f lt th
thatt iis continuous
ti
and
d stable,
t bl
whose nature do not change before, during, and after
testing
Hard fault or solid fault
Stuck-at-faults
Bridging fault
Open fault
Transition fault
Delay fault
Functional fault
RAM coupling and pattern-sensitive faults
Yi
Yield
ld (Y) = No.
N off good
d dies
di per wafer/No.
f /N off di
dies
per wafer
Advanced Reliable Systems (ARES) Lab.
10
50
90
99
FC(%)
99.99
99.97
99.8
98
Stuck-at-fault
Single stuck-at-fault: line has a constant value
Multiple
M lti l stuck-at-fault:
t k t f lt severall single
i l SAF
SAFs occur
at the same time
a
c
a
0
b
0
c
0
0
1
1
1
0
1
0
0
1
1
0
1
0
0
0
0
1
1
c(c/0)
0
c(c/1)
1
0
0
0
1
1
1
Bridging Faults
Two or more normally distinct points (lines) are
shorted together
Two types of bridging faults
Input bridging
Can form wired logic or voting model
Feedback
F db k b
bridging
id i
Can introduce feedback
x1
x2
xn
.
.
.
x1
x2
xn
x1
.
.
.
Yu-Jen Huang
x2
xn
.
.
.
Testing
Testing = test generation + test application +
output evaluation
FC can be determined by fault simulation
Cost of test generation (TG) depends on
Complexity of the fault model
Complexity of the TG algorithm
Complexityy of the DUT
a
0
0
1
1
b
0
1
0
1
c
0
0
0
1
c(c/0)
0
0
0
0
c(c/1)
1
1
1
1
Yu-Jen Huang
Sequential Logic
Harder to test
S
Sequential
ti l circuit
i it h
has memory iin addition
dditi tto
combinational logic
It takes more clock cycles to activate the fault and
propagate the fault effect
Example
x x 1
x x 0
1/0
z H x x
x x 0
x x 0
Yu-Jen Huang
Scan Cell
PO
PI
Combinational Logic
PPI
mux PPO
..
SI
T
clk
lk
Yu-Jen Huang
SO
Automation Layout
REF:
CIC Training Manual Cell-Based
Cell Based IC Physical Design and Verification with SOC Encounter,
Encounter July
July,
2006
CIC Training Manual Mixed-Signal IC Design Concepts, July, 2007
39
Placement&Routing Flow
Netlist (Verilog)
Timing
Ti
i Constraints
C
t i t (sdc)
( d )
IO Constraints (ioc)
IO,, P/G
Placement
Clock Tree
Synthesis
Specify
Floorplan
Timing
Analysis
Timing
Analysis
Post-CTS
Optimization
Pre-CTS
Optimization
Power
Route
Power
Planning
SI Driven
Route
Power
Analysis
Timing/SI
Analysis
GDS
Netlist
Spef
DEF
Standard Cell
The placement site gives the placement grid of a family of
macros
a row
a standard cell
a site
Functional IO PAD
Power/Ground PAD
Corner PAD
Corner1
VDD
O1
Corner2
I2
O2
IOVDD
IOVSS
I3
O3
Corner3
I1
I4
VSS
O4
Corner4
Floorplan
Determine the related
positions of Hard
Blocks
The performance is
highly
g y affected
Corner1
I1
VDD
O1
I2
Corner2
O2
M2
IOVDD
IOVSS
M1
M3
I3
Corner3
I4
VSS
O4
O3
Corner4
Power Planning
Plan the power ring &
power stripe
IR-drop
consideration
CLK
CLK
Power Analysis
IR-drop & electron
migration
Power Route
Connect the power pins of standard cells to the global power lines
Add IO Filler
Fill the gap
between PADs
Connect the
PAD power
rings
g
Routing
Construct the final
interconnections
Post-Layout Verification
Post-Layout Verification do the following jobs:
DRC Flow
Prepare Layout:
Stream in GDSII
Add power PAD text
Stream out GDSII
Stream in Design
Stream in Core GDSII
Stream in IO GDSII
DFII
Library
GDSII
(Virtuosso Layout View)
Advanced Reliable Systems (ARES) Lab.
Stream Out
SPICE Netlist
Simulation
Patterns
Post-Layout
y
Simulation
Simulation
Result
Nanosim