Presentation is loading. Please wait.

Presentation is loading. Please wait.

Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania 18042 ECE 425 - VLSI Circuit Design Lecture 11 - Combinational.

Similar presentations


Presentation on theme: "Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania 18042 ECE 425 - VLSI Circuit Design Lecture 11 - Combinational."— Presentation transcript:

1 Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania 18042 nestorj@lafayette.edu ECE 425 - VLSI Circuit Design Lecture 11 - Combinational Logic Networks Spring 2007

2 ECE 425 Spring 2007Lecture 11 - Comb. Networks2 Announcements  Homework Due Mon. March 5  Elmore Delay Problem  Reading  3.1-3.7 (3.8 optional)  Exam 1: Wed. March 21 (rescheduled)  Talk today: Quantum Information (Hugel 100, 12pm, free pizza!)

3 ECE 425 Spring 2007Lecture 11 - Comb. Networks3 Where we are  Last Time  Body Effect  Techniques for Reducing Power Consumption  Delay in long wires  Today  Combination Logic Networks - Layout  Combinational Logic Networks - Placement & Routing

4 ECE 425 Spring 2007Lecture 11 - Comb. Networks4 Combinational Logic Networks (Ch. 4)  Layouts for logic networks  Delay through networks  Power consumption in networks  Testing

5 ECE 425 Spring 2007Lecture 11 - Comb. Networks5 Layout Methods  Goal: design cells to work together  Single-row layouts  Multiple-row layouts

6 ECE 425 Spring 2007Lecture 11 - Comb. Networks6 Single-Row layouts  fix "pitch" so all cells line up  overall structure:  p-transistors  “gap” between n, p transistors - use for “local” wiring  n-transistors  routing channel below and/or above cells P-Transistors N-Transistors Short wires Routing Channel Feedthrough

7 ECE 425 Spring 2007Lecture 11 - Comb. Networks7 Typical routing area: channel  Nets enter channel from above or below  Nets are assigned to tracks on different layers  Horizontal tracks - metal1  Vertical tracks - metal2 AB C AB C

8 ECE 425 Spring 2007Lecture 11 - Comb. Networks8 Channel density  Max number of nets crossing any vertical line  Measure of wireability- how many horizontal tracks are needed to wire channel?  Controllable by placement of nets entering channel a b c b c a b ca a b c Density=3 Density=2

9 ECE 425 Spring 2007Lecture 11 - Comb. Networks9 Example: Full adder layout  EXOR sum function (2 EXOR gates)  AND/OR carry function (3 NAND gates)

10 ECE 425 Spring 2007Lecture 11 - Comb. Networks10 Example: Full adder layout  Layout method  Place gates in row  draw wires between inputs, outputs  measure channel density  interchange gates to try to reduce density

11 ECE 425 Spring 2007Lecture 11 - Comb. Networks11 Full adder - candidate layout x1x2n1n2n3n4 a b c s cout Density = 5

12 ECE 425 Spring 2007Lecture 11 - Comb. Networks12 Full Adder - 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.

13 ECE 425 Spring 2007Lecture 11 - Comb. Networks13 Channel Routing - The Left Edge Algorithm  Basic algorithm for channel routing  Assumes one horizontal segment per net  Operation:  Sort nets by left edge  Start with first track  Place nets that don't overlap in first track  Go to second track  Repeat until all nets placed  Demonstration: Java applet http://foghorn.cadlab.lafayette.edu/cadapplets/ChannelRouter.html

14 ECE 425 Spring 2007Lecture 11 - Comb. Networks14 Vertical Constraints  Consider the case where:  A terminal “A” at the top of a column AND  A terminal “B” at the bottom of a column?  Must assign A to a horizontal track above B - a vertical constraint

15 ECE 425 Spring 2007Lecture 11 - Comb. Networks15 Vertical Constraints (cont'd)  Constraint graph - maps constraint relationships

16 ECE 425 Spring 2007Lecture 11 - Comb. Networks16 Vertical constraint cycles  Cycle in graph means constraint can’t be met  Fix by inserting "dogleg"

17 ECE 425 Spring 2007Lecture 11 - Comb. Networks17 Maze Routing - A Less-Constrained Approach  Treat routing surface as a grid  Mark endpoints of desired connection on grid  Source  Target  Lee Algorithm  Label nodes with distance from source in expanding “wavefront”  Trace back connection by following path of decreasing distance  Maze Router Applet: http://foghorn.cadlab.lafayette.edu/cadapplets/MazeRouter.html

18 ECE 425 Spring 2007Lecture 11 - Comb. Networks18 More about Maze Routing  Down side of maze routing: slow  Faster alternatives:  A* algorithm: use distance from source + estimated distance to target as cost function  Hadlock’s algorithm: use “detour number” as cost function i.e. how many grids “away” from target is a path?  Both faster in best case; same speed in worst case  Applets: http://foghorn.cadlab.lafayette.edu/cadapplets/AStarRouter.html http://foghorn.cadlab.lafayette.edu/cadapplets/HadlockRouter.html

19 ECE 425 Spring 2007Lecture 11 - Comb. Networks19 Comparing Routing Algorithms  Left-Edge Algorithm +Fast execution time, low memory requirements +Useful when thinking about layout problems -Constrained routing region (channel) -Doesn’t expand well to multiple layers -Vertical constraints complicate the problem  Lee Algorithm +Unconstrained routing region (grid) +Guaranteed to find a connection if one exists +Easily extended for multiple layers -Slow execution time, high memory requirements  Real routers use a combination of techniques

20 ECE 425 Spring 2007Lecture 11 - Comb. Networks20 Review - Standard-Cell Layout  Predesigned cells with fixed pitch  Vdd, Gnd buses  Design "feedthroughs" in cells VDD VSS Intra-cell wiring pullups pulldowns Feedthrough area pin

21 ECE 425 Spring 2007Lecture 11 - Comb. Networks21 Review - Standard-Cell Layout  Layout out in multiple rows  Placement Use an estimate of routing Try to minimize congestion, wirelength  Routing - two-phase process Global router - assigns nets to channels Detailed router - make detailed connections (channel router)  Note impact of layout on delay!

22 ECE 425 Spring 2007Lecture 11 - Comb. Networks22 Review - Standard Cell Layout  Placement is performed before routing  Estimate routing using a “rat’s nest” diagram

23 ECE 425 Spring 2007Lecture 11 - Comb. Networks23 Coming Up  Combinational Network Delay  Power Issues  Testing  ASIC Design Using Logic Synthesis

24 ECE 425 Spring 2007Lecture 11 - Comb. Networks24 Lab 7 - Verifying the DAC  Modify RPT cell to “mark” resistor for extraction :paint rpoly  Extract circuit & make Spice deck  On Suns: :extract all :ext2pspice DAC  On Linux (inside Magic): extract all exttospice cell_name shell sp2ps cell_name  Simulate using PSPICE and verify output for all 16 input values (0000 - 1111)


Download ppt "Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania 18042 ECE 425 - VLSI Circuit Design Lecture 11 - Combinational."

Similar presentations


Ads by Google