Minimum -Mode Interface. Maximum-Mode Interfaces. Input /Output Bus Cycles

Similar documents
Memory Basics. SRAM/DRAM Basics

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

With respect to the way of data access we can classify memories as:

Handout 17. by Dr Sheikh Sharif Iqbal. Memory Unit and Read Only Memories

Memory. The memory types currently in common usage are:

RAM & ROM Based Digital Design. ECE 152A Winter 2012

A N. O N Output/Input-output connection

Computer Systems Structure Main Memory Organization

Homework # 2. Solutions. 4.1 What are the differences among sequential access, direct access, and random access?

Computer Architecture

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

Computers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer

Algorithms and Methods for Distributed Storage Networks 3. Solid State Disks Christian Schindelhauer

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

Objectives. Units of Memory Capacity. CMPE328 Microprocessors (Spring ) Memory and I/O address Decoders. By Dr.

Chapter 8 Memory Units

CSCA0102 IT & Business Applications. Foundation in Business Information Technology School of Engineering & Computing Sciences FTMS College Global

Read-only memory Implementing logic with ROM Programmable logic devices Implementing logic with PLDs Static hazards

Main Memory & Backing Store. Main memory backing storage devices

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

Chapter 7 Memory and Programmable Logic

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory

Chapter 5 :: Memory and Logic Arrays

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: ext: Sequential Circuit

1. Memory technology & Hierarchy

Chapter 9 Semiconductor Memories. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

MICROPROCESSOR AND MICROCOMPUTER BASICS

Random-Access Memory (RAM) The Memory Hierarchy. SRAM vs DRAM Summary. Conventional DRAM Organization. Page 1

SDRAM and DRAM Memory Systems Overview

Computer Architecture

Writing Assignment #2 due Today (5:00pm) - Post on your CSC101 webpage - Ask if you have questions! Lab #2 Today. Quiz #1 Tomorrow (Lectures 1-7)

CHAPTER 16 MEMORY CIRCUITS

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

Semiconductor Memories

Chapter 4 System Unit Components. Discovering Computers Your Interactive Guide to the Digital World

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

Multiple Choice Questions(Computer)

Microprocessor or Microcontroller?

CHAPTER 7: The CPU and Memory

Discovering Computers Living in a Digital World

Chapter 2 Logic Gates and Introduction to Computer Architecture

To understand how data is processed, by a computer, we can draw a simple analogy between computers and humans.

Price/performance Modern Memory Hierarchy

Spacecraft Computer Systems. Colonel John E. Keesee

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

The Central Processing Unit:

FLASH TECHNOLOGY DRAM/EPROM. Flash Year Source: Intel/ICE, "Memory 1996"

NAND Flash FAQ. Eureka Technology. apn5_87. NAND Flash FAQ

CSCA0201 FUNDAMENTALS OF COMPUTING. Chapter 5 Storage Devices

Chapter 3: Computer Hardware Components: CPU, Memory, and I/O

GETTING STARTED WITH PROGRAMMABLE LOGIC DEVICES, THE 16V8 AND 20V8

Parts of a Computer. Preparation. Objectives. Standards. Materials Micron Technology Foundation, Inc. All Rights Reserved

Lecture 9: Memory and Storage Technologies

Understanding Memory TYPES OF MEMORY

Introduction To Computers: Hardware and Software

Memory unit. 2 k words. n bits per word

Memory Systems. Static Random Access Memory (SRAM) Cell

We r e going to play Final (exam) Jeopardy! "Answers:" "Questions:" - 1 -

Primary Memory. Input Units CPU (Central Processing Unit)

Programming Logic controllers

EXERCISES OF FUNDAMENTALS OF COMPUTER TECHNOLOGY UNIT 5. MEMORY SYSTEM

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

OpenSPARC T1 Processor

Computer Hardware Submitted in partial fulfillment of the requirement for the award of degree Of MCA

Flash Memories. João Pela (52270), João Santos (55295) December 22, 2008 IST

Memory Hierarchy. Arquitectura de Computadoras. Centro de Investigación n y de Estudios Avanzados del IPN. adiaz@cinvestav.mx. MemoryHierarchy- 1

DS1220Y 16k Nonvolatile SRAM

Lecture-3 MEMORY: Development of Memory:

DS1225Y 64k Nonvolatile SRAM

MULTIPLE CHOICE FREE RESPONSE QUESTIONS

Chapter 13. PIC Family Microcontroller

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

CSE2102 Digital Design II - Topics CSE Digital Design II

Slide Set 8. for ENCM 369 Winter 2015 Lecture Section 01. Steve Norman, PhD, PEng

Chapter 2: Computer-System Structures. Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General System Architecture

OVERVIEW OF MICROPROCESSORS

Chapter 1. The largest computers, used mainly for research, are called a. microcomputers. b. maxicomputers. c. supercomputers. d. mainframe computers.

Allows the user to protect against inadvertent write operations. Device select and address bytes are Acknowledged Data Bytes are not Acknowledged

Topics. Introduction. Java History CS 146. Introduction to Programming and Algorithms Module 1. Module Objectives

Lecture N -1- PHYS Microcontrollers

Obj: Sec 1.0, to describe the relationship between hardware and software HW: Read p.2 9. Do Now: Name 3 parts of the computer.

Microcontrollers Figure 26-1 Objectives Key Words and Terms 26.1 OVERVIEW OF THE MICROCONTROLLER microcontroller

Cell Phone Operated Land Rover

Hardware: Input, Processing, and Output Devices. A PC in Every Home. Assembling a Computer System

1 / 25. CS 137: File Systems. Persistent Solid-State Storage

MCF54418 NAND Flash Controller

TEST CHAPTERS 1 & 2 OPERATING SYSTEMS

Embedded Systems Design Course Applying the mbed microcontroller

2.0 Command and Data Handling Subsystem

Interfacing To Alphanumeric Displays

1 Products A. MEMORY. Personal Computer. Portable Permanent Storage. Main Unit. Main Permanent Storage. Display. Keyboard.

Static-Noise-Margin Analysis of Conventional 6T SRAM Cell at 45nm Technology

Week One Lecture Note 1.0 INTRODUCTION TO COMPUTER 1.1 WHAT IS COMPUTER?

W25Q80, W25Q16, W25Q32 8M-BIT, 16M-BIT AND 32M-BIT SERIAL FLASH MEMORY WITH DUAL AND QUAD SPI

Lecture 2: Computer Hardware and Ports.

================================================================

Sequential Circuit Design

Transcription:

Minimum -Mode Interface Maximum-Mode Interfaces Input /Output Bus Cycles All the timing signals in the I/O read and write bus cycles are identical to those already described in the memory read/write bus cycle except the M/IO. Input/output data transfers in the 8086 microcomputers can be either byte-wide or word-wide. Data transfers to byte-wide I/O ports always require one bus cycle. Word data transfers between the 8086 and I/O devices are accompanied by the code A 0 =0 and BHE= 0 and are performed over the complete data bus D 0 through D 15. 83

Input Bus cycle Output Bus cycle 84

Memory Unit: It is a collection of storage cells together with associated circuits needed to transfer information in and out of storage device. The memory stores binary information in groups of bits called bytes or words. The memory unit is mainly divided into two main parts: 1. Main Memory (Primary Memory) 2. Secondary storage devices (Magnetic Memory) Main Memory (Primary Memory) Main memory (Semiconductor Memory) is faster, compact and lighter. It consumes less power supply. It is static device i.e. there is no rotating part in it. Semiconductor memory is employed as the Main Memory or Primary Memory of the computer. It stores the program, which are currently needed by the CPU. The main memory is divided into: 1. RAM (Random Access Memory) 2. ROM (Read Only Memory) RAM (Random Access Memory) RAM stands for Random Access Memory. It is called volatile memory because it does not retain the data stored in it when the system's power is turned off. RAM provides space for your computer to read and write data to be accessed by the CPU (central processing unit). RAM can be both read and written, hold the programs, operating system, and data required by the system. There are two main types of RAM: DRAM (Dynamic RAM) - each one-bit memory cell uses a capacitor for data storage and a transistor to access the cell. typically has access times of 50 to 70 nanoseconds(ns). DRAM is slower and less expensive than SRAM. Bit Select Data In Data Out DRAM Cell 85

SRAM (Static RAM) - one-bit memory cells use bistable latches (flipflop) for data storage. It is faster with a typical assess time of 10 nanoseconds. It is more expensive and can only store a quarter of the data that DRAM is able to in the same given area, however data will remain stored as long as power is on. Fast SRAM can be found in most CPU's called cache memory. Bit Select Data In D Q Data Out Write En RAM Cell ROM (Read Only Memory) ROM stands for Read-Only Memory. It refers to computer memory chips containing permanent or semi-permanent data. Unlike RAM, ROM is nonvolatile; even after you turn off your computer, the contents of ROM will remain. The types of ROM are: Programmable read only memory (PROM) - are programmed during manufacturing process. The contents of each memory cell is locked by a fuse (diodes). PROMs are used for permanent data storage. Erasable Programmable read only memory (EPROM) - there is a possibility to erase EPROM with ultra-violet light (about 20 minutes) what sets all bits in memory cells to 1. Programming requires higher voltage. Memory cells are built with floating gate transistors. Data can be stored in EPROMs for about 10 years. Electrically erasable read only memory (EEPROM) - erasing does not require ultra-violet light but higher voltage and can be applied not to the whole circuit but to each memory cell separately. 86

Magnetic Memory The magnetic memory is cheaper than static memory. It is in the form of magnetic disks {hard disk (HD), compact disk (CD) and floppy disk}. It is used as secondary memory or Auxiliary memory. The size is in G-Bytes but the speed is very low compared with main memory. Memory Unit Main Memory Secondary Memory RAM ROM HD CD SRAM DRAM PROM EPROM FD EEPROM 88

Memory and Memory Address Decoding A memory device can be viewed as a single column table as shown below. Table index (row number) refers to the address of the memory. Table entries refer to the memory contents or data. Each table entry is referred as a memory location. Both the memory address and the memory contents are binary numbers, expressed in most cases in Hex format. The size of a memory device is specified as the number of memory locations. For example a 1Kbyte x 8 memory device has 1024 memory locations, with a width of 8 bits. A memory device must have three types of lines or connections: Address, Data, and Enable & Control. Address Lines: The input lines that select a memory location within the memory device. Decoders are used, inside the memory chip, to select a specific location. The number of address pins on a memory chip specifies the number of memory locations. If a memory chip has 13 address pins (A 0 - A 12 ), then then the size is 2 13 = 2 3 x 2 10 = 8 Kbyte. If a memory chip has 4Kbytes, then it has N pins: 2 N = 4 Kbyte = 2 12 N = 12 address pins (A 0 - A 11 ) Data Connections: All memory devices have a set of data output pins (for ROM devices), or input/output pins (for RAM devices). 80

Enable and Control Connections: All memory devices have at least one Chip Select CS or Chip Enable (CE) input, used to select or enable the memory device. If a device is not selected or enabled then no data can be read from, or written into it. The CS or CE input is usually controlled by the microprocessor through the higher address lines via an address decoding circuit. RAM chips have two control input signals that specify the type of memory operation: the Read (RD) and the Write (WR) signals. ROM chips can perform only memory read operations, thus there is only read (RD) signal. In most real ROM devices the Read signal is called the Output Enable (OE) signal. RAM ROM Address Decoding The physical address space, or memory map, of a microprocessor refers to the range of addresses of memory locations that can be accessed by the microprocessor. The size of the address space depends on the number of address lines of the microprocessor. At least two memory devices are required in a microprocessor system: one for the ROM and one for the RAM. In an 8088/8086 the high addresses in the memory map should always be occupied by a ROM, while the low addresses in the memory map should always be occupied by a RAM. Address decoding is required in order to enable the connection of more than one memory devices on the microprocessor. More than one memory devices can be used to expand (increase) the number of memory locations on the system. The following steps have to be followed to design a memory map: 1. Determine the number of memory chips required, by dividing the required memory size with the size of the memory devices to be used. 89

2. Connect the data lines of each memory chip in parallel on the data lines of the processor. 3. Connect the address lines of each memory chip in parallel with the low address lines of the processor. 4. Connect the CS lines of each memory device with the high address lines of the processor through an address decoding circuit.. 5. Connect together all WR and RD lines of each memory device. The following example is assumed that the processor has only 7 address lines (A 0 A 6 ), thus it can address 2 7 =128 memory locations. The data lines are 4 (D 0 D 3 ) The size of the RAM used in the system is 32 locations (4 chips of 8 locations), then 3 address lines (A 0 A 2 ) are used to address the 8 locations of each RAM chip. There are 4 address lines (A 3 A 6 ) used as chip select. The memory block occupied by the memory module depends on the connection of the address selection circuit (AND gate) that enables the decoder. Two address lines are used to control the address selection circuit, thus the circuit can be configured to occupy four different areas in the address space. 08