Documente Academic
Documente Profesional
Documente Cultură
FRAMEWORK
Full custom design is the process of developing the layout from the scratch. Designs
can be altered for increase in speed, capacitive load, area etc. All the wires in layout
are placed manually. The designer has the freedom to properly optimise his designs
pg. 1
Standard Library Cell Design using 45nm Technology
pg. 2
Standard Library Cell Design using 45nm Technology
INTRODUCTION
pg. 3
Standard Library Cell Design using 45nm Technology
pg. 4
Standard Library Cell Design using 45nm Technology
pg. 5
Standard Library Cell Design using 45nm Technology
pg. 6
Standard Library Cell Design using 45nm Technology
During the pin routing the metal should be on track and metal jogs
should be avoided.
pg. 7
Standard Library Cell Design using 45nm Technology
pg. 8
Standard Library Cell Design using 45nm Technology
STICK DIAGRAM
pg. 9
Standard Library Cell Design using 45nm Technology
Rule 3.
When a poly crosses diffusion it represents a transistor.
pg. 10
Standard Library Cell Design using 45nm Technology
Rule 4
pg. 11
Standard Library Cell Design using 45nm Technology
pg. 12
Standard Library Cell Design using 45nm Technology
pg. 13
Standard Library Cell Design using 45nm Technology
compactor translates the design rules into a set of constraints on the component
positions, and solve a constrained optimization problem that attempts to minimize
the area or cost function. The advantage of this symbolic approach is that the
designer does not have to worry about design rules, because the compactor ensures
that the final layout is physically correct. The disadvantage of the symbolic approach
is that the outcome of the compaction phase is often unpredictable. The resulting
layout can be less dense than what is obtained with the manual approach. In addition,
it does not show exact placement, transistor sizes, wire lengths, wire widths, tub
boundaries.
Wiring Track is the space required for a wire Example, 4λ width, 4λ spacing from
neighbour = 8λ pitch Transistors also consume one wiring track.
well spacing: wells must surround transistors by 6λ Implies 12λ between opposite
transistor flavours Leaves room for one wire track
pg. 14
Standard Library Cell Design using 45nm Technology
pg. 15
Standard Library Cell Design using 45nm Technology
Standard cells do come in difference heights. Single height cells, double height cells.
But this is again mostly limited to few variants. Primary reason is the combination
of site row, unit tile, and power rail alignments.
Standard cells have PG rails on top, bottom of cell so that cells sitting on
top/bottom of existing std cell can be flipped to make use of single power rail to
connect two sets of std cell rows. Let’s say double height cell sits adjacent to single
pg. 16
Standard Library Cell Design using 45nm Technology
height cell, then double height cell center would have a dummy pg rail just to abut
to the cells sitting around without creating shorts or drc.
Track
Track is generally used as a unit to define the height of the std cell.
The Track number quantifies the distance in M1 pitch lengths between VSS and
VDD for the used standard cell. So this is the "height" of the cell perpendicular to
the Poly Gates.
High density cells are mainly used where we are considering area into
consideration and we are ready to compromise for the performance. So usually the
high density cells have less number of tracks when compared to height performance
cells.
A 12 track cell will be taller than a 9 track cell. A 12 track std cell will be
taller, that means more metal 1 routing space is available within the cell, hence cells
will be faster. Where as in a 9 track cell, the cell will be compact, but speed is less
compared to 12 track.
pg. 17
Standard Library Cell Design using 45nm Technology
Pitch
It is the center to center distance of between the metals having Minimum width and
minimum spacing. The minimum width & min spacing could be different. it is
usually decided by the manufacturing fabs capability to make the accurate
geometries without errors / issues.
Routing Grids
Vertical and Horizontal Routing Grids:
Both vertical and horizontal routing grids need to be defined
HVH or VHV routing is defined for alternating metals layers
All standard cell pins should ideally be placed on intersection of horizontal and
vertical routing grids
Exceptions are abutment type pins (VDD and GND)
Grids are defined wrt the cell origin
Grids can be offset from the origin, however by exactly half the grid spacing
The cell height must be a multiple of the horizontal grid spacing
pg. 18
Standard Library Cell Design using 45nm Technology
All cells must have the same height, but some complex cells can be designed with
double height
The cell width must be a multiple of the vertical grid spacing
However, limited routing tracks are the bottleneck even with wider cells
- Cell pins, with the exception of abutment pins (VDD and GND) must be
placed on the intersections of the vertical and horizontal routing grids.
- Vertical and horizontal routing grids may be offset with respect to the cell’s
origin, provided that the offset distance is exactly one-half of the grid spacing.
- The cell height must be a multiple of the horizontal grid spacing; the cell width
must be a multiple of the vertical grid spacing.
However, limited routing tracks are the bottleneck even with wider cells
pg. 19
Standard Library Cell Design using 45nm Technology
Beta-Ratio-Effects
When Vin = Vout the switching threshold or gate threshold Vm can be pointed out
in VTC curve and obtained graphically from the intersection of the VTC with the
line given by Vin = Vout as shown in Fig below In this region both PMOS and
NMOS are always saturated. As,
pg. 20
Standard Library Cell Design using 45nm Technology
Thus the gate threshold voltage is dependent on the βp/βn ratio. If we want to change
this Beta ratio we have to change the dimensions of the transistor from the Figure
below, it is clear that as the ratio βp/βn is changed the transitions region shifts.
pg. 21
Standard Library Cell Design using 45nm Technology
The W/L ratio is linked to the trans-conductance and the current capability,
together with the multiplicity factor m. A higher w/l ratio increases the current gain
and subsequently a higher current for a given Vg. The same is for a higher m that
means m·W/L.
In practice, for the gain stages are useful large transistors, i.e. large W/L ratios
or/and large m. As example, the differential input stage of OpAmps needs high gain.
However, the good matching of the input differential stage has to be considered as
well.
In general, a larger transistor ensures a better matching because it minimizes
the edge effects, but this is paid with a significant area price.
Hit Points
Figure: inverter showing hit points
pg. 22
Standard Library Cell Design using 45nm Technology
v
Hit point is a metal connected to a contact which covers number of tracks, the more
the number of hit points easier to route the cell. It is better to consider minimum 2
hit points to each contact to ease the routing process.
In the figure show below it is observed that input contact covered 5 hit points and
output covered 3 hit points.
pg. 23
Standard Library Cell Design using 45nm Technology
Feed through
Feed through is a keeping a track free to which no metals or hit points should meet
that track, feed through is provided to pass signal from previous cell to next cell.
While creating standard cell we need to give first priority to hit points to contain
minimum hit points, then next priority is to provide feed through.
Following figure shows the feed through.
pg. 24
Standard Library Cell Design using 45nm Technology
The purpose of logic gate is to propagate the effect of logic value available at its
input to the output. Based upon whether '0' or '1' is to be propagated to the output.
The corresponding is achieved by charging and discharging of the output load
capacitance. Propagating a logic '0' will mean discharging of the load capacitance,
and vice-versa. Drive strength of the logic gate is the its relative capability to
charge/discharge the capacitance present at its output. Now, the time constant, and
hence, delay of the circuit is "RC".
So, for a cell with higher drive strength, corresponding "R" is lesser than the one
with lower drive strength. So that for same load capacitance "C", delay is lower for
a cell with higher drive strength as it can charge the capacitance in lesser time.
pg. 25
Standard Library Cell Design using 45nm Technology
pg. 26
Standard Library Cell Design using 45nm Technology
pg. 27
Standard Library Cell Design using 45nm Technology
So, upon increasing the drive strength, its internal capacitance will increase and
channel resistance will reduce by same amount. The same is depicted in figure
below.
STAGE RATIO
1 The gate length specified for a MOSFET technology means the MINIMUM
length. In design it can be larger than the minimum length.
2. The W/L ratio is linked to the trans-conductance and the current capability,
together with the multiplicity factor m. A higher w/l ratio increases the current gain
and subsequently a higher current for a given Vg. The same is for a higher m that
means m*W/L.
3. In practice, for the gain stages are useful large transistors, i.e. large W/L ratios
or/and large m. As example, the differential input stage of OpAmps needs high gain.
However, the good matching of the input differential stage has to be considered as
well.
pg. 28
Standard Library Cell Design using 45nm Technology
4. In the current mirrors, a higher transistor gate length is beneficial, for a better
matching of the mirror’s currents. You can play with these parameters in simulations
to observe the impact of the length on the mirrors current matching.
5. In general, a larger transistor ensures a better matching because it minimizes
the edge effects, but this is paid with a significant area price.
In the below figure we are increasing the drive capability of an OR gate of 12X using
1:4 ratio. As you see for this ratio to drive the load we need to increase the width of
4 times. And here we have considered the width of PMOS and NMOS to be
maximum and taking 4 fingers for each input signal and which is given to the inverter
of 12X drive at the end.
pg. 29
Standard Library Cell Design using 45nm Technology
pg. 30
Standard Library Cell Design using 45nm Technology
METHODOLOGY
The process flow for creating a library cell is shown below. The creation of standard
cell started with schematic diagrams of the circuits which were then converted to
their respective symbols. Using the schematics, the layout structure is designed
according to the Lambda (λ) rules from transistor level. After the completion of
layout, DRC (Design Rule Check) is done to check for errors. In order to ensure that
the layout and schematic of circuits are identical, LVS is performed. The simulation
for the layout is carried out using an inbuilt cadence tool to notify the operation of
each circuit. This software also helps us in calculating the necessary parameters like
rise and fall time. After verification the node extraction is done and characterization
of each cells are performed. Finally, the Standard Cell Library is created by dumping
all the cells.
pg. 31
Standard Library Cell Design using 45nm Technology
STD CELLS:
Nothing But Base cells (Gates, flops).
TAP CELLS: (Technology Dependant)
Avoids Latch up Problem (Placing these cells with a particular distance).
Tap cells are well-tied cells that bias the silicon infrastructure of n-wells or p-
wells.
They are traditionally used so that Vdd or Gnd are connected to substrate or
n-well respectively.
This is to Help TIE Vdd and Gnd which results in lesser drift and prevention
from latchup.
Required by some technology libraries to limit resistance between Power or
Ground connections to well of the substrate.
pg. 32
Standard Library Cell Design using 45nm Technology
TIE CELLS:
It is used for preventing Damage of cells; Tie High cell (Gate One input is
connected to Vdd, another input is connected to signal net); Tie low cells Gate
one input is connected to Vss, another input is connected to signal.
Tie - high and Tie - low cells are used to connect the gate of the transistor to
either Power or Ground.
In lower technology nodes, if the gate is connected to Power or Ground. The
transistor might be turned "ON/OFF" due to Power or Ground Bounce.
These cells are part of the std cell library.
The cells which require Vdd (Typically constant signals tied to 1) connect to
tie high cells.
The cells which require Vss/Vdd (Typically constant signals tied to 0) connect
to tie low cells.
pg. 33
Standard Library Cell Design using 45nm Technology
DECAP CELLS:
De cap cells are temporary capacitors added in the design between power and
ground rails to counter functional failures due to dynamic IR drop.
pg. 34
Standard Library Cell Design using 45nm Technology
Dynamic I.R. drop happens at the active edge of the clock at which a high
percentage of Sequential and Digital elements switch.
Due to this simultaneous switching a high current is drawn from the power
grid for a small duration. If the power source is far away from a flop the
chances are that this flop can go into a metastable state due to IR Drop.
To overcome this decaps are added. At an active edge of clock when the
current requirement is high, these decaps discharge and provide boost to the
power grid.
One caveat in usage of decaps is that these add to leakage current.
De caps are placed as fillers.
The closer they are to the flop’s sequential elements, the better it is.
FILLER CELLS:
Filler cells are used to connect the gaps between the cells after placement.
Filler cells are used to establish the continuity of the N-Wells and the
IMPLANT LAYERS on the standard cells rows, some of the cells also don't
have the Bulk Connection (Substrate connection) Because of their small size
(thin cells).
In those cases, the abutment of cells through inserting filler cells can connect
those substrates of small cells to the Power/Ground nets.
I.e. those tin cells can use the Bulk connection of the other cells (this is one of the
reason why you get stand-alone LVS check failed on some cells)
ICG CELLS:
Clock gating cells, to avoid Dynamic power Dissipation.
Register banks disabled during some clock cycles.
pg. 35
Standard Library Cell Design using 45nm Technology
During idle modes, the clocks can be gated-off to save Dynamic power
dissipation on flip-flops.
Proper circuit is essential to achieve a gated clock state to prevent false
glitches on the clock paths
PAD CELLS:
To Interface with outside Devices; Input to of Power, Clock, Pins are
connected to pad cells and outside also.
pg. 36
Standard Library Cell Design using 45nm Technology
CORNER CELLS:
Corner Pads are used for Well Continuity.
To lift the chip.
MACRO CELLS:
Memories
The memory cells are called Macros.
To store information using sequential elements takes up lot of area.
A single flip-flop could take up 15 to 20 transistors to store one bit store the
data efficiently and also do not occupy much space on the chip comparatively
by using macros.
pg. 37
Standard Library Cell Design using 45nm Technology
SPARE CELLS:
Used at the ECO.
Spare cells are standard cells in a design that are not used by the netlist.
Placing the spare cells in your design provides a margin for correcting logical
error that might be detected later in the design flow, or for adjusting the speed
of your design.
Spare cells are used by the fix ECO command during ECO process.
pg. 38
Standard Library Cell Design using 45nm Technology
JTAG CELLS:
These are used to check the IO connectivity.
pg. 39
Standard Library Cell Design using 45nm Technology
FLAVOURS OF CELLS
The purpose of logic gate is to propagate the effect of logic value available at
its input to the output. Based upon whether '0' or '1' is to be propagated to the
output.
The corresponding is achieved by charging and discharging of the output load
capacitance. Propagating a logic '0' will mean discharging of the load
capacitance, and vice-versa.
Drive strength of the logic gate is the its relative capability to charge/discharge
the capacitance present at its output. Now, the time constant, and hence, delay
of the circuit is "RC"
So, for a cell with higher drive strength, corresponding "R" is lesser than the
one with lower drive strength. So that for same load capacitance "C", delay is
lower for a cell with higher drive strength as it can charge the capacitance in
lesser time.
From another point of view, it is just the strength required to charge/discharge
the capacitance at the output to the required value. Greater the drive strength,
higher current can be drawn from the supply and the output capacitors can be
charged quickly, if drive strength is low, then the current is less and the output
capacitance takes time to charge/discharge.
How drive strength varies with size of a cell: Let us talk in terms of MOSFETs,
although this is valid in terms of every device in general. We know that for a given
technology standard cell library, length of all transistors is kept constant.
For instance, 90 nm technology will have gate length of all transistors as ~90 nm.
And channel resistance of the MOSFET is inversely proportional to "W/L" of the
transistor. So, a simple way to decrease channel resistance is to increase "W" of the
transistor.
pg. 40
Standard Library Cell Design using 45nm Technology
So, a transistor with more area will have lesser resistance. Or we can say that a logic
gate with bigger transistors will have more drive strength.
What is unit drive strength: In a standard cell library, we generally see cells labelled
as "1X", "2X" and so on. But what is meant by the number that you see with drive
strength?
In general, the lowest size logic gate is labelled as unit drive strength. The drive
strength numbers of other cells are labelled relative to unit drive strength cell.
pg. 41
Standard Library Cell Design using 45nm Technology
Examples:
NOR2_X2:
OR6_X1:
pg. 42
Standard Library Cell Design using 45nm Technology
2. Different Architectures:
The standard cell libraries provide three separate architectures, high-speed (HS),
high-density (HD), and ultra-high-density (UHD), to optimize circuits for
performance, power and area trade-offs.
pg. 43
Standard Library Cell Design using 45nm Technology
METAL2 USAGE
Whenever there are complex circuits that needs to be fabricated, then there
occurs the connection between different instances and sometimes these connection
becomes so messy that if we connect all of them using a single metal 1 layer, there
is a chance that the wires may short... so we need to switch to higher layer and higher
layer as the demand arises.
This is one of the reasons..
Usually the resistivity of metal layer decreases as we move to higher layers
(This has to do with Crystal structure of metal and semiconductors). So global
signals(generally which travels much longer length) are generally allowed to run on
higher layers but not blindly to a higher layer available, this is done in order to
maintain the signal integrity and good slew.
Today we are at a stage where we have designs with 11 metal layers (including
power routing) and are still struggling with routing issues such as congestion and
shorts!
Primarily to get the best advantage out of technology scaling (which is
reducing the transistor gate length progressively, to the uninitiated in VLSI: P)
companies are packing more and more transistors into a single block. While this
definitely adds to the competitive edge (as more capabilities are introduced into a
smaller die area at a lesser cost) , it makes routing all of these instances a real
challenge.
The fact that we have a more complex design rule deck (DRC’s) and other
added constraints like Double patterning (DPT) and Triple Patterning (TPT) at
technology nodes like 10nm, 14nm and below, the more routing resources we have
the better.
While we are on the topic of routing layers I wanted to add info here. Opening
another routing layer in the design actually adds to the cost of manufacturing the
chip as the fab will have to make additional masks for each layer you use and each
mask comes at a hefty price. So adding additional layers to routing although is very
much needed in today’s designs it can’t be done unscrupulously and is a careful
pg. 44
Standard Library Cell Design using 45nm Technology
consideration between design complexity and the cost at which you want to make
your chip.
Generally you should use one of our top metals for power routing at chip level
in order to minimise IR drops. What metals you choose depends on the metal stack
available to you have 7 layers with three thick layers you may choose to route vdd
in metal7 from pad to cells and route gnd underneath it in metal 6, saving space for
routing channels and giving yourself a little decoupling .if you only have three layers
then that is unlikely to be an option.
At cell level I generally route both VDD and GND in metal1 horizontally
,this means I can tap directly into my current mirrors, guard rings etc. then use metal
2 exclusively for vertical routing and metal 3 for horizontal. It would be nice to use
metal 1 but the prevalence of guard rings etc. generally makes that an awkward
strategy. It is worth remembering these are only guidelines, ultimately the decision
will come down to
-block function (high currents / high frequency will require thick stack metals)
-metallisation option
- Top level requirements.
pg. 45
Standard Library Cell Design using 45nm Technology
TECHNOLGY FILE
Technology File is the most critical input for physical design tools. If you
want to start any further steps or create a mw lib to start any further in physical
design? You must have tech file ready in your hand.
There is many technology file available. The technology files are differ to
each other by their functionality.
It provides technology-specific information like the names and physical and
electrical characteristics of each metal/via layers and the routing design rules.
It guides physical design tool on below list of information:
Unit tile definitions that can be used in site rows so that placement engine can
guide placement of cells?
List of metals available for routing?
Metal widths, spacing & pitch info etc... ?
Design rules between same metal layer spacing?
What are all the via types/via masters available?
Units of length, cap, power, resistance & technology precision etc... ?
DRC rule (design check rule)
It is performed in Calibre using the DRC rule file.
If you have errors in DRC, you should modify your layout design according
to the error message.
The error messages include information about the location and the source of
the trouble.
The ruler (type k in the layout window) is very useful.
RULES:
Minimum width and spacing for metal
Minimum width and spacing for via
Minimum Metal contact enclosure
pg. 46
Standard Library Cell Design using 45nm Technology
pg. 47
Standard Library Cell Design using 45nm Technology
pg. 48
Standard Library Cell Design using 45nm Technology
MISTAKES
Avoid metal jogs if it’s not necessary.
Decrease the poly connection as they are highly resistive.
We should use more contacts instead of few contacts to increase the drive
strength.
Use stage ratio for increase the width of std cell to get the high driving
strength where this rule is applicable.
We should place metal and gate contact at the center of the track for a good
routing purpose.
pg. 49
Standard Library Cell Design using 45nm Technology
pg. 50
Standard Library Cell Design using 45nm Technology
Tap-less cell:
As it can be seen that ‘WELL TIES’ are needed to tie N-WELL and P-WELL to a
known potential. The layout in figure suggests that they are a part of each and every
CMOS standard cell. However, the stdcells are placed in well-defined rows of
uniform height where wells are continuous and thus, standard cells placed in a row
can share these ‘WELL TIES’. This topology reduces the standard cell size and
pg. 51
Standard Library Cell Design using 45nm Technology
allows the SoC to accommodate more standard cells. This type of standard cell
library is called Tap-Less library. To provide the much required well connections,
cells known as ‘Well Taps’ are placed at uniform interval. The spacing between
these ‘Well Taps’ should not be too high as this would increase the resistance R1
and R2 and this could make the circuit susceptible to latch-up.
Refer this figure for a typical CMOS device for Tap-Less library.
pg. 52
Standard Library Cell Design using 45nm Technology
AUTHORS
Drive strength, Stage ratio, Fingers & multipliers and Methodology – Rohith
Prasad K M
Stick diagram & techniques and Metal 2 usage in Std cell design – Prema F
TAP cells and TAPLESS cells, Common mistakes and errors caused in
designing a Std cell – Hiral Gohil
pg. 53