Вы находитесь на странице: 1из 10

B.

Supmonchai

July 5th, 2004

B.Supmonchai

Design Rules
q

Interface between the circuit designer and process engineer Guidelines for constructing process masks Rules constructed to ensure that design works even when small fabrication errors (within some tolerance) occur

Tutorial 1

q q

Design Rules and Layout Techniques


Boonchuay Supmonchai
Integrated Design Application Research ( IDAR ) Laboratory

July 5th, 2004


2102-545 Digital ICs

Design Rules and Layout Techniques

B.Supmonchai

B.Supmonchai

Why Having Design Rules?


q

Design Rule Components


q

To be able to tolerate some level of fabrication errors such as


1. Mask misalignment 2. Dust 3. Process parameters (e.g., lateral diffusion) 4. Rough surfaces

A complete set includes


set of layers intra-layer constraints: relations between objects in

the same layer


inter-layer constraints: relations between objects on

different layers
q

Unit dimension: minimum line width


scalable design rules: lambda parameter absolute dimensions: micron rules

2102-545 Digital ICs

Design Rules and Layout Techniques

2102-545 Digital ICs

Design Rules and Layout Techniques

2102-545 Digital ICs

B.Supmonchai

July 5th, 2004

B.Supmonchai

B.Supmonchai

Layers in CMOS 0.25 m Process

Intra-Layer Design Rule Origins


q

Minimum dimensions (e.g., widths) of objects on each layer to maintain that object after fabrication
minimum line width is set by the resolution of the

patterning process (photolithography)

Minimum spaces between objects (that are not related) on the same layer to ensure they will not short after fab.
0.3 micron 0.15 0.15 0.3 micron

Select regions are the diffusions of an invert type to implement contacts to the wells or to the substrate.
2102-545 Digital ICs

Design Rules and Layout Techniques

2102-545 Digital ICs

Design Rules and Layout Techniques

B.Supmonchai

B.Supmonchai

Intra-Layer Design Rules


Same Potential
0 or 6 3 2 2

Inter-Layer Design Rule Origins


2

Different Potential

1. Transistor rules transistor formed by the overlap of active and poly layers
Transistors
Catastrophic error

Well
10

Polysilicon
2 2

Active
3

Metal1
3

Unrelated Poly & Diffusion


4

Select
2

Contact or Via Hole

Metal2
3

Thinner diffusion, but still working

2102-545 Digital ICs

Design Rules and Layout Techniques

2102-545 Digital ICs

Design Rules and Layout Techniques

2102-545 Digital ICs

B.Supmonchai

July 5th, 2004

B.Supmonchai

B.Supmonchai

Transistor Rule Example


PMOS devices

Inter-Layer Design Rule Origins II


2. Contact and Via rules
M1 contact to p-diffusion M1 contact to n-diffusion M1 contact to poly Mx contact to My

Contact Mask Via Masks mask misaligned

both materials

0.3

Contact: 0.44 x 0.44

0.14

2102-545 Digital ICs

Design Rules and Layout Techniques

2102-545 Digital ICs

Design Rules and Layout Techniques

10

B.Supmonchai

B.Supmonchai

Contact and Via Rule Examples

Inter-Layer Design Rule Origins III


3. Well and Substrate Contacts - inadequate number of contacts creates a high resistive path between substrate and supply rails Latchup
VDD p+ n+ n+ p+ n-well Rpsubs p-substrate (a) Origin of latchup p+ n+ Rnwell n-source Rpsubs VDD Rnwell p-source

(b) Equivalent circuit

Overlapping layers are marked by merged colors


2102-545 Digital ICs

Design Rules and Layout Techniques

11

2102-545 Digital ICs

Design Rules and Layout Techniques

12

2102-545 Digital ICs

B.Supmonchai

July 5th, 2004

B.Supmonchai

B.Supmonchai

Well Contact and Select Layer Examples

Inverter Layout in 0.25 um Process

2102-545 Digital ICs

Design Rules and Layout Techniques

13

2102-545 Digital ICs

Design Rules and Layout Techniques

14

B.Supmonchai

B.Supmonchai

Lambda-Based Design Rule


q

MOSIS Scalable Rule Example

One lambda = one half of the minimum mask dimension


Typically the length of a transistor channel.

Usually all edges must be on grid


For example, in the MOSIS scalable rules, all edges

must be on a lambda grid.


See example on the next few slides

More info at: http://www.mosis.org/Technical/Designrules/scmos/cmos-main.html


2102-545 Digital ICs

Design Rules and Layout Techniques

15

2102-545 Digital ICs

Design Rules and Layout Techniques

16

2102-545 Digital ICs

B.Supmonchai

July 5th, 2004

B.Supmonchai

B.Supmonchai

Sample Lambda Layout

Sample Sea-of-Gates Layout

2102-545 Digital ICs

Design Rules and Layout Techniques

17

2102-545 Digital ICs

Design Rules and Layout Techniques

18

B.Supmonchai

B.Supmonchai

Lambda vs Micron Rules


q

Lambda vs Micron Rules II

Lambda-based design rules are based on the assumption that one can scale a design to the appropriate size before manufacture The assumption is that all manufacturing dimensions scale equally
For example: if a design is completed with a poly

width of 2l and a metal width of 3l then minimum width metal will always be 50% wider than minmum width poly wires
It works only over some modest span of time
2102-545 Digital ICs

Scaled design is legal but much larger than it needs to be!


Data from Weste, Table 3.2

Design Rules and Layout Techniques

19

2102-545 Digital ICs

Design Rules and Layout Techniques

20

2102-545 Digital ICs

B.Supmonchai

July 5th, 2004

B.Supmonchai

B.Supmonchai

When Lambda Rules be used?


q

Retargetable Layouts
q

Probably for retargeting between similar processes, e.g., when later process is a simple shrink of the earlier process.
This often happens between generations as a mid-life

Invent some way of entering a design symbolically but use a more sophisticated technique for producing the masks for a particular process.
Relative sizes may change but topological Instead of shrinking a design, compact it!

rejuvenation for a process.

relationship between components does not.

Can be useful for fabless semiconductor companies


q

Most industrial designs use micron rules to get the extra space efficiency.
Cost of retargeting by hand is acceptable for a

More often nowadays, designs are described by HDLs, such as VHDL or Verilog
Re-compiled and mapped to a new technology Best performance functional units are laid by hands -

successful product, but usually its time for a redesign anyway


Design Rules and Layout Techniques 21

difficult to shrinks

2102-545 Digital ICs

2102-545 Digital ICs

Design Rules and Layout Techniques

22

B.Supmonchai

B.Supmonchai

Stick Diagrams and Compaction

Layout Styles
q

Avoid long (> 50 squares) Poly runs Do not capture white space in a cell Do not obsess over the layout, instead make a second pass, optimize when it counts

2102-545 Digital ICs

Design Rules and Layout Techniques

23

2102-545 Digital ICs

Design Rules and Layout Techniques

24

2102-545 Digital ICs

B.Supmonchai

July 5th, 2004

B.Supmonchai

B.Supmonchai

Optimizing Connections

Big vs. Parallel


Which is the better gate layouts?

Which is the better gate layouts? Considering node capacitances? Considering composibility with the neighboring gates?
2102-545 Digital ICs

Design Rules and Layout Techniques

25

2102-545 Digital ICs

Design Rules and Layout Techniques

26

B.Supmonchai

B.Supmonchai

Eleminating Gaps

Replicating Cells
q q

What does this cell do? What if we want to replicate this cell vertically, i.e., make a stack of cells to process many bits in parallel?
Which nodes are shared

among the cells? shared?

Which nodes are not How should we arrange

the cell vertically?

Use Logic Graphs and the method of Euler path to reorder inputs
2102-545 Digital ICs

Design Rules and Layout Techniques

27

2102-545 Digital ICs

Design Rules and Layout Techniques

28

2102-545 Digital ICs

B.Supmonchai

July 5th, 2004

B.Supmonchai

B.Supmonchai

Vertical Replication

Vertical Intercell Routing

2102-545 Digital ICs

Design Rules and Layout Techniques

29

2102-545 Digital ICs

Design Rules and Layout Techniques

30

B.Supmonchai

B.Supmonchai

Building a Datapath
q

Rule of Thumbs for Datapath Designs


q

It is often the case that we want to operate on many bits in parallel. A sensible way to arrange the layout of this sort of logic is as a datapath where
data signals run

Logic that generates the control signals can be placed at the bottom of the datapath. If control logic is complicated or irregular, it might be placed in a separate standard cell block
Only the control signal buffers can be placed just

horizontally between functional units


control signals run

below the data path

vertically to all the bits of a particular functional unit


2102-545 Digital ICs

Although it is tempting to run control signals in Poly (so they can control FETs) this is unwise for tall datapaths because of poly resistance
E.g., 32 bits x 20u/bit = 640u = ~1000 sqs. ~ 20 k
Design Rules and Layout Techniques 32

Design Rules and Layout Techniques

31

2102-545 Digital ICs

2102-545 Digital ICs

B.Supmonchai

July 5th, 2004

B.Supmonchai

B.Supmonchai

Datapath Bit Pitch


q

Example: Adder

Hall tall we make each bit of the datapath depends on


The width of the NMOS and PMOS FETs How much in-cell routing there is How much over the cell global routing there is

Global routes can be determined from datapath schematic:

2102-545 Digital ICs

Design Rules and Layout Techniques

33

2102-545 Digital ICs

Design Rules and Layout Techniques

34

B.Supmonchai

B.Supmonchai

Example: Shifter

Think Globally

2102-545 Digital ICs

Design Rules and Layout Techniques

35

2102-545 Digital ICs

Design Rules and Layout Techniques

36

2102-545 Digital ICs

B.Supmonchai

July 5th, 2004

B.Supmonchai

B.Supmonchai

Verifying the Layout


q

Design Rule Checker (DRC)


q

Make sure that all the design rules are not violated Verification of the Layout usually takes a very long time.
Old timers use room-size layout plots. Newbies use computer-aided design tools.
Design Rule Checkers (DRC) Layout vs Schematic (LVS)

A program that checks each piece of the layout against the process design rules
Canonicalize layout into a set of leading and trailing

non-overlapping mask edges. Some boolean mask operations may be needed. edge with the node it belongs to.

Determine electrical connectivity and label each Test each edge end point against neighboring edges

to check for spacing (leading edges) and width (trailing edges) violations.

q
2102-545 Digital ICs

Computationally Intensive - A slow process!


Design Rules and Layout Techniques 38

Design Rules and Layout Techniques

37

2102-545 Digital ICs

B.Supmonchai

B.Supmonchai

Circuit Extraction
q

Layout vs Schmetic (LVS)


q q

Circuit Extractor derives a circuit schematic from a physical layout


Scan various layers and their interactions. Reconstruct the transistor network, topologically Generate a netlist file which describes all the

First a netlist is extracted from the layout. Use the electrical info generated by the DRC and then recognize which transistors are juxtapositions of channel with diffusion See if extracted netlist is isomorphic to the schematic netlist
Initialize all nodes to the same color Compute a new color for each node as some hashing Worry about parallel FETs, ambiguous nodes

interconnection in the network.


q

The netlist file contains precise information on the parasitics


diffusion and wiring capacitances and resistance

function involving the colored node in other network


Design Rules and Layout Techniques 40

2102-545 Digital ICs

Design Rules and Layout Techniques

39

2102-545 Digital ICs

2102-545 Digital ICs

10

Вам также может понравиться