1 COMP541 Combinational Logic and Design Montek Singh Jan 25, 2007.

Slides:



Advertisements
Similar presentations
Selected Design Topics. Integrated Circuits Integrated circuit (informally, a chip) is a semiconductor crystal (most often silicon) containing the electronic.
Advertisements

Logical Design.
RTL Design Introduction Decoder Encoder Multiplexer Tri-state Buffer
Introduction So far, we have studied the basic skills of designing combinational and sequential logic using schematic and Verilog-HDL Now, we are going.
CMPT150, Ch 3, Tariq Nuruddin, Fall 06, SFU 1 Ch3. Combinatorial Logic Design Modern digital design involves a number of techniques and tools essential.
Documentation Standards Programmable Logic Devices Decoders
Combinational Circuits
Combinatorial Logic Circuit Diagrams - Programmable Implementation Devices Design Hierarchy reduces the complexity required to represent the schematic.
02/02/20091 Logic devices can be classified into two broad categories Fixed Programmable Programmable Logic Device Introduction Lecture Notes – Lab 2.
Digital Design: Chapters Chapter 1. Introduction Digital Design - Logic Design? Analog versus Digital Once-analog now goes digital –Still pictures.
Chapter 4 Gates and Circuits.
1 COMP541 Combinational Logic - 2 Montek Singh Jan 18, 2007.
1/31/20081 Logic devices can be classified into two broad categories Fixed Programmable Programmable Logic Device Introduction Lecture Notes – Lab 2.
9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 4 Gates and Circuits.
Multiplexers, Decoders, and Programmable Logic Devices
February 4, 2002 John Wawrzynek
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 1 –
Chapter 6 – Selected Design Topics Part 1 – The Design Space Logic and Computer Design Fundamentals.
Digital Logic Design Lecture 18. Announcements HW 6 up on webpage, due on Thursday, 11/6.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 1 –
Digital logic families
INTEGRATED CIRCUIT LOGIC FAMILY
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Lecture 11 – Design Concepts.
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
Chapter 4 Gates and Circuits.
Contemporary Logic Design Multi-Level Logic © R.H. Katz Transparency No. 5-1 Chapter # 2: Two-Level Combinational Logic Section Practical Matters.
Unit 9 Multiplexers, Decoders, and Programmable Logic Devices
CAD for Physical Design of VLSI Circuits
1 COMP541 Hierarchical Design & Verilog Montek Singh Jan 28, 2010.
PROGRAMMABLE LOGIC DEVICES (PLD)
Documentation Standards Circuit specification. –Description of what the system is supposed to do, including a description of all inputs and outputs and.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 6 – Selected Design Topics Part 1 – The.
1 COMP541 Combinational Logic - 3 Montek Singh Jan 21, 2010.
1 COMP541 Combinational Logic - 4 Montek Singh Jan 30, 2012.
Digital Logic Design Lecture # 9 University of Tehran.
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
1 COMP541 Verilog Primer Montek Singh Aug 28, 2015 (draft version  to be updated)
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 1 –
FPGA-Based System Design Copyright  2004 Prentice Hall PTR Logic Design Process n Functional/ Non-functional requirements n Mapping into an FPGA n Hardware.
Module 1.2 Introduction to Verilog
COE 202 Introduction to Verilog Computer Engineering Department College of Computer Sciences and Engineering King Fahd University of Petroleum and Minerals.
Fall 2004EE 3563 Digital Systems Design EE 3563 VHSIC Hardware Description Language  Required Reading: –These Slides –VHDL Tutorial  Very High Speed.
Anurag Dwivedi. Basic Block - Gates Gates -> Flip Flops.
Chapter 3 How transistors operate and form simple switches
Outline MSI Parts as a Decoder Multiplexer Three State Buffer MSI Parts as a Multiplexer Realization of Switching Functions Using Multiplexers.
1 COMP541 Hierarchical Design & Verilog Montek Singh Aug 29, 2014.
EE 5900 Advanced Algorithms for Robust VLSI CAD, Spring 2009 Combinational Circuits.
FPGA-Based System Design: Chapter 1 Copyright  2004 Prentice Hall PTR Moore’s Law n Gordon Moore: co-founder of Intel. n Predicted that number of transistors.
1 EE121 John Wakerly Lecture #5 Documentation Standards Programmable Logic Devices Decoders.
Combinational Logic Design. 2 Combinational Circuits A combinational logic circuit has: ♦ A set of m Boolean inputs, ♦ A set of n Boolean outputs ♦ n.
ECE 2110: Introduction to Digital Systems Chapter 6 Review.
Chapter 0 ComBinaTionaL loGic deSign ComBinaTionaL loGic deSign EKT 221 / 4 DIGITAL ELECTRONICS II.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Circuit Timing.
B0110 Fabric and Trust ENGR xD52 Eric VanWyk Fall 2013.
Combinational Design, Part 2: Procedure. 2 Topics Positive vs. negative logic Design procedure.
ENG2410 Digital Design “Cont .. Combinational Logic Circuits”
Overview Part 1 – Design Procedure Part 2 – Combinational Logic
COMP541 Hierarchical Design & Verilog
Combinational Logic Design
Discussion 2: More to discuss
ECE 2110: Introduction to Digital Systems
PROPAGATION DELAY.
Overview Part 1 – The Design Space
Topics The logic design process..
Combinatorial Logic Design Practices
CSE221- Logic Design, Spring 2003 Logic Technology
Chapter 3 – Combinational Logic Design
VHDL Structural Architecture
Combinational Circuits
Combinational Circuits
Presentation transcript:

1 COMP541 Combinational Logic and Design Montek Singh Jan 25, 2007

2Topics  What we didn’t cover last time Other gates, standard forms Other gates, standard forms  Combinational Design (Ch. 3)  Real Devices Logic Families, Actual ICs, Gate delays Logic Families, Actual ICs, Gate delays  Propagation delay

3 Combinational Logic Design  Ch. 3 takes us to hierarchical design  Like you’d use for a program of size

4 Design Hierarchy  Just like with large program, to design a large chip need hierarchy  Divide and Conquer To create, test, and also to understand To create, test, and also to understand  Block is equivalent to object

5Example  9-input odd func (parity for byte)  Block for schematic is box with labels

6 Design Broken Into Modules Use 3-input odd functions

7 Each Module uses XOR

8 Use NAND to Implement XOR  In case there’s no XOR, for example

9 Design Hierarchy

10 Components in Design  RHS shows what must be designed

11 Reuse is Common  Certainly forced because of availability of parts (chips)  Also the design cycle was very long  Now more flexibility with programmable logic But still reuse from libraries or intellectual property (IP) But still reuse from libraries or intellectual property (IP) Example: buy a PCI design Example: buy a PCI design Open source, see Open source, see  Note the many logic blocks available in Xilinx library

12 Flow of CAD System Netlist is description of connections Generic Gates Replaces Generic Gates with ones available in Technology Library

13 Technology Mapping  Full custom Pixel-Planes chips (machines in lobby) Pixel-Planes chips (machines in lobby) Memories, CPUs, etc Memories, CPUs, etc  Standard cell Library of cells Library of cells Engineer determined interconnection Engineer determined interconnection  Gate arrays Small circuits with interconnect Small circuits with interconnect

14 Hierarchy Example – 4-bit Equality  Example 3-4 in book  Input: 2 vectors A(3:0) and B(3:0)  Output: One bit, E, which is 1 if A and B are bitwise equal, 0 otherwise

15Design  Hierarchical design seems a good approach  One module/bit  Final module for E

16 Design for MX module  Logic function in book is  I’d call this “not E”, but…  Can implement as

17 Design for ME module  Final E is 1 only if all intermediate values are 0  So  And a design is

18 Hierarchical Verilog  We already saw example of instantiation when we used AND and OR gates  Just use module name and an identifier for the particular instance

19 Vector of Wires (Bus)  Denotes a set of wires input [1:0] S;  Syntax is [a: b] where a is high-order So this could be “[0:1] S” So this could be “[0:1] S” Order will matter when we make assignments with values bigger than one bit Order will matter when we make assignments with values bigger than one bit Or when we connect sets of wires Or when we connect sets of wires  NOTE: THIS IS NOT AN ARRAY!

20DEMO  Let’s try entering the hierarchical example

21 Next slides document design  Just for your notes

22MX module mx(A, B, E); input A, B; output E; assign E = (~A & B) | (A & ~B); endmodule

23ME module me(E, Ei); input [3:0] Ei; output E; assign E = ~(Ei[0] | Ei[1] | Ei[2] | Ei[3]); endmodule

24 Top Level module top(A, B, E); input [3:0] A; input [3:0] B; output E; wire [3:0] Ei; mx m0(A[0], B[0], Ei[0]); mx m1(A[1], B[1], Ei[1]); mx m2(A[2], B[2], Ei[2]); mx m3(A[3], B[3], Ei[3]); me me0(E, Ei); endmodule

25 Integrated Circuit  Known as IC or chip  Silicon containing circuit Later in semester we’ll examine design and construction Later in semester we’ll examine design and construction Maybe processes Maybe processes  Packaged in ceramic or plastic From 4-6 pins to hundreds From 4-6 pins to hundreds  Pins wired to pads on chip

26Bonding

27 Levels of Integration  SSI Individual gates Individual gates  MSI Things like counters, single-block adders, etc. Things like counters, single-block adders, etc. Like stuff we’ll be doing next Like stuff we’ll be doing next  LSI  VLSI Larger circuits, like the FPGA, Pentium, etc. Larger circuits, like the FPGA, Pentium, etc.

28 Logic Families  RTL, DTL earliest  TTL was used 70s, 80s Still available and used occasionally Still available and used occasionally 7400 series logic, refined over generations 7400 series logic, refined over generations  CMOS Was low speed, low noise Was low speed, low noise Now fast and is most common Now fast and is most common  BiCMOS and GaAs Speed Speed

29Catalogs  Catalog pages describe chips  Look at  Specifications Pinouts Pinouts Packages/Dimensions Packages/Dimensions Electrical characteristics Electrical characteristics

30 Electrical Characteristics  Fan in – max number of inputs to a gate  Fan out – how many standard loads it can drive (load usually 1)  Voltage – often 1.8v, 3.3v or 5v are common  Noise margin – how much electrical noise it can tolerate  Power dissipation – how much power chip needs TTL high TTL high Some CMOS low (but look at heat sink on a Pentium) Some CMOS low (but look at heat sink on a Pentium)  Propagation delay – next

31 Propagation Delay  Max of high-to-low and low-to-high  Maximum and typical given

32Delays  Transport delay = “pure” delay Output after a specified time Output after a specified time  Inertial delay No effect if input occurs for time that is too short (can’t overcome inertia) – smaller than transport delay time No effect if input occurs for time that is too short (can’t overcome inertia) – smaller than transport delay time

33 Effect of Transport Delay (blue)  Delay just shifts signal in time

34 Effect of Inertial Delay Blue – Propagation delay time Black – Rejection time

35 Fan Out and Delay  Practical fan out of CMOS limited by capacitance of input gates  More gates driven, longer time for signal to change  So delay time for CMOS affected by fan out  Wire delay also very important And routing delays in FPGA And routing delays in FPGA

36 Example using ISE  Look at Lab 1 (tomorrow) Synthesis report timing prediction Synthesis report timing prediction Text-based Post Place & Route timing report Text-based Post Place & Route timing report View routed design View routed design  To see where components and I/O buffers are located

37Today  Design paradigm Hierarchical design Hierarchical design  Talked about real devices  Propagation delays First look at how fast your circuits could work First look at how fast your circuits could work

38 Next Time  Basic combinational circuits Multiplexer Multiplexer Encoders Encoders Decoders Decoders

39Read  Chapter 4 Sections 3, 4, 5 Sections 3, 4, 5 Section 4-8 covers Verilog Section 4-8 covers Verilog