Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 81 Today’s class Digital Logic.

Slides:



Advertisements
Similar presentations
Chapter 4 Gates and Circuits.
Advertisements

Chapter 4 Gates and Circuits Nell Dale • John Lewis.
Part 4: combinational devices
Chapter 4 Gates and Circuits.
Gates and Circuits Nell Dale & John Lewis (adaptation by Erin Chambers and Michael Goldwasser)
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Chapter 4 Gates and Circuits.
LOGIC GATES ADDERS FLIP-FLOPS REGISTERS Digital Electronics Mark Neil - Microprocessor Course 1.
Chapter 4 Gates and Circuits.
Section 10.3 Logic Gates.
9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 4 Gates and Circuits.
Gates A digital circuit is one in which only two logical values are present. Typically, a signal between 0 and 1 volt represents one value (e.g. binary.
CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.
Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved The Digital Logic Level.
16/07/2015CSE1303 Part B lecture notes 1 Hardware Implementation Lecture B17 Lecture notes section B17.
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
Lecture 8 Topics –Switch –Transistor –CMOS transistor –Logic gates AND, OR, NOT Universal gates: NAND, NOR XOR.
Lecture 3. Boolean Algebra, Logic Gates Prof. Sin-Min Lee Department of Computer Science 2x.
UNIT-8 LOGIC GATES.
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.
Some Useful Circuits Lecture for CPSC 5155 Edward Bosworth, Ph.D. Computer Science Department Columbus State University.
Chapter 4 Gates and Circuits.
Engineering Lecture 3 Digital Electronics by Jaroslaw Karcz.
Quiz # 2 Chapters 4, 5, & 6.
Chapter 3 Digital Logic Structures. 3-2 Transistor: Building Block of Computers Microprocessors contain millions of transistors Intel Pentium 4 (2000):
Encoders Three-state Outputs Multiplexers XOR gates.
Chapter 4 Gates and Circuits. Integrated Circuits aka CHIPS What’s in this thing???? 4–2.
Chapter 4 Gates and Circuits.
COMPUTER SYSTEM ARCHITECTURE By Sohaib.  The digital computer is a digital system that performs various computational tasks.  The word digital implies.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Lecture 17: Digital Design Today’s topic –Intro to Boolean functions Reminders –HW 4 due Wednesday 10/8/2014 (extended) –HW 5 due Wednesday 10/15/2014.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
CPS120: Introduction to Computer Science
School of Computer Science G51CSA 1 Computer Systems Architecture Fundamentals Of Digital Logic.
Digital Components and Combinational Circuits Sachin Kharady.
Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Roadmap Problems Algorithms.
The Digital Logic Level
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
Digital Logic. 4 Why is 32-bit or 64-bit significant in terms of speed, efficiency? 4 Difference between OR and XOR 4 What is a mux for? PLA 4 Two kinds.
Fall 2012: FCM 708 Foundation I Lecture 2 Prof. Shamik Sengupta
1 Boolean Algebra & Logic Gates. 2 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple.
Multiplexers 1 The output is equal to one of several input signals to the circuit The multiplexer selects which input signal to use as an output signal.
Week 6: Gates and Circuits: PART I READING: Chapter 4.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Architecture and Organization Unit -1. Digital Logic Circuits – Logic Gates – Boolean Algebra – Map Simplification – Combinational Circuits –
Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
Chapter 3 - Digital Logic Level Gates Basic Digital Logic Memory –Storage Hierarchy CPU –PII –PicoJava Bus –PCI Homework: –Chapter 3 # 1, 4, 6, 12, 25,
Basic Electricity and Electronics Module Three Microprocessor Basics Copyright © Texas Education Agency, All rights reserved.
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
WORKING PRINCIPLE OF DIGITAL LOGIC
4–1. BSCS 5 th Semester Introduction Logic diagram: a graphical representation of a circuit –Each type of gate is represented by a specific graphical.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
L OGIC G ATES Computer Organization – week 3. W HAT ’ S ALU? 1. ALU stands for: Arithmetic Logic Unit 2. ALU is a digital circuit that performs Arithmetic.
Week 1: Introduction and Logic gates IT3002 – Computer Architecture
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Chapter 3 - Binary Numbering System
Hardware building blocks in detail
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Chapter 4 Gates and Circuits.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Fundamentals of Computer Science Part i2
The Digital Logic Level
Logic Gates.
KS4 Electricity – Electronic systems
Digital Circuits and Logic
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 81 Today’s class Digital Logic

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 82 Digital circuits Two logical values  Binary 0 (signal between 0 and 1 volt)  Binary 1 (signal between 2 and 5 volts) Gates are small electronic devices that compute various functions of these two- valued signals

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 83 Transistor Inverter (NOT Gate) When the input voltage, V in, is below a critical value the transistor turns off and acts like an infinite resistance, so V out is very close to V cc, an externally regulated voltage (typically 5 V) When V in exceeds the critical value the transistor switches on and acts like a wire, causing V out to be pulled down to ground (0 V)

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 84 NAND Gate If both V 1 and V 2 are high, both transistors will conduct and V out will be low If either V 1 or V 2 is low the corresponding transistor will turn off and the V out will be high

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 85 NOR Gate If either V 1 or V 2 is high the corresponding transistor will turn on and V out will be pulled to ground (0 V) If both V 1 and V 2 are low then V out will remain high

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 86 Gates and Boolean Algebra

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 87 The Majority Function

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 88 Boolean Circuits Write down the truth table for the function Provide inverters to generate the complement (NOT) of each input Draw an AND gate for each term with a 1 in the result column Wire the AND gates to the appropriate inputs Feed the output of all the AND gates into an OR gate

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 89 Boolean Function Notation Truth table can get too large for more than 3 or 4 inputs Use a notation that specifies which combinations of inputs produce an output of 1

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 810 Using Only NAND and NOR

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 811 Circuit Equivalence

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 812 Boolean Algebra Identities

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 813 Alternative Symbols for Some Gates

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 814 Three Circuits for XOR

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 815 In-Class Exercise Use a truth table to show that X = (X AND Y) OR (X AND NOT Y) Show how the AND function can be constructed from two NAND gates

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 816 Integrated Circuits

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 817 Multiplexer

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 818 Decoder

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 819 Comparator

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 820 Shifter

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 821 Half Adder (a) (b)

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 822 Full Adder

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 823 Arithmetic Logic Unit

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 824 SR Latch

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 825 Clocked SR Latch A clocked SR latch.

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 826 Clocked D Latch A clocked D latch.

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 827 Flip-Flops

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 828 D Flip-Flop

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 829 Latch and Flip-Flop Symbols

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 830 Octal Flip-Flop (8-Bit Register)

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 831 Memory

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 832 Buffers (a) A noninverting buffer. (b) Effect of (a) when control is high. (c) Effect of (a) when control is low. (d) An inverting buffer.

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class Mbit Memory Chips

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 834 CPU Chips The logical pinout of a generic CPU. Arrows indicate input signals and output signals. Short diagonal lines indicate that multiple pins are used.

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 835 Computer Buses A bus is a common electrical pathway between multiple devices

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 836 Masters and Slaves Active devices which can initiate bus transfers are called masters Passive devices which wait for requests are called slaves

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 837 The Pentium 4

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 838 The Pentium 4’s Logical Pinout Names in upper case are the official Intel names for individual signals. Names in mixed case are groups of related signals or signal descriptions.

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 839 Pipelining on the Pentium 4’s Memory Bus

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 840 Pentium 4 Bus Structure

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 841 PCI Bus Arbitration The PCI bus uses a centralized bus arbiter.

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 842 The Universal Serial Bus PCI bus is too expensive for low speed I/O devices (e.g. keyboard, mouse) USB was designed by 7 companies as a better way to attach low speed I/O devices to a computer

Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 843 USB Goals Users must not have to set switches or jumpers Users must not have to open the case Only one kind of cable, for all devices Devices should get their power from the cable Up to 127 devices should be attachable to a single computer System should support real-time devices Devices should be installable while the computer is running No reboot should be needed after installing a new device Devices should be inexpensive to manufacture