Module 7 Hardware. Introduction Switches are the basic blocks of computer hardware. We build increasingly complex hardware from these simple switches.

Slides:



Advertisements
Similar presentations
DAT2343 Basic Logic Gates © Alan T. Pinck / Algonquin College; 2003.
Advertisements

CT455: Computer Organization Logic gate
Computer Science 210 Computer Organization Introduction to Logic Circuits.
1 Computer Programming Boolean Logic Copyright © Texas Education Agency, 2013.
Microcomputer Circuits Prof Jess UEAB 2007 Designing a Microprocessor Chapter 1.
Sahar Mosleh PageCalifornia State University San Marcos 1 Introductory Concepts This section of the course introduces the concept of digital circuits and.
» When you have completed this module you will know, what components do, what they physically look like and how they are represented in a circuit diagram.
The Logic Machine We looked at programming at the high level and at the low level. The question now is: How can a physical computer be built to run a program?
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
Copyright © Cengage Learning. All rights reserved. CHAPTER 2 THE LOGIC OF COMPOUND STATEMENTS THE LOGIC OF COMPOUND STATEMENTS.
The Analytical Engine Hardware. The Logic Machine Computers were originally wired to perform a specific task. The vision was a machine that could perform.
ELECTRON ICS CLUB ELECTROMANIA LECTURE AND PROBLEM STATEMENT DISCUSSION.
In this module you will learn: What the various logic gates do. How to represent logic gates on a circuit diagram. The truth tables for the logic gates.
Lecture 8 Topics –Switch –Transistor –CMOS transistor –Logic gates AND, OR, NOT Universal gates: NAND, NOR XOR.
Logic Gate A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs. The output signal appears only.
Introduction to Digital Electronics:
1 Computer Logic, Logic Gates, and Building Circuits Image: Intel Museum.
Introduction to Digital Design
Computer Science 1000 Digital Circuits. Digital Information computers store and process information using binary as we’ve seen, binary affords us similar.
CPSC 171 Introduction to Computer Science Boolean Logic, Gates, & Circuits.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: Binary Logic.
CS 352 : Computer Organization and Design University of Wisconsin-Eau Claire Dan Ernst Elementary Digital Logic Apps O/S Arch  Arch Logic Digital Analog.
CSCI-235 Micro-Computers in Science Hardware Design Part 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.
Logic Gates How Boolean logic is implemented. Transistors used as switches to implement Boolean logic: ANDOR Logic with Transistors.
TECH LOGIC CIRCUIT PROJECT BY: JUAN ESTEBAN ARENAS 8: ROOK.
School of Computer Science G51CSA 1 Computer Systems Architecture Fundamentals Of Digital Logic.
 In studying digital integrated circuits, one must start with the simplest group of circuit, the SSIs or Small Scale Integrated Circuits. Since these.
Boolean Algebra and Computer Logic Mathematical Structures for Computer Science Chapter 7.1 – 7.2 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Boolean.
Digital Logic Problems (II) Prof. Sin-Min Lee Department of Mathematics and Computer Science.
CSCI-100 Introduction to Computing Hardware Design Part I.
Electronic Components Circuit/Schematic Symbols. RESISTOR Resistors restrict the flow of electric current, for example a resistor is placed in series.
LOGIC GATES. Electronic digital circuits are also called logic circuits because with the proper input, they establish logical manipulation paths. Each.
BASIC LOGIC GATES. In studying digital in integrated circuits, one must start with the simples group of circuits, the SSIs or Small Scale Integrated Circuits.
IT253: Computer Organization Lecture 7: Logic and Gates: Digital Design Tonga Institute of Higher Education.
Computer Science 210 Computer Organization Control Circuits Decoders and Multiplexers.
Introduction to Computing Systems and Programming Digital Logic Structures.
S3 INNOVATION ELECTRONICS. LESSON TITLE: ELECTRONICS Learning Intention: To understand when to use different types of logic gates Activity: Building own.
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
 A transistor is the basic building block of electronic components.  The average computer may have millions of them within its circuits.  Essentially,
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
Logic Gates Unit 16.
Logic gates.
GCSE OCR Computing A451 Binary logic Computing hardware 6.
Logic Gates Binary Day 3 PEOPLE 2016.
Logic Gates and Boolean Algebra
Logic Gates.
Computer Science 210 Computer Organization
Active Components & Integrated Circuits
More Devices: Control (Making Choices)
Instructor:Po-Yu Kuo 教師:郭柏佑
Logic Gates.
CSCI-100 Introduction to Computing
Digital Signals Digital Signals have two basic states:
Computer Science 210 Computer Organization
CS140 Lecture 02a: The Machinery of Computation: Circuits and Gates
How Boolean logic is implemented
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Computer Science 210 Computer Organization
3.4 Computer systems Boolean logic Lesson 2.
JC Technology Logic Gates.
Instructor:Po-Yu Kuo 教師:郭柏佑
GCSE Computer Science – Logic Gates & Boolean Expressions
ELECTRONIC SYSTEMS Note: There is no compulsory question set on Section 25 of the syllabus. Questions set on topics within Section 25 are always set as.
Truth tables Mrs. Palmer.
Copyright © Cengage Learning. All rights reserved.
Logic Gates AIM: To know the different types of logic gate
COMPUTER ORGANIZATION
Presentation transcript:

Module 7 Hardware

Introduction Switches are the basic blocks of computer hardware. We build increasingly complex hardware from these simple switches. An example of a switch that we use everyday in our lives is the Light Switch.

Introduction The switches that we use in computer hardware are far too small to be seen by the naked eye. Then how are these components constructed if they are that small?

Introduction The answer rests in three technologies:

Introduction The answer rests in three technologies: – The idea of representing information by electrical signals which led to development of the telegraph. Switching devices developed such as Vacuum tubes, but they all suffered from the disadvantages of being large, high power consumption and slow speed.

Introduction The answer rests in three technologies: – The idea of representing information by electrical signals which led to development of the telegraph. Switching devices developed such as Vacuum tubes, but they all suffered from the disadvantages of being large, high power consumption and slow speed. – Invention of transistor which is a very small switch.

Introduction The answer rests in three technologies: – The idea of representing information by electrical signals which led to development of the telegraph. Switching devices developed such as Vacuum tubes, but they all suffered from the disadvantages of being large, high power consumption and slow speed. – Invention of transistor which is a very small switch. – Photography. The computer scientists got the idea of having layers of chemicals on top of each other from photography to “print” the wires of circuit directly on a non-conducting base and this led to invention of Integrated Circuits (ICs) which packs thousands of transistors on one chip.

Electrical Switches We adopt the convention that:

Electrical Switches We adopt the convention that: – A high voltage in a wire is represented by the symbol 1. – Little or no voltage in a wire represented by symbol 0.

Electrical Switches We adopt the convention that: – A high voltage in a wire is represented by the symbol 1. – Little or no voltage in a wire represented by symbol 0. With this convention a switch can be viewed as a logic operator.

Electrical Switches We adopt the convention that: – A high voltage in a wire is represented by the symbol 1. – Little or no voltage in a wire represented by symbol 0. With this convention a switch can be viewed as a logic operator. Think of a switch as box with three wires connected to it called in, out and control.

Electrical Switches We adopt the convention that: – A high voltage in a wire is represented by the symbol 1. – Little or no voltage in a wire represented by symbol 0. With this convention a switch can be viewed as a logic operator. Think of a switch as box with three wires connected to it called in, out and control. Our switches will come in two basic varieties:

Electrical Switches We adopt the convention that: – A high voltage in a wire is represented by the symbol 1. – Little or no voltage in a wire represented by symbol 0. With this convention a switch can be viewed as a logic operator. Think of a switch as box with three wires connected to it called in, out and control. Our switches will come in two basic varieties: – Normally open – Normally closed

An electronic switch in general

Normally Open Switch In a normally open switch, current can pass from in to out only when there is a signal at the control wire.

Normally Open Switch In a normally open switch, current can pass from in to out only when there is a signal at the control wire. That is when control is 1.

Normally Open Switch In a normally open switch, current can pass from in to out only when there is a signal at the control wire. That is when control is 1. Otherwise the value of out is 0.

Normally Open Switch

Normally Closed Switch In a normally close switch, current can pass from in to out unless there is a signal at the control wire.

Normally Closed Switch In a normally close switch, current can pass from in to out unless there is a signal at the control wire. That is when control is 0.

Normally Closed Switch In a normally close switch, current can pass from in to out unless there is a signal at the control wire. That is when control is 0. Otherwise the value of out is 0.

Normally Closed Switch

Logic From computer science perspective we are not concerned with electrical currents and voltages.

Logic From computer science perspective we are not concerned with electrical currents and voltages. We adopted the convention that:

Logic From computer science perspective we are not concerned with electrical currents and voltages. We adopted the convention that: – A high voltage in a wire is represented by the symbol 1. – Little or no voltage in a wire represented by symbol 0.

Logic From computer science perspective we are not concerned with electrical currents and voltages. We adopted the convention that: – A high voltage in a wire is represented by the symbol 1. – Little or no voltage in a wire represented by symbol 0. With this convention a switch can be viewed as a logic operator.

Logic From computer science perspective we are not concerned with electrical currents and voltages. We adopted the convention that: – A high voltage in a wire is represented by the symbol 1. – Little or no voltage in a wire represented by symbol 0. With this convention a switch can be viewed as a logic operator. We can regard a switch as an operator that produces an output state depending only on the input states.

Logic Example: S = John and Merry are happy. P = John is happy. Q = Merry is happy. S = P AND Q.

Logic Example: S = John and Merry are happy. P = John is happy. Q = Merry is happy. S = P AND Q. AND is a logical operator. We refer to P and Q as components of logical operator AND.

Logic Suppose we decide to interpret – 0 as false. – 1 as true.

Logic Suppose we decide to interpret – 0 as false. – 1 as true. Then the action of normally open switch is the same, under this interpretation, as that of AND logical operator.

Logic Suppose we decide to interpret – 0 as false. – 1 as true. Then the action of normally open switch is the same, under this interpretation, as that of AND logical operator. Logical AND operator is evaluated to true if and only if both of its operands are true.

Logic

A normally open switch acts as an AND operator. We refer to it as an AND gate. It has three components: – two input lines. – one output line. AND Gate

OR gate OR is another logical operator. We also have a gate for OR and we call it OR gate.

OR gate OR is another logical operator. We also have a gate for OR and we call it OR gate. An OR gate like AND gate has three components: – Two input lines – One output line

OR gate OR is another logical operator. We also have a gate for OR and we call it OR gate. An OR gate like AND gate has three components: – Two input lines – One output line A Logical OR operator evaluates as true if at least one of the operands are true.

OR gate OR is another logical operator. We also have a gate for OR and we call it OR gate. An OR gate like AND gate has three components: – Two input lines – One output line A Logical OR operator evaluates as true if at least one of the operands are true. In the same line, an OR gate has output 1 if at least one of the input lines are 1.

OR Gate

NOT Gate We have logical operator NOT which reverses the truth value of its statement. Ex: R = Peter is happy. then, NOT R = Peter is not happy.

NOT Gate We have logical operator NOT which reverses the truth value of its statement. Ex: R = Peter is happy. then, NOT R = Peter is not happy. As two other logical operator we have a corresponding NOT gate which has two components: – One input line – One output line

NOT gate

Logical Expressions We can use the three basic logical operators, AND, NOT and OR to build any logical expression by combining them. EX: We have two named statements: P = Button A has been pushed. R = Button B has been pushed. We want to write an expression Q which is true when either both of the buttons have been pushed or none of them.

Example PRQ True = 1 False = 0 P = 1 means button A has been pushed.

Finding the appropriate Expression PRPRP’R’P’R’PR + P’R’ PR stands for P AND R P’ stands for NOT P M + N stands for M OR N Thus, we have Q = PR + P’R’

Building a Logical Circuit Now we want to build the a circuit for our computer using AND, OR and NOT gates which corresponds to logical expression Q = PR + P’R’ That is given inputs P and R (in 0 and 1) produces Q (in 0 and 1)

Big Picture

Step 1

Step 2

Step 3

Multiplexer A multi-way switch A two way multiplexer has two input lines, one select line and one output line. The select line determines the current from which input line should pass to output line.

Multiplexer

2-way MUX abselectoutput

2-way MUX Select input a if the select is 1. Select input b if the select is 0.

2-way MUX

Decoder Decoder is a circuit which has a single input and multiple outputs. It has one or more select lines. Select lines determine the current of input line should pass to which of the output lines.

Decoder

Two-way Decoder as0x1x