EGR101-34R "lecture on hardware- software" FB 7/10/2004 Digital Electronics Logic Gates Logic gates work with the voltage level of the signals. They are.

Slides:



Advertisements
Similar presentations
Computer Science 210 Computer Organization Introduction to Logic Circuits.
Advertisements

Programmable Logic Controllers.
Sahar Mosleh PageCalifornia State University San Marcos 1 Introductory Concepts This section of the course introduces the concept of digital circuits and.
In this presentation you will:
PIC Programming with Logicator
Electrical Engineering 1 WISE Investments Electrical Engineering Lab Digital Logic Tutorial and Design Dr. Keith Holbert.
Section 10.3 Logic Gates.
State Machines Used to Design Sequential Circuits.
IT Systems Flip - Flops EN230-1 Justin Champion C208 –
UNIT-V PART-II Combinational Circuits using TTL 74XX ICs.
Copyright © Cengage Learning. All rights reserved. CHAPTER 2 THE LOGIC OF COMPOUND STATEMENTS THE LOGIC OF COMPOUND STATEMENTS.
Lecture 3. Boolean Algebra, Logic Gates
Electrical Engineering 1 WISE Investments Electrical Engineering Lab Digital Logic Laboratory Dr. Keith Holbert.
Testing Test Plans and Regression Testing. Programs need testing! Writing a program involves more than knowing the syntax and semantics of a language.
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.
Logic Gates Circuits to manipulate 0’s and 1’s. 0’s and 1’s used for numbers Also to make decisions within the computer. In that context, 1 corresponds.
PICS / Microcontrollers
3. DIGITAL ELECTRONICS..
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.
ECE 2372 Modern Digital System Design
Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,
CS1Q Computer Systems Lecture 8
Module 1: Introduction to PLC
Introduction to Programming Using C Introduction to Computer Programming.
CS1Q Computer Systems Lecture 11 Simon Gay. Lecture 11CS1Q Computer Systems - Simon Gay2 The D FlipFlop A 1-bit register is called a D flipflop. When.
LOGIC GATES A logic gate is an elementary building block of a digital circuit.digital circuit Most logic gates have two inputs and one output terminals.
Slide No. 1 Course: Logic Design Dr. Ali Elkateeb Topic: Introduction Course Number: COMP 1213 Course Title: Logic Design Instructor: Dr. Ali Elkateeb.
Memory Layout and SLC500 System Addresses. Processor Memory Division An SLC 500 processor's memory is divided into two storage areas. Like two drawers.
Digital Logic Design Week 3
Implementing software in IEC Languages in IEC IEC uses the following languages Instruction List – Assembly level programming using.
Basic Digital Logic 2 Combinational Logic
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Week 6: Gates and Circuits: PART I READING: Chapter 4.
Logic Functions and Symbols
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
Beath High School - Int 1 Physics1 Intermediate 1 Physics Electronics Glossary AND gate to device digital signals to inverter LDR to logic circuit logic.
Chapter 0 - reVieW Combinational Logic Circuit, Combinational Logic Circuit, Propagation Delay, Propagation Delay, Programmable Logic. Programmable Logic.
ELECTRICAL ENGINEERING DIGITAL LOGIC TUTORIAL AND DESIGN 1.
Floyd Digital Fundamentals, 9/e Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. Slide 1 Digital Fundamentals.
CHAPTER 2 TYPES OF CONTROLLER BY: Salsabila Ahmad.
Logic Design / Processor and Control Units Tony Diep.
CS1Q Computer Systems Lecture 8
Introduction to Computer Programming using Fortran 77.
Week 4b, Slide 1EECS42, Spring 2005Prof. White Notes 1.Midterm 1 – Thursday February 24 in class. Covers through text Sec. 4.3, topics of HW 4. GSIs will.
Copyright © 2005 Heathkit Company, Inc. All Rights Reserved Automating and Integrating Residential Systems Presentation 7 – Closed Loop Control.
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
5-1-2 Synchronous counters. Learning Objectives: At the end of this topic you will be able to: draw a block diagram showing how D-type flip-flops can.
 A transistor is the basic building block of electronic components.  The average computer may have millions of them within its circuits.  Essentially,
발표자 : 이재신 발표 일시 : Chapter 2 Hardware Fundamentals for the Software Engineer The embedded-systems software engineer must often understand.
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
Logic Gates Unit 16.
Creating logic gates with Minecraft
Basics of Logic gates - Part 1
Chapter 3 - Binary Numbering System
Logic Gates Binary Day 3 PEOPLE 2016.
Purpose of This Minilab
Module 1: Introduction to PLC
SCADA for Remote Industrial Plant
Get Your Project Started with Arduino
Lab02 :Logic Gate Fundamentals:
Basic Digital Logic.
CSCI-100 Introduction to Computing
Digital electronics and logic gates
AQA GCSE 7 Electronic systems processing Design and Technology 8552
How Boolean logic is implemented
Computer Science 210 Computer Organization
Introduction to Wiring Logic Gates
Basic circuit analysis and design
Copyright © Cengage Learning. All rights reserved.
Presentation transcript:

EGR101-34R "lecture on hardware- software" FB 7/10/2004 Digital Electronics Logic Gates Logic gates work with the voltage level of the signals. They are discrete devices that understand only a High voltage level and Low voltage level. For certain digital devices a High is 5 Volts and Low is 0 Volts. Following describes the behavior of three fundamental logic gates in digital circuits. AND Gate You can assume any number of inputs is valid. H H H L L H L L InputOutput H L L L

EGR101-34R "lecture on hardware- software" FB 7/10/2004 OR Gate H L H H H H H L L L L H You can assume any number of inputs is valid.

EGR101-34R "lecture on hardware- software" FB 7/10/2004 Inverter Gate H L LH One input, One output

EGR101-34R "lecture on hardware- software" FB 7/10/2004 In computer systems, the integration and cooperation of hardware and software is essential to the operation of the system. In many automated systems the operation is essentially for the computer system to detect an event, analyze the event, and react to that event based on the requirement of the system. As a simple description of the operation, sensors can be connected to the input of an electronic circuit. The state of the out put of this circuit can be written to a location in the memory. Software will read this status and makes a decision of what needs to be done in order to respond to the activation of this sensor. Once that is determined, the software can activate another hardware circuit; for example turn on or turn off a switch. Simple Hardware-Software system

EGR101-34R "lecture on hardware- software" FB 7/10/2004 Example: As a part of an aircraft’s functional monitoring system, the status of the the landing gears must be known prior to the landing. The gears must be extended and locked into position. One design could be that the sensors that are connected to the gears will change their output level from Low (0 volt) to High (5 volts) when the gear is extended and is locked, otherwise they stay Low. Let us assume that there are six sensors, two for each gear, one to detect the extension of a gear and the other to detect if the gear is locked into position. These sensors are connected to a digital hardware circuit which takes these inputs and outputs a High (5 volts), if all gears are extended and are locked. The state of this output is written to a location in a memory of the onboard computer. The software responsible for checking the functionality and status of the aircraft during landing process will read this location and based on the what it reads (for example OK or NOT OK) it activates a switch to turn on the green landing gear light (indicating that the gears are extended and locked) or the red landing gear light (indicating a problem with the landing gears). The pilot checks the light and takes corrective action.

EGR101-34R "lecture on hardware- software" FB 7/10/2004 A possible solution: Hardware side LLGE LLGL LLGE is the sensor indicating that the Left Landing Gear is Extended LLGL is the sensor indicating that the Left Landing Gear is Locked So on for the rest of the sensors (F-Front, R-Right) FLGE FLGL RLGE RLGL Memory locations n n+1 n+2 n+3 …. addresses content OK or NOT OK content ….

EGR101-34R "lecture on hardware- software" FB 7/10/2004 Software side A possible solution continues: A solution is demonstrated by the following activity diagram and the corresponding pseudo code. Once the design is completed, software can be developed in an appropriate programming language. Note: keep in mind that there are concurrent activities while this system is checking the landing gear status. For example, as the pilot sees the red light indicating that the landing gear status is not ok, he will be trying to extend and lock the landing gears in place while there is still time to land. The computer system constantly is checking the landing gear status.

EGR101-34R "lecture on hardware- software" FB 7/10/2004 Start Read the memory location n+2 Is It OK Turn the Green indicator light ON Next function for Landing is There Still time To land Yes No Turn the RED indicator light ON Next function for abort landing No Yes Software side A possible solution continues:

EGR101-34R "lecture on hardware- software" FB 7/10/2004 A possible solution continues: Software side, pseudo code Read the appropriate memory location for landing gear status if the status is OK turn the GREEN indicator light on in the cockpit go to do the next function for landing else (status is NOT OK) check timer to see if there is still time for landing if there is still time go back to read the memory location again else turn the RED indicator light on in the cockpit go to do next function for abort landing

EGR101-34R "lecture on hardware- software" FB 7/10/2004 Software development process (same process can be followed for hardware) A software system should be developed by following the development cycle below. Gather requirement specification (what is this system supposed to do?) Analyze the specification for possible solutions (what are the ways that this system can be designed. Pick the best solution) Design the system (decompose the problem into smaller problems and solve each problem, then bring the solutions together for the complete solution) Implementation (write a computer program to do the job) Test (document and test the different scenarios that could make this system fail and fix the software BUGS) Maintain the system (this comes after the product is completed and deployed)