Fundamentals of Microelectronics 2. Asics Design 3. Static Timing Analysis 4. Introduction To Library Formats
Fundamentals of Microelectronics 2. Asics Design 3. Static Timing Analysis 4. Introduction To Library Formats
1. Fundamentals of Microelectronics
2. ASICs design
3. Static Timing Analysis
4. Introduction to library formats
Vo Thi Phuong Chi
FUNDAMENTALS OF
MICROELECTRONICS
▸When logic 1 is applied as input, NMOS transistor turns ON and PMOS
1
transistor turns OFF. At that point, NMOS pulls up the output voltage to logic
1. We have the equation Vgs = Vg – Vs = Vin – Vout, or Vout = Vin – Vgs. We also
have the saturation region of NMOS operation as V gs > Vth. In order for Vout to
get pulled up to the point where it equals to V in, the value of Vgs has to be 0.
Why CMOS However, when Vgs gets to where Vgs < Vth, NMOS has already reached cut off
structure
region. Hence, the output voltage only gets pulled up to the point where V out =
always pull-up
Vin – Vth.
PMOS and
pull-down ▸When logic 0 is applied as input, NMOS transistor turns OFF and PMOS
NMOS, not transistor turns ON. For this reason, the output voltage must be pulled down
to logic 0 by PMOS. We have the saturation region of PMOS operation as V sg
reverse?
> |Vth| (Vth < 0), or Vout – Vin > |Vth|, which leads to Vout > |Vth| + Vin. Because Vth is
always present regardless of Vin getting pulled up to logic 0, Vout will always
2
1. Net delay:
▸ Net delay (wire delay) is the difference between the time a signal
is first applied to the net and the time it reaches other devices
connected to that net.
▸ There are some factors which affect net parasitic:
What factor • Net Length
affect to cell • Net cross-sectional area
and net delay? • Resistively of material used for metal layers (Aluminum vs.
copper)
• Number of vias traversed by the net
• Proximity to other nets (crosstalk)
2. Cell delay:
What factor
affect to cell
and net delay?
2
▸ There are 3 factors which affect propagation delay:
• Input Slew: The transition time at the input i.e. the time it
takes for an input pin (input capacitance) to switch between
logic states (low-high or high-low). Net cross-sectional area
3
▸
threshold currents and by reverse biased diodes in a CMOS
transistor.
• There are still other leakage components, like gate induced drain
What is leakage
leakage (GIDL) and punch through current, however those ones
power?
can be still neglected in normal operation of digital circuits.
(definition, how
it happend,
formula, what
factor affect to
leakage power)
a. Subthreshold Current:
3
• It is the current between the source and drain of a MOSFET when
the transistor is in subthreshold region, or weak-inversion region,
that is, for gate-to-source voltages below the threshold voltage.
What is leakage
power?
(definition, how Wµ0Cox VT 2e1.8
it happend, o I0 = L
o VT = is the thermal voltage
formula, what
o Vth : the threshold voltage
factor affect to o Vds and Vgs : the drain-to-source and gate-to-source voltage respectively.
leakage power) o W and L: the effective transistor width and length, respectively.
o Cox : the gate oxide capacitance
o µ0 : the carrier mobility
o n : the subthreshold swing coefficient.
b. Gate Oxide Tunneling Current:
3
• The tunneling of electrons (or holes) from the bulk and source/drain
overlap region through the gate oxide potential barrier into the gate
(or vice-versa) is referred as gate oxide tunneling current.
• Gate leakage current increases exponentially with decreasing oxide
thickness.
What is leakage
power?
(definition, how
it happend,
o
W and L : the effective transitor width and length
formula, what o A = q3/16π2hφox
factor affect to o b = 4π 2m φoxox /3hq
3/2
3 • The MOS transistor has two pn junctions – drain and source to well junctions.
These junctions are typically reverse biased, causing a pn junction leakage
current. This current is a function of junction area and doping concentration.
When ‘n’ and ‘p’ regions are heavily doped, band-to-band tunneling (BTBT)
What is leakage leakage dominates the reverse biased pn junction leakage mechanism.
power? • A high electric field across a reverse biased pn junction causes a current flow
(definition, how through the junction due to tunneling of electrons from the valence band of
it happend, the p-region to the conduction band of the n-region.
formula, what
factor affect to
leakage power)
3
What is leakage o A = 4π2m*q3 / 4π3h2
power? o B = 4π2m*q3 /3hq
(definition, how o m* : the effective mass of electron
it happend, o Eg : the energy-band gap
formula, what o Vapp : the applied reverse bias
factor affect to o E : the electric field at the junction
leakage power)
o q : the electron charge
o h : 1/2 π times the Planck’s constant
3
Factors affect to leakage power:
▸ Leakage power of a CMOS transistor depends on gate length and oxide
layer thickness
5
▸ Routing congestion occurs when too many routes need to go through an area
that does not have enough resources - or “routing tracks” - to accommodate
them.
What is routing
congestion?
How to improve
routing Floorplan-induced congestion
congestion?
5
c. HOW TO IMPROVE ROUTING CONGESTION?
▸ Modify floorplaning (moving macros, creating more space around
the macros, creating placement blockages, rearranging the macro
placement or orientation, change core shape/size...).
PHYSICAL
FLOORPLAN PLACEMENT CTS ROUTING CHIP FINISH STA
VERIFICATION
6 FLOORPLAN
The floorplanning problem is performing a
floorplan-level placement of macros at the
beginning of the design.
Major task: Goal:
• Chip Size decision • Miniminal chip size
• I/O pad arrangement • Routable
• Macro arrangement • Good for timing optimization
• Module placement guidance • Strong (enough) Power and Ground
• Power Ground structure creation
6 FLOORPLAN
Input: Output:
• Netlist (.v) • Die/Core Area
• Technology file (techlef) • I/O placed
• Timing Library files (.lib) • Macros placed
• Physical library (.lef) • Power Grid designed
• Synopsys design constraints • Standard Cells placement area
(.sdc)
6 FLOORPLAN
Steps in Floorplan:
• Initialize with Chip & Core Aspect Ratio
• Initialize with Core Utilization
• Initialize Row Configuration & Cell Orientation
• Provide the Core to Pad/ IO spacing Important steps in Floorplan:
• Pins/ Pads Placement • Core boundary
• Macro Placement by Fly-line Analysis • Pins Placement
• Macro Placement • Macro Placement
• Blockage Management (Placement/Routing) • Creating Power Rings and Straps
6 PLACEMENT
Placement is the process of placing standard cells in
the design. The tool determines the location of each
standard cell on the die.
Placement does not only just place standard cells available in the synthesized netlist but also
optimizes the design and determines the routability of design.
Goal:
• Timing, Power and Area Optimization
• Minimum Congestion
• Minimal cell density, pin density and congestion hot-spots
• Minimal timing DRVs
6 PLACEMENT
Input: Output:
• Netlist (.v) • Congestion report
• Technology file (techlef) • Timing report
• Timing Library files (.lib) • Logs
• Physical library (.lef) • Placement DEF file
• Synopsys design constraints (.sdc) • Design with all std cells placed in core area
• Floorplan & Powerplan DEF file
Input information:
Netlist
Mapped and floorplanned design
Logical and physical libraries
Design constraints
Detailed placement
Placement optimization
Output information:
Physical layout information
Cell placement locations
Physical layout, timing, and technology information of reference libraries
6 CLOCK TREE SYNTHESIS (CTS)
2. Clock skew:
• Positive skew
• Negative skew
• Global skew
• Local skew
• Boundary skew
• Useful skew
6 ROUTE
Objectives:
• Minimizing the total wire length, the number of vias.
• Each net meeting its timing budget.
Global Routing:
6
• Region definition
• Region assignment
ROUTE • Pin assignment to routing regions
Track Assignment:
Routing steps: • Assigns each net to a specific track and
lays down the actual metal traces
• Makes long, straight traces
• Reduces the number of vias
Detailed Routing:
• Maze
• Line-Probe
• Channel Routing
• Channel vs. Switchbox
• Via / Noise / Shielding…
6 CHIP FINISH
Whole wafer is divided into small die and each die contains an
individual IC. Later we cut and separate each die and do IC
Packaging.
So we have same gds for each ICs but fabricated at different die
having different location on a wafer and different lots of wafers.
2. Source of Variations:
8 What is OCV? How it affects to timing results?
2. Source of Variations:
a. Variation in Process:
If any of the factors mentioned above varies during the fabrication process, It will affect the drain
current. The delay of a cell is dependent on the drain current so due to process variation, the
delay of a standard cell is going to vary.
2. Source of Variations:
b. Variation in Voltage:
Standard cells get power from the power pad though power stripe and rails
It is fairly possible that the effective interconnect length (rails + stripe) for two standard
cells placed in different locations could be different.
There will be a variation of available VDD for the standard cells depending on the design.
Delay of a cell is dependent on the available VDD, If VDD is less delay will be more.
8 What is OCV? How it affects to timing results?
2. Source of Variations:
b. Variation in Temperature:
One factor in ambient temperature on which chip is being operated. But transistor’s characteristics
mainly depends on Junction temperature.
Junction temperature is sum of ambient temperature and temperature raised due to power
dissipation of transistors.
Based on placement density and power requirements, there are formation of local hotspot on a
particular area of core.
9 Research and explain about "useful skew" technique.
Oasis is new format of GDS so we can use both of them or convert them.
Oasis is a smaller file size over GDSII format.
The smaller file sizes may result in faster loading.
However, due to its internal structure, increased processor capacity is needed to parse
these files.
It may nullify performance gains conferred because of smaller file size.
Oasis file format is not as common as the GDSII file format.
10 CDL (Circuit Description Language)
CELL view : it is a full layout of the block and used at the time of tape out.
FRAM view : this is an abstract view that has only the pins, metals, via and blockages that
are used in Placement & Route stages. This makes sure that the interconnection between
the pins can be routed automatically and the routing tool will not route over existing
metal/via areas otherwise any shorts will come into the picture.
10 NETLIST
Textual description of circuits components (logic gates, combinational circuits, sequential circuits),
so netlist is a collection of gates.
It contains the logical connectivity of all the cells.
It can also be a collection of resistors, capacitors or transistors.
PnR designer using Verilog netlist at input of initial phase.
10 SDC (Synopsys Design Constraints)
These are timing constraints and clock exceptions in SDC.
Timing Constraints:
Timing Exceptions:
• Create generated clock
• Virtual clock • Multicycle Path
• Input / output delay
• False Path
• Max / min delay
• Max transition • Half Cycle Path
• Max capacitance
• Disable timing arcs
• Max fanout
• Clock latency • Case analysis
• Clock uncertainty etc.
THANKS!