300 likes | 310 Views
Learn about layout strategies for logic networks, channel routing techniques, and simulation methods for improved fabrication yields. Explore standard cell design principles and improvement strategies for efficient routing.
E N D
Lecture 30 Scale and Yield Mar. 24, 2003
Scale In library
Yield of fabrication process 1. System Yield: = 0.95 2. Random Yield: A = chip area D = defective density 3. Total Yield:
Lectures 31 and 32 Routing and simulation Mar. 26,28, 2003
Topics • Layouts for logic networks. • Channel routing. • Simulation.
Standard cell layout • Layout made of small cells: gates, flip-flops, etc. • Cells are hand-designed. • Assembly of cells is automatic: • cells arranged in rows; • wires routed between (and through) cells.
Standard cell structure pin VDD n tub pullups Feedthrough area Intra-cell wiring p tub pulldowns VSS pin
Standard cell design • Pitch: height of cell. • All cells have same pitch, may have different widths. • VDD, VSS connections are designed to run through cells. • A feedthrough area may allow wires to be routed over the cell.
height wire Horizontal track Vertical track Single-row layout design cell cell cell cell cell Routing channel cell cell cell cell cell
Routing channels • Tracks form a grid for routing. • Spacing between tracks is center-to-center distance between wires. • Track spacing depends on wire layer used. • Different layers are (generally) used for horizontal and vertical wires. • Horizontal and vertical can be routed relatively independently.
Routing channel design • Placement of cells determines placement of pins. • Pin placement determines difficulty of routing problem. • Density: lower bound on number of horizontal tracks needed to route the channel. • Maximum number of nets crossing from one end of channel to the other.
Density = 3 Density = 2 Pin placement and routing a b c a b c b c a a c b before before
Example: full adder layout • Two outputs: sum, carry. n1 x1 n4 n2 x2 sum n3 carry
Layout methodology • Generate candidates, evaluate area and speed. • Can improve candidate without starting from scratch. • To generate a candidate: • place gates in a row; • draw wires between gates and primary inputs/outputs; • measure channel density.
Density = 5 a x1 x2 n1 n2 n3 n4 b s cout c A candidate layout
Improvement strategies • Swap pairs of gates. • Doesn’t help here. • Exchange larger groups of cells. • Swapping order of sum and carry groups doesn’t help either. • This seems to be the placement that gives the lowest channel density. • Cell sizes are fixed, so channel height determines area.
Left-edge algorithm • Basic channel routing algorithm. • Assumes one horizontal segment per net. • Sweep pins from left to right: • assign horizontal segment to lowest available track.
Example A B B C A B C
? aligned Limitations of left-edge algorithm • Some combinations of nets require more than one horizontal segment per net. A B B A
Vertical constraints • Aligned pins form vertical constraints. • Wire to lower pin must be on lower track; wire to upper pin must be above lower pin’s wire. A B B A
Dogleg wire • A dogleg wire has more than one horizontal segment. A B B A
Rat’s nest plot • Can be used to judge placement before final routing.
Simulation • Goals of simulation: • functional verification; • timing; • power consumption; • testability.
Types of simulation • Circuit simulation: • analog voltages and currents. • Timing simulation: • simple analog models to provide timing but not detailed waveforms. • Switch simulation: • transistors as semi-ideal switches.
Types of simulation, cont’d. • Gate simulation: • logic gates as primitive elements. • Models for gate simulation: • zero delay; • unit delay; • variable delay. • Fault simulation: • models fault propagation (more later).
1 0 1 Example: switch simulation + 0 c + d X X o b X a 1 0 c
0 1 0 Example, cont’d. + 0 c + d 1 0 o b 1 a 1 0 0 c