Basic Electricity and Electronics Module Three Microprocessor Basics Copyright © Texas Education Agency, 2012. All rights reserved.

Slides:



Advertisements
Similar presentations
CT455: Computer Organization Logic gate
Advertisements

ADDER, HALF ADDER & FULL ADDER
Chapter 4 Gates and Circuits.
Section 10.3 Logic Gates.
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.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
CSCI 1412 Logic Gates Parminder Kang Home: Phones OFF Please.
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.
by Prof. Dr. Ali S. Hennache
Intro to Digital Electronics. Classifications of Electronic Circuits Switching Circuits – by turning electricity on and off. – Figure 1 – Known as the.
Chapter 4 Gates and Circuits. Integrated Circuits aka CHIPS What’s in this thing???? 4–2.
Binary Addition CSC 103 September 17, 2007.
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Transistors and Logic Circuits. Transistor control voltage in voltage out control high allows current to flow -- switch is closed (on) control low stops.
Logic Gates How Boolean logic is implemented. Transistors used as switches to implement Boolean logic: ANDOR Logic with Transistors.
ELE22MIC Lecture 3 Paul Main’s Office Location has moved to Pysical Sciences 2 Room 107 Will be available for 2 hours consultation 10am - 12am after Tuesday.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
School of Computer Science G51CSA 1 Computer Systems Architecture Fundamentals Of Digital Logic.
Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved.
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.
Apr. 3, 2000Systems Architecture I1 Systems Architecture I (CS ) Lecture 3: Review of Digital Circuits and Logic Design Jeremy R. Johnson Mon. Apr.
Digital Electronics Lecture 6 Combinational Logic Circuit Design.
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.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
Logic Design CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
Basic Electricity and Electronics Module Two Basic Electronics Copyright © Texas Education Agency, All rights reserved.
1 Ethics of Computing MONT 113G, Spring 2012 Session 5 Binary Addition.
Logic Gates Informatics INFO I101 February 3, 2003 John C. Paolillo, Instructor.
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved.
Introduction to Computing Systems and Programming Digital Logic Structures.
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
Minute Paper 4/4/04 Z=50+j86.7=100
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Basic Electricity and Electronics Module Two Basic Electronics Copyright © Texas Education Agency, All rights reserved.
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.
DATA REPRESENTATION IN COMPUTER MEMORY.  Describe the coding system:  Sign and magnitude  1’s Complement and 2’s Complement  Binary Coded Decimal.
Logic gates.
Creating logic gates with Minecraft
ECE 3130 Digital Electronics and Design
Logic Gates and Boolean Algebra
Transistors and Logic Circuits
Instructor:Po-Yu Kuo 教師:郭柏佑
Circuits Logic in Hardware.
CSCI-100 Introduction to Computing
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Saturday, 10 November 2018 Binary
How Boolean logic is implemented
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Digital Logic Structures Logic gates & Boolean logic
Schematics 201 Lecture Topic: Electrical Symbols
For OCR GCSE Computing Unit 1 - Theory
Digital Logic.
Logic Gates.
KS4 Electricity – Electronic systems
13 Digital Logic Circuits.
Digital Logic.
DIGITAL ELECTRONICS B.SC FY
Chapter 10.3 and 10.4: Combinatorial Circuits
Electronics for Physicists
XOR Function Logic Symbol  Description  Truth Table 
Department of Electronics
DIGITAL ELECTRONICS AND LOGIC GATES. ANALOG SIGNAL:- Analog signal is continuous time varying current or voltage signal.
Presentation transcript:

Basic Electricity and Electronics Module Three Microprocessor Basics Copyright © Texas Education Agency, All rights reserved.

Digital Logic Digital logic is used for circuit design Digital logic is used for circuit design Also used for mathematical operations Also used for mathematical operations Called “Boolean Algebra” Called “Boolean Algebra” There are 7 total logic gates There are 7 total logic gates AND, OR, NOT, NAND, NOR, Exclusive-OR, Exclusive-NOR AND, OR, NOT, NAND, NOR, Exclusive-OR, Exclusive-NOR These gates are the building blocks for computers These gates are the building blocks for computers Copyright © Texas Education Agency, All rights reserved.

An Inverter - NOT gate Lets go back to our first transistor circuit: Lets go back to our first transistor circuit: V I = 0, the transistor is off, V O = V CC (+ 5 V) V I = 1, the transistor is on, V O = 0 (ground) V CC (+5v) VOVO VIVI Ground(0v) RCRC Copyright © Texas Education Agency, All rights reserved. Schematic symbol AQ 0110

A non-Inverter (does not change anything) VIVI V CC RERE Don’t like the inverter? Here is a circuit that does not invert Copyright © Texas Education Agency, All rights reserved.

We have established the concept that voltage turns on or off transistors We have established the concept that voltage turns on or off transistors We use transistors to make the circuits that do what we need We use transistors to make the circuits that do what we need Copyright © Texas Education Agency, All rights reserved.

The OR gate When ANY input is high, the output goes high When ANY input is high, the output goes high Does not perfectly match what we need, but gives us a starting point Does not perfectly match what we need, but gives us a starting point A B If EITHER input goes high, the transistor turns on This is called an OR gate Copyright © Texas Education Agency, All rights reserved.

This circuit works better This circuit works better The diodes protect one input from the other The diodes protect one input from the other The resistor limits current The resistor limits current A B Copyright © Texas Education Agency, All rights reserved.

Truth Table The truth table for the OR gate: The truth table for the OR gate: When ANY input is high, the output is high When ANY input is high, the output is high A B Q ABQ Schematic symbol (Or X) Copyright © Texas Education Agency, All rights reserved.

The AND Gate When BOTH inputs are high, we produce a carry When BOTH inputs are high, we produce a carry We need a circuit that will turn on only when both inputs are on We need a circuit that will turn on only when both inputs are on ABQ RERE B V CC A Q Schematic symbol Copyright © Texas Education Agency, All rights reserved.

Schematic Symbols We have seen the schematic symbols for 2 gates: We have seen the schematic symbols for 2 gates: AND Gate AND Gate OR Gate OR Gate Here is the schematic symbol for the inverter: Here is the schematic symbol for the inverter: NOT Gate NOT Gate With these three gates, you can make any logic circuit! With these three gates, you can make any logic circuit! Copyright © Texas Education Agency, All rights reserved.

Back to the Adder Here is how we make a binary adder: Here is how we make a binary adder: All circuits are made physically with transistors, but represented by symbols All circuits are made physically with transistors, but represented by symbols A B Σ (sum) C O (carry)ABΣ CoCoCoCo Copyright © Texas Education Agency, All rights reserved.

Back to the Adder Here is how we make a binary adder: Here is how we make a binary adder: All circuits are made physically with transistors, but represented by symbols All circuits are made physically with transistors, but represented by symbols A B Σ (sum) C O (carry)ABΣ CoCoCoCo Copyright © Texas Education Agency, All rights reserved.

Back to the Adder Here is how we make a binary adder: Here is how we make a binary adder: All circuits are made physically with transistors, but represented by symbols All circuits are made physically with transistors, but represented by symbols A B Σ (sum) C O (carry)ABΣ CoCoCoCo Copyright © Texas Education Agency, All rights reserved.

Back to the Adder Here is how we make a binary adder: Here is how we make a binary adder: All circuits are made physically with transistors, but represented by symbols All circuits are made physically with transistors, but represented by symbols A B Σ (sum) C O (carry)ABΣ CoCoCoCo Copyright © Texas Education Agency, All rights reserved.

Logic Circuit Applications A memory decoder A memory decoder A memory address is a unique number A memory address is a unique number Most logic circuits are simple, as this example shows Most logic circuits are simple, as this example shows A 2-bit code unlocks one of 4 memory locations when D goes high A 4-bit code would unlock one of 16 memory locations when D goes high Copyright © Texas Education Agency, All rights reserved.

3 Bit Decoder Any 3 bit binary number enables one AND gate Any 3 bit binary number enables one AND gate A0A0 A1A1 A2A2 D 0 = 1 (0 0 0) D 1 = 1 (0 0 1) D 3 = 1 (0 1 1) D 2 = 1 (0 1 0) D 4 = 1 (1 0 0) D 5 = 1 (1 0 1) D 6 = 1 (1 1 0) D 7 = 1 (1 1 1) Copyright © Texas Education Agency, All rights reserved. A0A1A2A0A1A2

A0A0 A1A1 A2A2 A3A3 A4A4 A5A5 765BA A3A 3B3B 3C3C 3D3D 3E3E 3F3F F2F 2E2E 2D2D 2C2C 2B2B 2A2A B1B 1A1A D1D C1C C E1E 1F1F FE1717 D 6 address lines, 16 AND gates and 6 inverters enable 64 memory locations

Computer Basics A computer uses voltage on wires to communicate A computer uses voltage on wires to communicate Communication involves data, addresses, and instructions Communication involves data, addresses, and instructions Each of these are represented by binary numbers in a code Each of these are represented by binary numbers in a code A logic circuit similar to what we have just seen is used to decode each of these A logic circuit similar to what we have just seen is used to decode each of these Copyright © Texas Education Agency, All rights reserved.

Bill Gates -1 st Personal Computer Watch video on how the 1 st personal computer worked HERE. Watch video on how the 1 st personal computer worked HERE.HERE Copyright © Texas Education Agency, All rights reserved.