Basic logical operations 2.2.3 Operation Mechanism Through the combination of circuits that perform these three operations, a wide range of logical circuits.

Slides:



Advertisements
Similar presentations
Part 4: combinational devices
Advertisements

PIPELINE AND VECTOR PROCESSING
Unit 7 Discrete Controllers
التصميم المنطقي Second Course
ECE 331 – Digital System Design Latches and Flip-Flops (Lecture #17) The slides included herein were taken from the materials accompanying Fundamentals.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Review and Overview. Review  Combinational logic circuit – Decoder, Encoder, Multiplexer, De-multiplexer, Full Adder, Multiplier  Sequential logic circuit.
Overview Finite State Machines - Sequential circuits with inputs and outputs State Diagrams - An abstraction tool to visualize and analyze sequential circuits.
1 Lecture 11: Digital Design Today’s topics:  Evaluating a system  Intro to boolean functions.
State Machines Used to Design Sequential Circuits.
CPEN Digital System Design Chapter 9 – Computer Design
Combinational circuits
16/07/2015CSE1303 Part B lecture notes 1 Hardware Implementation Lecture B17 Lecture notes section B17.
More Basics of CPU Design Lecture for CPSC 5155 Edward Bosworth, Ph.D. Computer Science Department Columbus State University.
Flynn’s Taxonomy of Computer Architectures Source: Wikipedia Michael Flynn 1966 CMPS 5433 – Parallel Processing.
Chapter 4 Gates and Circuits.
Quiz # 2 Chapters 4, 5, & 6.
ECE 101 An Introduction to Information Technology Digital Logic.
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.
Rabie A. Ramadan Lecture 3
Logic Design Computer Architecture and Design Lecture 1.
Operating System 4 THREADS, SMP AND MICROKERNELS
Pipeline And Vector Processing. Parallel Processing The purpose of parallel processing is to speed up the computer processing capability and increase.
ADDERS Half Adders Recall that the basic rules of binary addition are as indicated below in Table 2-9. A circuit known as the half-adder carries out these.
Computer Organization 1 Logic Gates and Adders. Propositions –Venn Diagrams.
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
1 Boolean Algebra & Logic Gates. 2 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple.
Parallel Processing - introduction  Traditionally, the computer has been viewed as a sequential machine. This view of the computer has never been entirely.
Computer Organization and Architecture Tutorial 1 Kenneth Lee.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
Digital Logic. 2 Abstractions in CS (gates) Basic Gate: Inverter IO IO GNDI O Vcc Resister (limits conductivity) Truth Table.
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.
Logic Design / Processor and Control Units Tony Diep.
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Transistor: Building.
Lecture 3: Computer Architectures
Chapter 6 – Digital Electronics – Part 1 1.D (Data) Flip Flops 2.RS (Set-Reset) Flip Flops 3.T Flip Flops 4.JK Flip Flops 5.JKMS Flip Flops Information.
CO5023 Latches, Flip-Flops and Decoders. Sequential Circuit What does this do? The OUTPUT of a sequential circuit is determined by the current output.
3/12/2013Computer Engg, IIT(BHU)1 INTRODUCTION-1.
How does the CPU work? CPU’s program counter (PC) register has address i of the first instruction Control circuits “fetch” the contents of the location.
By : Gastón Tricárico St. Brendans school The processor is the computer's brain. It allows the processing of numeric data, meaning information entered.
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 Gates Learning Objectives Learn that there is a one-to-one relationship between logic gates and Boolean expressions Learn how logic gates are combined.
Instructor:Po-Yu Kuo 教師:郭柏佑
CS 270: Mathematical Foundations of Computer Science
CHAPTER SEVEN PARALLEL PROCESSING © Prepared By: Razif Razali.
Distributed Processors
buses, crossing switch, multistage network.
Instructor:Po-Yu Kuo 教師:郭柏佑
Clock in Digital Systems
Basics of digital systems
COSC 2021: Computer Organization Instructor: Dr. Amir Asif
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Fundamentals of Computer Science Part i2
Array Processor.
Instructor:Po-Yu Kuo 教師:郭柏佑
Digital Logic.
buses, crossing switch, multistage network.
Overview Parallel Processing Pipelining
Logic Gates.
Part 2: Parallel Models (I)
DIGITAL ELECTRONICS B.SC FY
Chapter 10.3 and 10.4: Combinatorial Circuits
Digital Logic Circuits
COMPUTER ARCHITECTURES FOR PARALLEL ROCESSING
XOR Function Logic Symbol  Description  Truth Table 
Digital Circuits and Logic
Operating System Overview
Presentation transcript:

Basic logical operations Operation Mechanism Through the combination of circuits that perform these three operations, a wide range of logical circuits is implemented. Logical product operation (AND operation) Logical sum operation (OR operation) Negation operation (NOT operation) Basic logical operations Logical sum (OR) Logical product (AND) Logical operationsOperation symbols Negation (NOT) Exclusive logical sum (EOR) Negative logical sum (NOR) Negative logical product (NAND) ^ ∙ V + ¯ ¬ A Logical Circuits Basic Circuits and their Combination AND circuit OR circuit NOT circuit EOR circuit NOR circuit NAND circuit Combinational Circuit Identity circuitAddition circuit Half adder circuit Full adder circuit Sequential Circuit Flip-flop circuit

AND circuit of a switch and a light bulb AND circuit Basic logical circuits Operation Mechanism Truth Table ABA AND B Venn Diagram A^B (or A∙B) switch A switch B switch Aswitch B open (0) close (1) open (0) close (1) A: 0 B: 0 A ^ B = 0 A: 0 B: 1 A ^ B = 0 A: 1 B: 0 A ^ B = 0 A: 1 B: 1 A ^ B = 1 A B Y MIL –STD US Military standard AND symbol

OR circuit of a switch and a light bulb OR circuit Basic logical circuits Operation Mechanism Truth Table ABA OR B Venn Diagram A ν B (or A+B) AB A B Y MIL –STD US Military standard OR symbol

NOT circuit of a switch and a light bulb NOT circuit Basic logical circuits Operation Mechanism Truth Table ANOT A A Venn Diagram ¬ A A A Y MIL –STD US Military standard NOT symbol

EOR, NOR & NAND circuits Combination of the basic circuits Operation Mechanism Truth Tables ABA EOR B ABA NOR B ABA NAND B A B Y MIL –STD US Military standard EOR symbol A B Y NOR symbol A B Y NAND symbol Exclusive logical sum operation circuit Negative logical sum operation circuit Negative logical product operation circuit

Addition circuits Combination of the basic circuits Operation Mechanism Truth Table InputOutput ABCD Half-adder circuit Addition of two 1-digit nos. a + b ── c d Full-adder circuit a c' EOR circuit AND circuit EOR circuit AND circuit OR circuit b Result d Carry e a b EOR circuit AND circuit Result d Carry c InputOutput c’abed c' a + b ── e d

Sequential circuit Combination of the basic circuits Operation Mechanism Sequential circuit a circuit in which the output is established according to the current input and the status preserved (past input). status changes with time composed of a flip-flop circuit and is used in registers, etc. NOR circuit

2.2.4 Multi-Processor Multi-processor systems are introduced to improve the performance and reliability of the system. Multiple processors are in parallel with each processor having a dedicated function. When failure occurs, the processor will do a switch and the remaining processors will distribute the load among themselves.

Symmetric Multi-Processor Multi-Processor Memory is shared among all the processors executing the same OS. Competition for the use of memory among the processors since the memory common to all. A large number of processors cannot be connected. Message passing distributed memory multi processor systems - systems where each processor has its own private block memory. - a high speed I/O port is used to transfer the data between the different blocks.

Array Processor Multi-Processor The sub units’ acts are in a queue passing the result to the next unit after it has finished its part (vector processing) Mostly used in: Supercomputers High speed scientific computing Large scale or dedicated mathematical processors

Parallel Multi-Processor Multiple processors cooperate with multiple tasks being performed to execute one job. SISD (Single Instruction Single Data Stream) One Instruction stream operating on a single data element and is not parallel. SIMD (Single Instruction Multiple Data Stream) Each instruction may operate on more than one data element and is synchronous. Parallel SIMD The same instruction is executed by all processors operating on different sets of data MIMD (Multiple Instruction Multiple Data Stream) Each instruction has its own instruction stream and acts on its own data stream independent of other processors.

MIPS (Million Instructions per Second) Processor performance Indicates, in million units, the number of instructions that can be executed in one second. The higher the number of instructions that can be executed, the higher the value. Mainly used to indicate the performance of processors of high-end mainframe computers. However, it is meaningless to use this index to compare processors of different types of machines that execute different instruction contents.

Clock Processor performance A processor has an internal clock to set the pace in which the micro-instructions, which are basic operations, are executed, Uses a quartz crystal oscillator that pulses in regular intervals when electric current passes through. The time taken for this oscillator to pulse once (one cycle) is called clock. The basic operations of the processor are performed according to this clock. The number of clocks vary according to the instruction. Clock Frequency - clock reciprocal number - used as an index to measure the performance of a personal computer.

CPI (Cycles per Instruction) Processor performance A CPI is the number of clocks required to execute one instruction. This index indirectly indicates the execution time of one instruction.