Eng.Samra Essalaimeh Philadelphia University 2013/2014 2 nd Semester PIC Microcontrollers.

Slides:



Advertisements
Similar presentations
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Advertisements

Chapter 4 Gates and Circuits.
Digital Logic Design Week 7 Encoders, Decoders, Multiplexers, Demuxes.
Princess Sumaya University
التصميم المنطقي Second Course
TK2633 Introduction to Parallel Data Interfacing DR MASRI AYOB.
LOGIC GATES ADDERS FLIP-FLOPS REGISTERS Digital Electronics Mark Neil - Microprocessor Course 1.
The 8085 Microprocessor Architecture
Microprocessor and Microcontroller
Introduction to Digital Systems By Dr. John Abraham UT-Panam.
Digital Electronics Course Introduction, Number Systems, Conversion between Bases, and Basic Binary Arithmetic (Lecture #1)
Review and Overview. Review  Combinational logic circuit – Decoder, Encoder, Multiplexer, De-multiplexer, Full Adder, Multiplier  Sequential logic circuit.
EE1A Revision What should you be expected to do in a typical exam question ? Understanding of basic principles. Ability to perform simple circuit analysis.
Chapter 7. Register Transfer and Computer Operations
Chapter 4 Gates and Circuits.
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ input/output and clock inputs Sequence of control signal combinations.
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.
DIGITAL COMPONENTS By Sohaib.
Introduction to Digital Logic Design Appendix A of CO&A Dr. Farag
Some Useful Circuits Lecture for CPSC 5155 Edward Bosworth, Ph.D. Computer Science Department Columbus State University.
Control pins and Writing Microcode. Simple architecture Recall our architecture from the previous week It was a simple bus architecture “Control” was.
Chapter 4 Gates and Circuits.
Combinational Logic Design
Integrated Circuits. Integrated Circuit (IC) A silicon crystal (chip) containing electronic components that create the logic gates we’ve been looking.
INTERGRATED CIRCUITS LECTURE 17. History of Electronic Devices 1st Generation Electron tubes INTERGRATED CIRCUITS LECTURE 17.
COMPUTER SYSTEM ARCHITECTURE By Sohaib.  The digital computer is a digital system that performs various computational tasks.  The word digital implies.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
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.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
BASIC INPUT AND OUTPUT INTERFACING.  8085A communicate with outside world using the I/O devices.  Since memory and I/O devices share the system bus,
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
MSI Devices M. Mano & C. Kime: Logic and Computer Design Fundamentals (Chapter 5) Dr. Costas Kyriacou and Dr. Konstantinos Tatas ACOE161 - Digital Logic.
Digital Components and Combinational Circuits Sachin Kharady.
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
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)
Digital Logic Design Lecture # 9 University of Tehran.
Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP
Lecture 9 Topics: –Combinational circuits Basic concepts Examples of typical combinational circuits –Half-adder –Full-adder –Ripple-Carry adder –Decoder.
Integrated Circuits. Integrated Circuit (IC) A silicon crystal (chip) containing electronic components that create the logic gates we’ve been looking.
INTRODUCTION.  Upon completing this topic, you should be able to: Illustrate a basic elements of digital computer system and their functions, Depicts.
Computer Architecture and Organization Unit -1. Digital Logic Circuits – Logic Gates – Boolean Algebra – Map Simplification – Combinational Circuits –
Programmable Logic Controllers LO1: Understand the design and operational characteristics of a PLC system.
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Transistor: Building.
Decoders. A decoder is multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs. Input code with fewer bits than the.
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
Khaled A. Al-Utaibi  I/O Ports  I/O Space VS Memory Space  80x86 I/O Instructions − Direct I/O Instructions − Indirect I/O Instructions.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
ACOE161 (Spring2007)MSI Devices1 Revision on MSI Devices M. Mano & C. Kime: Logic and Computer Design Fundamentals (Chapter 5)
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ read/write and clock inputs Sequence of control signal combinations.
Logic Gates Unit 16.
The 8085 Microprocessor Architecture
DIGITAL LOGIC CIRCUITS
Digital Design Jeff Kautzer Univ Wis Milw.
Instructor:Po-Yu Kuo 教師:郭柏佑
The 8085 Microprocessor Architecture
DIGITAL LOGIC CIRCUITS
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Introduction to Microprocessors and Microcontrollers
Magnitude Comparator A magnitude comparator is a combinational circuit that compares two numbers, A and B, and then determines their relative magnitudes.
Interfacing Memory Interfacing.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
FIGURE 4.1 Block diagram of combinational circuit
Instructor: Alexander Stoytchev
Instructor:Po-Yu Kuo 教師:郭柏佑
The 8085 Microprocessor Architecture
Combinational Circuits
Digital Logic Circuits
Digital Circuits and Logic
Presentation transcript:

Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers

Microelectronic Devices Digital Devices: A+5V supply, usually derived from the mains, is therefore required to power the circuits. It must be able to provide sufficient current for the processor circuits, at a voltage which must be between 4.75V and 5.25V for standard TTL (Transistor–Transistor Logic).

FET Logic Gates: The FET is the basic switching device which appears in the PIC data sheet in the equivalent circuits for various functional blocks. It is a transistor which works as a current switch; current flow through a semiconductor ‘channel’ is controlled by the voltage at the input ‘gate’.

Logic Circuits: There are no actual resistors used because they waste too much power; instead, other FETs are used as ‘active loads’, which reduces the power which would be dissipated as heat in the resistors. Digital circuits are based on various combinations of these logic gates, fabricated on a silicon wafer.

Logic Gates:

Combinational Logic: Combinational logic describes circuits in which the output is determined only by the current inputs, and not by the inputs at some previous point in time. Binary addition is a basic function of the arithmetic and logic unit (ALU) in any microprocessor. Simple Binary Adder

Full Adder Full adder logic table Full adder logic circuit

4-Bit Adder

Sequential Logic: Sequential logic refers to digital circuits whose outputs are determined by the current inputs AND the inputs which were present at an earlier point in time. Basic Latch

Data Latch

Data latch timing diagram.

Data Devices All data processing or digital control systems have circuits to carry out the following operations: 1. data input 2. data storage 3. data processing 4. data output 5. control and timing Data Input Switch:

Tri-State Gate: Data Latch LED Data Display

Simple Data System

4-Bit Data System

Digital Systems 4.1 Encoder and Decoder 4.2 Multiplexer, Demultiplexer and Buffer 4.3 Registers and Memory 4.4 Memory Address Decoding 4.5 System Address Decoding 4.6 Counters and Timers 4.7 Serial and Shift Registers 4.8 Arithmetic and Logic Unit 4.9 Processor Control

Encoder and Decoder Hexadecimal key pad operation 2-bit decoder logic table; 2-bit encoder logic table.

Multiplexer, Demultiplexer and Buffer

Registers and Memory

Memory Address Decoding

System Address Decoding As we have seen, there are usually several memory and input/output devices connected to a common data bus in the typical microprocessor system. Only one can use the data bus at any one time, so a system of chip selection is needed, so that the processor can ‘talk to’ the required peripheral chip. A typical memory map for a system with a 16-bit address bus (four hex digits) is shown in Table 4.2. The I/O is memory mapped, that is, the port registers are placed in the same address space as the memory. Notice that not all the available addresses have to be used. Go back to the figure

Counters and Timers

Serial and Shift Registers Arithmetic and Logic Unit

Processor Control