Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 1.

Slides:



Advertisements
Similar presentations
Microprocessors and Interfacing
Advertisements

Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
M. Mateen Yaqoob The University of Lahore Spring 2014.
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Processor System Architecture
Chapter 12 Memory Organization
What is memory? Memory is used to store information within a computer, either programs or data. Programs and data cannot be used directly from a disk or.
Computer Organization Prepared by:Anh Q. Vu Course:CS-147 Professor:Sin-Min Lee Date:Summer
Chapter 5 Internal Memory
Basic Computer Organization CH-4 Richard Gomez 6/14/01 Computer Science Quote: John Von Neumann If people do not believe that mathematics is simple, it.
Microcontroller based system design
5.1 Chaper 4 Central Processing Unit Foundations of Computer Science  Cengage Learning.
Logic Device and Memory. Tri-state Devices Tri-state logic devices have three states: logic 1, logic 0, and high impedance. A tri-state device has three.
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI CSCI.
Lecture 1 Microprocessors and Computer Systems. 2 What is a microprocessor? It’s a semiconductor IC Provides the pseudointelligence of a system Performing.
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
Memory Hierarchy.
Introduction to Computers Rabie A. Ramadan, PhD. 2 Class Information Website ses/2012/intro/
E0001 Computers in Engineering1 The System Unit & Memory.
Introduction to Computing: Lecture 4
Random access memory.
Computer Orgnization Rabie A. Ramadan Lecture 7. Wired Control Unit What are the states of the following design:
Dr. Rabie A. Ramadan Al-Azhar University Lecture 1
Discovering Computers 2012: Chapter 4
What is a computer ?  A computer is an electronic device that can accept data and instruction, process them or store them for later retrieval, and sometimes.
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
Computer Architecture CST 250 MEMORY ARCHITECTURE Prepared by:Omar Hirzallah.
1 Memory Hierarchy The main memory occupies a central position by being able to communicate directly with the CPU and with auxiliary memory devices through.
CIM101 : Introduction to computer Lecture 3 Memory.
Computer Architecture Memory organization. Types of Memory Cache Memory Serves as a buffer for frequently accessed data Small  High Cost RAM (Main Memory)
Computer Engineering Rabie A. Ramadan Lecture 1. 2 Welcome Back.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Computer Organization & Assembly Language © by DR. M. Amer.
Introduction to Computers Rabie A. Ramadan, PhD. 2 About my self Rabie A. Ramadan My website and publications
Primary Storage Primary storage is the storage that is directly available to the CPU. It is also known as: Main Memory Main Memory Direct Access Storage.
 Historical view:  1940’s-Vacuum tubes  1947-Transistors invented by willliam shockely & team  1959-Integrated chips invented by Texas Instrument.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
MEMORY ORGANIZATION - Memory hierarchy - Main memory - Auxiliary memory - Cache memory.
Introduction to Computers Rabie A. Ramadan, PhD. 2 Class Information Website ses/2011/summer/intro/
What is a Microprocessor ? A microprocessor consists of an ALU to perform arithmetic and logic manipulations, registers, and a control unit Its has some.
Central Processing Unit (CPU)
The Computer System.
Computer operation is of how the different parts of a computer system work together to perform a task.
Hardware Information Created by Nasih 1. Hardware  The physical components of a computer system, including any peripheral equipment such as printers,
CH (5) Computer Organization
Index What is an Interface Pins of 8085 used in Interfacing Memory – Microprocessor Interface I/O – Microprocessor Interface Basic RAM Cells Stack Memory.
Components of Computer. Memory Unit Most important part of the computer Used to store data and instructions that are currently in use Main memory consists.
Introduction to Computers - Hardware
Chapter 2 content Basic organization of computer What is motherboard
COMP2121: Microprocessors and Interfacing
William Stallings Computer Organization and Architecture 6th Edition
MEMORY.
RAM, CPUs, & BUSES Egle Cebelyte.
Chapter 7.2 Computer Architecture
Module IV Memory Organization.
Computer Architecture
Memory Units Memories store data in units from one to eight bits. The most common unit is the byte, which by definition is 8 bits. Computer memories are.
COMPUTER ORGANISATION AND ARCHITECTURE
General Architecture of Digital Computer
Introduction to Microprocessors and Microcontrollers
Computer Organization
BIC 10503: COMPUTER ARCHITECTURE
Module IV Memory Organization.
Introduction to Computing Chapter 0
Memory Organization.
MICROPROCESSOR MEMORY ORGANIZATION
Chapter 5 Computer Organization
Presentation transcript:

Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 1

2 Class Materials Text book Ramesh S. Gaonkar, The Z80 Microprocessor architecture, Interfacing, Programming, and Design,. Term paper/Project Select your topic or your project (HW) as early as possible Group of max. 2 students 2

Schedule and Arrangement 2 Classes Weekly 1 Tutorial Weekly We may substitute one of the lectures by a tutorial according to the class requirements. 3

Participation You are expected to attend all of the lectures Exams will be based on the class materials Group Activities Very Important 4

Assignments and Quizzes Must be submitted on time Late assignments will be accepted within one week with substantial penalties One Quiz (15 minutes ) Every Week. Please come ready 5

Learning is a treasure whose keys are questions. So do not be afraid to ask. I have no problem saying, I made a mistake and the right thing is … or I do not know and I have to look it up 6

Lets Get Started 7

Computing Evolution We Have Come a Long Way!!

The Electronic Numerical Integrator and Computer (ENIAC)  begins in 1938

Home computer as imagined more than 50 years ago

The Computer Evolution Mainframe Computer, 1960 The PC, 1980 Mobile Computer 1990 Sensor Platforms 2000 Smart Dust … Mini-Computer, 1970

Moore’s Law 1965 prediction by Intel cofounder Gordon Moore: The number of transistors that can be built on the same size piece of silicon will double every 18 months

year log (people per computer) Streaming Data to/from the Physical World Excerpted from ‘The Mote Revolution: Low Power Wireless Sensor Network’, UCB, Bell’s Law: New computing class every 10 years

Ubiquitous Computing: A Vision Ahead of his Time The most profound technologies are those that disappear. They weave themselves into the fabric of everyday life until they are indistinguishable from it. Mark Weiser, 1991

Where is the Microprocessor ? It is inside of every device that we have such as computer, printers, mobile, etc.. 16

What is the Microprocessor? Multipurpose, programmable logic device. Reads Instructions from the Memory Accepts binary input data Process the data according to the instructions Produces Output 17

A typical Programmable Machine/System Microprocessor, Memory, and I/O 18 Microprocessor Memory I/O

The System Components Hardware  Physical Devices Program  a group of instructions preformed by the microprocessor Software  a group of programs 19 Microprocessor Memory I/O

Microprocessor vs. Microcontroller A microcontroller contains a processor core, memory, and programmable input/output peripherals. Microcontrollers include an integrated CPU, memory (a small amount of RAM, program memory, or both) and peripherals capable of input and output. Microprocessor only contains a CPU (the kind used in a PC). In addition to the usual arithmetic and logic elements of a general purpose microprocessor, The microcontroller includes all of the required components on one chip. The microprocessor includes some of the components on a chip and other components are used as peripherals. 20

What numbering System a Microprocessor Uses? Binary System A Bit is 0 or 1 The processor processes a group of bits called Word. The word size could be: 8-bit, 16-bit, 32-bit, or 64-bits Therefore, the processor is named after the word size. e.g. We say “ 8-bit Microprocessor” 21

A Microprocessor as a Programmable Device The piano is a programmable machine With its key, we can generate notes The Microprocessor has different instructions : Can be combined in different ways to generate different programs. Instructions are stored in a Memory 22

The Memory 23

Word Addressing 24 Given M words, how many bits l are required to address them? Example: to address 64 MB, we need

Memory Organization Viewed as a large, single-dimension array, with an address A memory address is an index into the array "Byte addressing" means that successive addresses are one byte apart bits of data

Types of Memory Cache Memory Serves as a buffer for frequently accessed data Small  High Cost RAM (Main Memory) Stores programs and data that the computer needs when executing a program Dynamic RAM (DRAM) Uses Tiny Capacitors Needs to be recharged every few milliseconds to keep the stored data Static RAM (SRAM) Holds its data as long as the power is on D Flip Flop

Types of Memory (Cont.) ROM Stores critical information necessary to operate the system. Hardwired  can not be programmed Programmable Read Only Memory (PROM) Can be programmed once using appropriate equipment Erasable PROM (EPROM) Can be programmed with special tool It has to be totally erased to be reprogrammed Electrical Erasable PROM (EEPROM) No special tools required Can erase a portion

Memory Hierarchy The idea Hide the slower memory behind the fast memory Cost and performance play major roles in selecting the memory.

Hit Vs. Miss Hit The requested data resides in a given level of memory. Miss The requested data is not found in the given level of memory Hit rate The percentage of memory accesses found in a given level of memory. Miss rate The percentage of memory accesses not found in a given level of memory.