Computer logic Data and programs in digital computers are represented and processed by electronic circuit networks called digital logic circuits or logic.

Slides:



Advertisements
Similar presentations
Chapter 4 Gates and Circuits.
Advertisements

Chapter 4 Gates and Circuits.
Basics Combinational Circuits Sequential Circuits
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Chapter 4 Gates and Circuits.
Introduction to Digital Systems By Dr. John Abraham UT-Panam.
Overview Part 2 – Combinational Logic
EECC341 - Shaaban #1 Lec # 1 Winter Introduction to Digital Systems Analog devices and systems process time-varying signals that can take.
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.
Multiplexers, Decoders, and Programmable Logic Devices
Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 81 Today’s class Digital Logic.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Boolean Algebra and Logic Gates1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)
Lecture 3. Boolean Algebra, Logic Gates
Any logic circuits can be transformed to an implementation where only NAND gates (and inverters) are used. The general approach to finding a NAND-gate.
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.
Morgan Kaufmann Publishers
Boolean Algebra and Logic Gates CE 40 B 18 June 2003.
Chapter 4 Gates and Circuits.
CSCI-235 Micro-Computers in Science Hardware Design Part I.
Digital Electronics. Introduction to Number Systems & Codes Digital & Analog systems, Numerical representation, Digital number systems, Binary to Decimal.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Boolean Algebra and Digital Circuits
Switching functions The postulates and sets of Boolean logic are presented in generic terms without the elements of K being specified In EE we need to.
Digital Logic Basics Chapter 2 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer, 
CPS120: Introduction to Computer Science
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
 In studying digital integrated circuits, one must start with the simplest group of circuit, the SSIs or Small Scale Integrated Circuits. Since these.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /10/2013 Lecture 5: Combinational Logic Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER SCIENCE.
Discrete Mathematics and Its Applications.  The English mathematician George Boole ( ) sought to give symbolic form to Aristotle's system of.
1 Lecture #7 EGR 277 – Digital Logic Reading Assignment: Chapter 4 in Digital Design, 3 rd Edition by Mano Chapter 4 – Combinational Logic Circuits A)
Logic Gates Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
CSCI-100 Introduction to Computing Hardware Design Part I.
LOGIC GATES. Electronic digital circuits are also called logic circuits because with the proper input, they establish logical manipulation paths. Each.
Chapter 7 Logic Circuits 1.State the advantages of digital technology compared to analog technology. 2. Understand the terminology of digital circuits.
Linear Algebra. Circuits The circuits in computers and other input devices have inputs, each of which is either a 0 or 1, the output is also 0s and 1s.
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
CHAPTER 1 SETS, FUNCTIONs, ELEMENTARY LOGIC & BOOLEAN ALGEBRAs
Fundamentals of digital electronics Prepared by - Anuradha Tandon Assistant Professor, Instrumentation & Control Engineering Branch, IT, NU.
Magnitude Comparator Dr. Ahmed Telba.
CS151 Introduction to Digital Design Chapter 3: Combinational Logic Design 3-5 Combinational Functional Blocks 3-6 Rudimentary Logic Functions 3-7 Decoding.
Digital Logic Design Basics Combinational Circuits Sequential Circuits Pu-Jen Cheng Adapted from the slides prepared by S. Dandamudi for the book, Fundamentals.
Logic Gates Ghader Kurdi Adapted from the slides prepared by DEPARTMENT OF PREPARATORY YEAR.
Standard & Canonical Forms COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University of Petroleum.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Week 1: Introduction and Logic gates IT3002 – Computer Architecture
This chapter in the book includes: Objectives Study Guide
Digital Logic.
Combinational Logic Design&Analysis.
CSCI-100 Introduction to Computing
Digital Signals Digital Signals have two basic states:
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
This chapter in the book includes: Objectives Study Guide
NAND-ONLY LOGIC CIRCUITS
Basics Combinational Circuits Sequential Circuits
Chapter 4 Gates and Circuits.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Fundamentals of Computer Science Part i2
CSC 220: Computer Organization Logic Gates and Functions
Logic Gates.
1.Introduction to Advanced Digital Design (14 marks)
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Unit IV Adders Subtractors Flip Flops Counters Multiplexes and De multiplexes. Integrated circuits-Op. amp – Characteristics Inverting amplifier - Non-inverting.
Presentation transcript:

Computer logic Data and programs in digital computers are represented and processed by electronic circuit networks called digital logic circuits or logic circuits, for short. Logic circuits are the heart of computer hardware. Logic circuits operate on two logical values, usually called bit 0 and bit 1, and the operations are based on the principles of Boolean Algebra.

Computer logic Logical circuits are made from two basic devices Logic gate Flip-flop Flip-flops provide memory for storing data while logic gates provide operations on, or functions of, the values stored in these memory devices. Logic gate is a combinational circuit that performs an elementary logic operation.

Logic function and truth table The values of input x1 and x2 and the corresponding value y of each basic logic gate is represented in it truth table. The truth table lists all possible switch setting (input values) along with value of the result (output value) for each setting.

Logic Function and Truth Table In general logic terms, this truth table represents the function values y of two variables x1 and x2 values as y = f(x1, x2) and may be extended to n variable as the logic function y = f(x1,x2,...,xn) Basic logic gates can be used to construct logic network (network of logic gates) or logic circuit that implements more complex logic function (Boolean function).

Logic Function and Truth Table At any moment, the output signal of a gate is a function of the input signals at that moment. The AND gate can have two or more inputs and one output. The output is 1 if and only if all the inputs are 1s. Otherwise it is 0. The OR gate can have two or more inputs and one output. The output is 1 if any of the inputs is 1. Not gate or “inverter” has one input and one output which is always the opposite of the input.

Logic Function and Truth Table Truth table is important way for describing logic function values. Any logic function with n inputs and one output, the corresponding truth table will have one column for each input, and one column for the output. The truth table will have one row for every possible combination of inputs; 2n rows in all. The output column in each row simply specifies the output for that combination of inputs.

Logic Function and Truth Table The logic function : Y = A·B + A·B The corresponding truth table : 1 Y= A· B + A· B A . B B A

Logic Function and Truth Table The corresponding logic circuit Y = A·B + A·B A B

Boolean Function and Boolean Expression There are two important problems of Boolean functions and Boolean expressions : Given the values of a Boolean function, how can a Boolean expression that represent this function be found ? Is there a smaller set of operators that can be used to represent all Boolean functions ?

Boolean Function and Boolean Expression Both of these problems have practical importance in circuit design. Methods of representing of Boolean functions Sum-of-products expansions (minterm expansions ) Product-of-sums expansions (maxterm expansions )

Boolean Function and Boolean Expression Find Boolean expressions that represent the Boolean functions F(x,y,z) and G(x,y,z) below : F(x,y,z) = x  y  z = xyz + xy z G(x,y,z)

exclusive-OR ( x  y ) Sum-of-products expansions f(x, y) = 1 when x = 1 and y = 0 x = 0 and y = 1 x y = x•y + x•y

exclusive-OR ( x  y ) Product-of-sums expansions f(x, y) = 0 when x = 1 and y = 1 x = 0 and y = 0 x y = (x+y) • (x+y)

Boolean Function The Boolean functions F and G of n variables are equal if and only if F( b1 , b2 , … , bn) = G( b1 , b2 , … , bn ) whenever b1, b2 , … , bn belong to B = { 0 , 1 } Two different Boolean expressions that represent the same Boolean function are called equivalent Boolean expressions.

Boolean Function Example To show F( x , y, z ) = G( x , y, z ) where F( x , y, z ) = x + y•z G( x , y,z ) = ( x + y ) •( x + z )

F( x , y, z ) = x + y•z G( x , y,z ) = ( x + y ) •( x + z )

Aj Bj C Circuit C2 S1 S2 C1 A1 B1 A2 B2 Cm-1 Sm Am Bm Cm Cj-1 Sj = Aj + Bj Cj Aj Bj Cj-1 C Circuit Output C2 S1 S2 C1 A1 B1 A2 B2 Cm-1 Sm Am Bm C Circuit Cm Input

Elements of computer hardware Transistors Group of transistors ICs Circuit boards Computer

Elements of computer hardware Transistors are the smallest computational elements. Boolean functions and memories are formed by groups of transistors. Elementary addition and multiplication is done by boolean functions and memory elements called flip-flops. Integrated circuits (ICs) contain a large number of such functions.

Elements of computer hardware Printed circuits boards contain severeral integrated circuits to form a either a full computer or specific I/O (input/output) functions. Massive storage such as disks and tapes interfaces the computer through its main bus.

Functional organization CPU Main memory I/O interface Bus translator Bus

Integrated circuits The logic gates AND, OR, NOT are the basic components of digital logic circuits of computers. However, these three gates are in principle sufficient to construct a logic circuit of any kind. The number of gates that are combined in a single integrated circuit (IC) is often used to distinguish different levels of IC manufacturing.

Integrated circuits Four levels of IC chips are recognized : Small-scale integration ( SSI ) 1 to 9 gates per chip Medium-scale integration ( MSI ) 10 to 99 gates per chip Large-scale integration ( LSI ) 100 to 100,000 gates per chip Very large-scale integration ( VLSI ) over 100,000 gates per chip

Integrated circuits An integrated circuit (IC) is a microelectronic device consisting of many interconnected transistors and other components. ICs are constructed (‘fabricated’) on a small rectangle, called a ‘die’, cut from a silicon (or for special applications, sapphire) wafer.

Integrated circuits ICs can be classified into analog, digital, or hybrid (both digital and analog on the same chip). Digital ICs can contain anything from one to millions of logic gates, flip-flops, multiplexers, etc. in a few square millimeters. The small size of ICs allows high speed, low power dissipation, and reduced manufacturing cost compare with board-level integration.