Lecture 21: Combinational Circuits. Integrated Circuits. Integrated Circuits, cont. Integrated Circuits Combinational Circuits

Similar documents
Henry Lin, Department of Electrical and Computer Engineering, California State University, Bakersfield Lecture 7 (Digital Logic) July 24 th, 2012

Chapter 2 Logic Gates and Introduction to Computer Architecture

DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

3. The high voltage level of a digital signal in positive logic is : a) 1 b) 0 c) either 1 or 0

BUILDING BLOCKS OF A BASIC MICROPROCESSOR. Part 1 PowerPoint Format of Lecture 3 of Book

Von Neumann Architecture

Digital Logic Design Exercises. Assignment 1

LECTURE 4. Logic Design

Chap-2 Boolean Algebra

Lecture (05) Boolean Algebra and Logic Gates

Basic Arithmetic (adding and subtracting)

EECS 150 Homework 7 Solutions Fall (a) 4.3 The functions for the 7 segment display decoder given in Section 4.3 are:

Date Performed: Marks Obtained: /10. Group Members (ID):. Experiment # 09 MULTIPLEXERS

Combinational Logic with MSI and LSI

QUESTION BANK FOR TEST

CSC 220: Computer Organization Unit 10 Arithmetic-logic units

Arithmetic Circuits. Nurul Hazlina Adder 2. Multiplier 3. Arithmetic Logic Unit (ALU) 4. HDL for Arithmetic Circuit

LABORATORY MANUAL VLSI DESIGN LAB EE-330-F

Arithmetic-logic units

Lec-6-HW-2-digitalDesign

Let s put together a Manual Processor

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-II COMBINATIONAL CIRCUITS

Chapter 4: Combinational Logic


Digital Systems. John SUM Institute of Technology Management National Chung Hsing University Taichung, ROC. December 6, 2012

Systems Programming. Lecture 2 Review of Computer Architecture I

The D igital Digital Logic Level Chapter 3 1

CS101 Lecture 25: The Machinery of Computation: Computer Architecture. John Magee 29 July 2013 Some material copyright Jones and Bartlett

Intro to Logic Gates & Datasheets. Intro to Logic Gates & Datasheets. Introduction to Integrated Circuits. TTL Vs. CMOS Logic

Intro to Logic Gates & Datasheets. Digital Electronics

Chapter 4. Combinational Logic

Hours / 100 Marks Seat No.

structure syntax different levels of abstraction

Here is a list of lecture objectives. They are provided for you to reflect on what you are supposed to learn, rather than an introduction to this

This presentation will..

Boolean Algebra. BME208 Logic Circuits Yalçın İŞLER

Addition and multiplication

CS140 Lecture 03: The Machinery of Computation: Combinational Logic

Chapter 2. Boolean Algebra and Logic Gates

Topics. Computer Organization CS Exam 2 Review. Infix Notation. Reverse Polish Notation (RPN)

2/14/2016. Hardware Synthesis. Midia Reshadi. CE Department. Entities, Architectures, and Coding.

CS/COE 0447 Example Problems for Exam 2 Spring 2011

Digital Design with FPGAs. By Neeraj Kulkarni

COMPUTER ARCHITECTURE AND ORGANIZATION Register Transfer and Micro-operations 1. Introduction A digital system is an interconnection of digital

Mark Redekopp, All rights reserved. EE 352 Unit 8. HW Constructs

EXPERIMENT #8: BINARY ARITHMETIC OPERATIONS

Lecture 7: Instruction Set Architectures - IV

Principles of Digital Techniques PDT (17320) Assignment No State advantages of digital system over analog system.

Combinational Circuits

Experiment 9: Binary Arithmetic Circuits. In-Lab Procedure and Report (30 points)

EECS150 - Digital Design Lecture 6 - Field Programmable Gate Arrays (FPGAs)

To design a 4-bit ALU To experimentally check the operation of the ALU

ESE534 Computer Organization. Previously. Today. Spatial Programmable. Spatially Programmable. Needs?

Lecture #21 March 31, 2004 Introduction to Gates and Circuits

ECE468 Computer Organization & Architecture. The Design Process & ALU Design

Outline. EECS150 - Digital Design Lecture 6 - Field Programmable Gate Arrays (FPGAs) FPGA Overview. Why FPGAs?

ECE 341 Midterm Exam

UNIT-III REGISTER TRANSFER LANGUAGE AND DESIGN OF CONTROL UNIT

Propositional Calculus. Math Foundations of Computer Science

CS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 3, 2015

UNIT - V MEMORY P.VIDYA SAGAR ( ASSOCIATE PROFESSOR) Department of Electronics and Communication Engineering, VBIT

CS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 2, 2016

Levels in Processor Design

Chapter 3 Arithmetic for Computers

FPGA Design Challenge :Techkriti 14 Digital Design using Verilog Part 1

Spiral 2-8. Cell Layout

COMBINATIONAL LOGIC CIRCUITS

(Refer Slide Time: 00:01:53)

DLD VIDYA SAGAR P. potharajuvidyasagar.wordpress.com. Vignana Bharathi Institute of Technology UNIT 3 DLD P VIDYA SAGAR

Topics. Midterm Finish Chapter 7

Digital Electronics 27. Digital System Design using PLDs

Hardware Design Environments. Dr. Mahdi Abbasi Computer Engineering Department Bu-Ali Sina University

Field Programmable Gate Array (FPGA)

4. Write a sum-of-products representation of the following circuit. Y = (A + B + C) (A + B + C)

REGISTER TRANSFER LANGUAGE

Binary Adders: Half Adders and Full Adders

Homework. Reading. Machine Projects. Labs TTL Logic Data Sheets. MP3 due at start of class today Start looking at MP4 now

COS 116 The Computational Universe Laboratory 8: Digital Logic II

Department of Electrical Engineering McGill University ECSE 221 Introduction to Computer Engineering Assignment 2 Combinational Logic

ECE 341. Lecture # 6

Lecture 4: Implementation AND, OR, NOT Gates and Complement

EX4 DIGITAL ELECTRONICS After completing the task and studying Unit 1.6, students will be able to: (check all that apply):

Combinational Logic Use the Boolean Algebra and the minimization techniques to design useful circuits No feedback, no memory Just n inputs, m outputs

ENGIN 112 Intro to Electrical and Computer Engineering

EECS Components and Design Techniques for Digital Systems. Lec 20 RTL Design Optimization 11/6/2007

IA Digital Electronics - Supervision I

Combinational Circuits

Chapter 6 Combinational-Circuit Building Blocks

6.1 Combinational Circuits. George Boole ( ) Claude Shannon ( )

Number Systems and Computer Arithmetic

ECE 2030B 1:00pm Computer Engineering Spring problems, 5 pages Exam Two 10 March 2010

CS 24: INTRODUCTION TO. Spring 2015 Lecture 2 COMPUTING SYSTEMS

FPGA architecture and design technology

Programmable Logic Design Techniques I

6.1 Combinational Circuits. George Boole ( ) Claude Shannon ( )

Computer Organization and Levels of Abstraction

Music. Numbers correspond to course weeks EULA ESE150 Spring click OK Based on slides DeHon 1. !

HANSABA COLLEGE OF ENGINEERING & TECHNOLOGY (098) SUBJECT: DIGITAL ELECTRONICS ( ) Assignment

Chap.3 3. Chap reduces the complexity required to represent the schematic diagram of a circuit Library

CS 261 Fall Mike Lam, Professor. Combinational Circuits

Transcription:

Lecture 21: Combinational Circuits Integrated Circuits Combinational Circuits Multiplexer Demultiplexer Decoder Adders ALU Integrated Circuits Circuits use modules that contain multiple gates packaged together, rather than individual gates. These are called Integrated Circuits (ICs, chips) SSI (small scale integration): 1-10 gates/chip MSI (medium scale integration): 10-100 gates/chip LSI (large scale integration): 100 100,000 gates/chip VLSI (very large scale integration): more than 100,000 gates/chip Integrated Circuits, cont. TTL example (older Tannenbaum) Current technology could put 5 million NAND gates on a chip! But that chip would need 15,000,002 pins. With standard pin spacing, an 18km long chip. Instead, circuits are designed with a high gate/pin ratio. 1

Combinational Circuits Multiplexer (MUX) Def: a set of interconnected gates whose output at any time is a function of the input at that time. The appearance of input is followed almost immediately by output, with only gate delays. gate delays how long it takes the signal to propagate through the gate We ll look a some useful combinational circuits. A circuit that goes from many inputs to one output. 2 n input lines (data 1 output line n select (control) lines The select lines are used to pick one of the input lines to directly output to the output line. At any time, one of the inputs is selected to be passed to the output. MUX Diagram MUX, cont. D0 D1 D2 D3 4-to-1 MUX F S1 and S0 are connected to AND gates in such a way that for any combination of S1 and S2, 3 of the AND gates will output 0 The 4 th AND gate will output the value of the selected input line. So, 3 inputs to the OR-gate will always be 0, and the output of the OR-gate will equal the value of the selected input gate. S1 S0 2

Multiplexer Uses Demultiplexer Device controllers several terminals connected to a MUX with a single line to the CPU. The MUX is used to select which terminal should transmit. Parallel-to-serial data converter if we want to transmit an 8-bit character over a telephone line, where each bit needs to be transmitted one at a time, each bit could be put on the input of the MUX, then the control lines can sequentially be used to send each bit. Reverse of Multiplexer: 1 input line 2 n output lines n control lines Control lines choose which of the output lines will get the input bit (the rest of the output lines will get 0) Demultiplexer, cont. Decoder demux A circuit that asserts one output line, depending on a pattern of input lines. n input lines 2 n output lines In this circuit, inputs are the select liens. The line they select gets a one, all other lines get zero. (recall, in a demultiplexer, the selected line got a 0 or 1 depending on what was on the data line) 3

A B Decoder, cont. 2x4 decoder D0 D1 D2 D3 Decoder Uses Address decoding Suppose you wish to construct a 1Kbyte memory using 4 256x8-bit RAM chips. Want a single unified address space. Address Chip 000-0FF 0 100-1FF 1 200-2FF 2 300-3FF 3 Each chip needs 8 address lines (256 bits). These are supplied by the loworder 8-bits of the address. High-order 2 bits (of the 10-bit address) are used to select 1 of 4 chips. Adders This can be drawn using our previous method: Truth table for 1-bit addition: A B 0 0 0 1 1 0 1 1 Sum Carry 0 0 1 0 1 0 0 1 Or, we could notice that the Sum is the XOR of A and B: carry A + B ----- C S sum This circuit is known as a Half- Adder. 4

Half-Adder vs. Full Adder To be useful for arithmetic, need to also consider carry-in: Full-Adder For multiple-bit addition, need a full adder. Truth table: A B CarryIn Sum CarryOut 1011 + 0011 -------- 10 half-adder computes this correctly 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 1 1 half-adder wouldn t calculate this correctly because it doesn t consider the carry-in from the previous bit. Full-Adder, cont. Arithmetic Logic Units For sixteen bit words, wire together 16 1-bit full adders. Wire CarryIn for lowest bit to zero. CarryIn for the remaining bits should be wired to the CarryOut of the previous bit. Most computers have a single circuit for performing AND, OR, and sum of two words. For n-bit words, built from n identical circuits or individual bit positions. These are known as 1-bit ALUs or bit slices. 5

ALU Figure 3-19 from Tannenbaum. 6