Registers and Decoder.

Slides:



Advertisements
Similar presentations
ECE 353 Introduction to Microprocessor Systems
Advertisements

Sistemas Digitais I LESI - 2º ano Lesson 9 - Memory, CPLDs and FPGAs U NIVERSIDADE DO M INHO E SCOLA DE E NGENHARIA Prof. João Miguel Fernandes
Semiconductor, Magnetic and Optical Memory
Semiconductor, Magnetic and Optical Memory
Random-Access Memory (RAM)
RAM (RANDOM ACCESS MEMORY)
Chapter 5 Internal Memory
Computer Organization and Architecture
Computer Organization and Architecture
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
Introduction to Chapter 12
EECC341 - Shaaban #1 Lec # 19 Winter Read Only Memory (ROM) –Structure of diode ROM –Types of ROMs. –ROM with 2-Dimensional Decoding. –Using.
Chapter 10. Memory, CPLDs, and FPGAs
Overview Memory definitions Random Access Memory (RAM)
MEMORY DEVICES Week 13.
Registers  Flip-flops are available in a variety of configurations. A simple one with two independent D flip-flops with clear and preset signals is illustrated.
Chapter 5 Internal Memory
Memory Devices Wen-Hung Liao, Ph.D..
Memory Key component of a computer system is its memory system to store programs and data. ITCS 3181 Logic and Computer Systems 2014 B. Wilkinson Slides12.ppt.
1 The 8051 Microcontroller and Embedded Systems CHAPTER INTERFACING TO EXTERNAL MEMORY.
EKT 221 Digital Electronics II
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
Memory Hierarchy.
Memory and Programmable Logic
Memory and Programmable Logic Dr. Ashraf Armoush © 2010 Dr. Ashraf Armoush.
COMP3221: Microprocessors and Embedded Systems
EKT 221 : Digital 2 Memory Basics
Chapter 5 Internal Memory. Semiconductor Memory Types.
Memory and Programmable Logic Memory device: Device to which binary information is transferred for storage, and from which information is available for.
Memory and Storage Dr. Rebhi S. Baraka
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
Digital Design: Principles and Practices
CIM101 : Introduction to computer Lecture 3 Memory.
1 Memory Design EE 208 – Logic Design Chapter 7 Sohaib Majzoub.
INTRODUCTION  Major advantage of digital over analog is the ability to easily store large quantities of digital information and data.  Memory – store.
+ CS 325: CS Hardware and Software Organization and Architecture Memory Organization.
Memory and Register. Memory terminology read/write operation volotile/non volatile determine the capacity from input and output timing requirements of.
Microprocessor Fundamentals Week 3 Mount Druitt College of TAFE Dept. Electrical Engineering 2007.
Microprocessor Fundamentals Week 3 Mount Druitt College of TAFE Dept. Electrical Engineering 2008.
Semiconductor Memory Types
Memory Devices 1. Memory concepts 2. RAMs 3. ROMs 4. Memory expansion & address decoding applications 5. Magnetic and Optical Storage.
Wnopp Memory device Introduction n Memory Cell n Memory Word n Byte n Capacity n Address n Read Operation n Write Operation n Access Time n Volatile.
Memory Systems 3/17/ Memory Classes Main Memory Invariably comprises solid state semiconductor devices Interfaces directly with the three bus architecture.
Computer Architecture Chapter (5): Internal Memory
AHMEDABAD INSTITUTE OF TECHNOLOGY
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.
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
Recap DRAM Read Cycle DRAM Write Cycle FAST Page Access Mode
Internal Memory.
Module IV Memory Organization.
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.
William Stallings Computer Organization and Architecture 7th Edition
Electronics Technology
William Stallings Computer Organization and Architecture 8th Edition
Interfacing Memory Interfacing.
Module IV Memory Organization.
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
Introduction to Computing Chapter 0
MICROPROCESSOR MEMORY ORGANIZATION
William Stallings Computer Organization and Architecture 8th Edition
Presentation transcript:

Registers and Decoder

Four–Input 2 bit multiplexer

Computer Typical Arithmetic Logic Unit

Internal Digital IC Faults Malfunction in the internal circuitry-cause by one of the internal component failing or operating outside its specification Inputs or outputs shorted-input to be stuck either high or low Input output open-circuited-stuck to high or low IC output Short between 2 pins (other than ground or VCC- IC force 2 pins to be always identical

Internal Digital IC fault

Logic Probe

Pulse in the node

Logic probe used to trace shorted node

Computer ALU

Memory Terminology Memory Cell- a device or electrical circuit that can store a single bit Memory Word- A group of bits in a memory that represents information or data Byte- 8 Bit Word Nibble-a 4 bit binary number Capacity- specify how many bits can be stored in a particular memory device. Density-another term for capacity Address-this is a number that identifies location of a word in memory. Read Operation Binary word stored in a memory Write operation- a word is placed into a particular operation Access Time- memory device operating speed RAM SAM RWM

Continuation.. Static Memory Device-a semiconductor device that stored data permanently Dynamic Memory Device-a device that will not stored data permanently Internal Memory-computer main working memory Auxiliary Memory-Mass storage store amsiva amount of information

Input and output Lines perform by a memory Select the address in memory that is being accessed for Read or Write Select either Read or Write operation to be performed Supply the input and data to be stored in the memory during a write operation Hold the output data coming from memory during a read operation Enable or (disable) memory so that it wil no respond to the address inputs and read write commands

Problem 1 A certain semiconductor memory chips is specified as 2k X 8. How many words can be stored on this chips? What is the word size? How many total bits can this chips store? Given: Number of words in a memory is often 1024 = 1K 2K = 2 X 1024 = 2048 words Each word is 8 bits ( one byte) The total number of bits is therefore 2048 X 8 = 16,348 bits

Problem 2 A certain memory has a capacity of 256K X 8. How many data input and data input does it have? How many address lines does it have? What is its capacity in bytes?

Solution A) Eight of each, since the word size is eight. B) The memory stores 256 =256 X 1024 = 262,144 words. Thus, there are 262,144 memory addresses. Since 262,144 = 2 it requires 8 bit address code to specify one of 262,144 addresses C) a byte is 8 bits, this memory has the capacity of 262,144 bytes 18

Read Only Memory

The READ operation There are 16 data words stored at 16 different address location. Example location 0011 is 10101111 this data is stored in binary inside ROM

ROM Architecture Internal structure of a ROM IC is very complex (recommendation need not to know the details) Four basic parts of ROM Row decoder Column decoder Register array- register data that has been programmed into ROM And output buffers.

Rom Architecture

Address Decoder Determines which register in the array will be enabled to place its 8 bit data word into the bus. Example 1 What register will enabled by input address 1101? Ans. A3 A2 = 11 will activate column 3 A1 A0 = 01 will activate the row 1 select line.

Example 2 What input address will enable register 10? Ans. A1 A0 = 10 and A3 A4 = 10 Therefore A3 A2 A1 A0 = 1010

Output buffers Data is feed into the output buffers, which will pass the data into the external data outputs provided that CS is low. If CS is High the output buffers are in high Z state and D0-D8 will be floating. Example: Intel 2708 is a MOS ROM that stores 1024 8-bit words. Its 1024 registers are arrange in a 64 X 16 array. In practice ROM capabilities typically range from 32 to over 1 M bytes

Example Describe the internal architecture of a ROM that stores 4K bytes and uses a square register array. Solution 4K is = 4 X 1024 = 4096 therefore it holds 4096 8-bits words. Since 4096 = 64 the register are arrange by 64 by 64 array There are 64 rows and 64 column This requires 1 of 64 decoder to decode the six address for the row select Also 1-of-64 decoder to decode the six address inputs for the column select Thus the total of 12 address inputs are required Therefore since 2 = 4096 proving that there are 4096 different address 2 12

Types of ROM Mask Program ROM-has its storage location written into (programmer) by the manufacturer according to customer’s specifications.

MROM bipolar transistor

Truth table

Cont… Programmable ROM (PROMs) Expensive an is used in a high volume applications. Fusible links for less cost refered to as one time program. Example is 74186

Fusible-link

Cont… Erasable programmable ROM (EPROM) Can be program by the user and it can be erased also as often desired. Once programmed, the EPROM is a nonvolatile memory that will hold its desired data indefinitely To erase the program exposed to UV light Available with a capacity of 128K X 8 45 ns Example: Intel 2732 is a 4k X8 NMOS EPROM

EPROM

Truth Table

Cont…. Electrically Erasable PROM (EEPROM) Retains the same floating-gate structure as the EPROM Developed product of EPROM (100 ns) Has the ability to electrically erase and rewrite individual bytes (8 bit words) in memory during the array During the write operation internal circuitry automatically erases all the cells at an address location prior to writing the new data Example: Intel 2664 8K X 8 array with 13 address inputs (2 = 8292) and 8 data I/O pins 13

EEPROM

Truth Table

Flash Memory Non Volatile Fast read access time (120 ns) Can be erased and can be program

Flash Memory

Table

28F256A Flash memory chips

28F256A Flash memory Chips

ROM Application Firmware- storage of data and program codes that must be available on power-up in microprocessor-based systems Data Tables- used in trigonometric tables Data Converter- data is expressed in one type of code and produces an output expressed in another type

Data Converter

Semiconductor RAM’s RAM-any memory address location is as easily accessible as any other.

RAM Architecture 1K 4K 8K 16K 64K Word sizes 1, 4, 8 bits

READ operation In order to read the content the RW must be 1 Chip select must be set to 0 The above combination enables the output buffers to show the selected register to appear four data output

WRITE Operation

RAM IC 2147H, MCM6206

NMOS Static RAM Cells