Chapter 2: Fundamentals of a microprocessor based system
|
|
- Dana Owen
- 5 years ago
- Views:
Transcription
1 Chapter 2: Fundamentals of a microprocessor based system Objectives Learn about the basic structure of microprocessor systems Learn about the memory read/write timing diagrams. Learn about address decoding techniques 2.1 Introduction In this chapter we will study the basic architecture of a computer system. In particular we will discuss the relation of the memory devices and the microprocessor device. We will first discuss the basic structure of a microprocessor system. Then we will discuss different memory devices and their usage. Memory read/write cycles and the concept of timing and address decoding methods will be introduced. 2.2 Basic structure of a microprocessor system In general, a computer system contains the following parts: Microprocessor (80x86 or 8051 etc) Memory (Read only memory ROM, Random Access Memory RAM etc) Input/output and peripheral devices Glue logic to put the above components together Clock Oscillator Micro- Processor memory Figure 1: A computer system with a microprocessor Peripheral devices: serial, serial, parallel interfaces; real-time-clock etc. etc. 1
2 2.3 Different kinds of Memory Figure 2: an ancient memory device Random access memory (RAM): data will disappear after power down. There are two types of Random access memory (RAM) Dynamic RAM (DRAM) low cost, slower: Each bit is a small capacitor; one or zero is memorized by whether it is charge or discharged respectively. However, a charged bit will become discharged because of leakage so it has to be recharged regularly, say in every few ms (called refresh cycles). It is low cost so it is suitable for making the main memory of a computer, but it requires a more complex circuit to handle the refresh. And because of this reason we will not use it in our experiments. There are also two major types of DRAM: Synchronous Dynamic SDRAM [6], Double Data Rate Synchronous Dynamic SDRAM (DDR SDRAM) [7]. EDO asynchronous DRAM (becoming obsolete). Static RAM (SRAM) high cost, faster: each bit is a flip-flop, so it is more expensive but easier to use than dynamic RAM because it is not required to be refreshed regularly. Because of its high speed rate, it is usually used for building cache memory for computer mother boards. Since we only discuss static (SRAM) here, so the terms SRAM and RAM will be used interchangeably Read only memory (ROM) As the name indicates, it is a read-only device. But, what is the procedure to write data/program to the device? One way is to ask the supplier to do it for you if you are ordering a large batch. Otherwise there is a program-once type that you can program it by using a PROM-programmer. But remember only once, you cannot change it afterwards. It is suitable to be used in a product line for large-scale production. 2
3 2.3.3 UV-EPROM Also known as EPROM, it is Ultra-Violent (UV) light erasable and re-programmable using a programmer. It is suitable for product development and experimentation, because you can change the program many times (well over 10,000 times) by UV-light erasing and re-programming. (Not that the natural sunlight will take 2 years to erase a chip). Figure 3: Erase information in UV-EPROM by UV light EEPROM Electrical erasable memory, similar to a RAM but the write time is much longer so it is not suitable to be used as the main memory of a computer. It also supports the byte-tobyte erase mode FLASH ROM Similar to EEPROM but does not support the byte-to-byte erase mode. You must ease all memory or a block at one time. It is used widely for storing BIOS system start-up programs of computers, so that the computer is able to support online upgrading of system software. It is also widely used for storing media (picture and sound) files for portable audio/visual appliances. A Sony memory stick card (flash memory) from : 2.4 Memory and memory interface and their timing diagrams Diagram are taken from the data sheet of a 32K-byte Static RAM (SRAM) device 76C Memory static ram (SRAM) pin assignments. In the following example we will use the static RAM (or SRAM) or 76c256 for our illustration. This SRAM has 28 pins with 15 bits address (A0-A14), 8 data bits (D7-D0) and three input signals for read/write control: /CS = chip-select (or called /CE=Chip enable), 3
4 /OE = output enable, /WE = write enable. Address and data: The address has 15 address bits, A0-A14, therefore this RAM has 15 2 = 32K of address or locations. The address range is from 0000H to 7FFFH. And since each address has 8-bit of data, so the total memory size is 32K-byte. Here is a way to interpret the concept of address and data. A memory device is just like a high-rise building with many floors; each floor has a unique address pointed by a 15-bit address. And each flat has 8 rooms, each room can contain a bit 1 or 0. Now if you want to post a letter containing a code of 12H to the flat of address 7ACDH, You need to write down the address (on the address bus) and then give the letter containing the code 12H (through the data bus) to the postman. Then after some processing (by the control signals /WR, /OE, /CE) the code 12H will be stored in the building at flat 7ACDH. The following is diagram showing the high building containing the data. Address Data (8 bits) 7FFF H 7FFE H 7ACD H 35H 23H 12H 0001 H 32H 0000H 82H The read/write convention. Remember that the central processor (CPU) is always the subject of our discussion so memory read means data is read from RAM to the CPU; similarly memory write means data is written from CPU to the RAM. Memory read/write are done by a set of control signals synchronized with the address and data bits, to understand this we must study the timing diagrams of the read/write operation CPU and Static memory (SRAM) interface and timing For a simplified case, the CPU has 16 address line outputs, 8-bit of bi-directional data, two control output signals /WR and RD. It fits nicely with the SRAM that the corresponding lines are connected together. The discussion below is based on the example we used earlier that we want to read data from an address location of 7ACDH and write a data of 12H into that location The memory read (read data from SRAM to the CPU) cycle The operation, as depicted in figure 2, is as follows: When the CPU executes an instruction that requires reading in a data from the RAM, it first sends out the address to the RAM, in this case, say, 7ACDH. It is shown in the timing diagram read cycle 2 of figure 2. At the beginning of the read cycle the address lines become stable. You would see some lines are high some lines are low because it is a bus and contains 15 lines, when they overlap they become a timing diagram like this. 4
5 I. A15 is connected to /CS (chip select) of the SRAM chip, so at the beginning of the read cycle (T0), if the address is within FFFH, A15 should be low, then the SRAM is enabled. II. III. IV. The output /RD of the CPU is connected to /OE (=output enable) of the SRAM. A little while after T0, /RD will be pulled down by the CPU. When the memory SRAM receives the following signals: (i) valid address, (ii) /CS is low, (iii) /OE is low and /WE is high, data pointed by the address will be sent out to the data bus at time T1. Data is valid at T1, then at T2 the CPU sets /CS, /OE to high, then data is latched into the CPU. This completes the read operation. From T0 to T2 it is called a memory read cycle. You can see that the whole operation is a deliberate design required the cooperation of the CPU and SRAM at precise timing. However, you don t have to worry much, in most cases once you connect the correct wires together as in the diagram below, the system will function as required. But you to make sure that the access time of the memory (T ACS ) must be shorter than the required cycle time (T CYC ) of the CPU. Otherwise the CPU cannot read the correct data from the memory. A simplified connection diagram between CPU and the SRAM. A0-A14 CPU A15 /RD /WR A0-A14 32K-byte SRAM /CS /OE /WE Bi-directional Data bus Figure 4 T0 T1 T2 Memory write cycle (write data from CPU to SRAM) The memory write cycle is quite similar to the read cycle. I. First memory address is first output from the CPU to the address 8-bit data bus bus at. Figure 5 5
6 Memory write cycle (write data from CPU to SRAM) The memory write cycle, as depicted in figure 3, is quite similar to the read cycle. I. First memory address is output from the CPU to the address bus at T0. II. III. A15 is low since the address (7ACDH) is within the memory range FFFH. So the signal /CS of the memory SRAM is now low. A while after T0 when the address bus is stable, /WE of the CPU is reset to low and also data (12H) from the CPU becomes valid. The /WR is set by the CPU to high, then the data is latched into the memory. The memory write cycle is completed here. T0 T1 T3 T4 Figure 6 Exercise2.1: Redesign the CPU/SRAM interfaces circuit in figure 1 so that the address-range is 8000-FFFFH instead of FFFH. Exercise2.2: Redesign the CPU/SRAM interface circuit to add another SRAM to enable the system to have the whole 0000-FFFFH address-range. 2.5 About Timing Diagrams Timing diagrams are extremely important in hardware design. Here are the important points. 1. When you are reading a bus: A pair of horizontal lines (one high, one low) means you are in the valid region. Why does it have two lines? Because you are now looking at a bus with all the signals, which are merged or compressed. Therefore you see some high and low signals packed together at the same time. A14- A0 Valid region 6
7 Before entering a valid region, you find arrows there (at DOUT of figure 2). It is because it is a place where transitions of the signals or the bus occur, try not to use the signal at that time since the signal is not stable and not valid. Such an invalid region also occurs when a signal changes from one valid region to another valid region, for example, when the signals change from 55H to AAH, etc. In the above diagram, the shaded region at the left-hand side means a region when high-to-low can be allowed or can happen at any time within this region. The middle-region is a stable-low region. And the shaded region on the righthand side means low-to-high can occur or is allowed to occur anytime within this region. T0 T1 T2 In the above diagram, the horizontal line in the middle means the signal is at the high-z (float) region. Then at T0, the signal can become valid at any time within this region. At T1 the signal must be valid. And after T2 the signal becomes High-Z (float) again. Exercise2.3 Explain the above timing diagrams. 2.6 Read only memory ROM devices Since ROM is read only there is no need to have the /WE pin input. Otherwise the timing operation are quite similar to that of the memory read cycle of an SRAM. The (32K-byte ROM) is also pin compatible to (32K-byrte SRAM), yet there is no pin for /WR since there is no simple write operation allowed. A special machine called PROM-programmer is used to write data into a ROM. It uses a very different timing method. Interested students can read the data sheet of ROM for details. 2.7 Memory decode In the above example the CPU has an address range of 64K, so two 32K-byte SRAM devices fit nicely into the address map and it uses A15 to indicate which SRAM is in use. But how about if we have a CPU which supports 128K-byte (has address pin A0-A16 = 17 pins, so 2 17 =128K) of memory area. 7
8 Exercise2.4: How many 32K-SRAMs do we need? Answer: 128/32= 4 SRAM devices. Exercise2.5: How to connect the SRAMS to the CPU? We need an address decoder to enable each SRAM when it is in use. Since the lower 15 address pins will be used for connecting the SRAM address inputs. We will use the upper 17-15=2 pins (A16, A15) to connect to an address decoder. The general rules are: 1. Use the upper address lines for address decode (e.g. A16,A15 here); 2. Connect the lower address lines (depending on the address pins in each memory unit, e.g. A14-A0 here) in parallel for all memory devices. For 128K bytes we need 5 hex numbers = 17 bits to represent it, x = don t care A16,A15,..A0 (17 bits) Address range( 5 hex.) Range size 0 0xxx xxxx xxxx xxxx FFF H 32K 0 1xxx xxxx xxxx xxxx FFFFH 32K 1 0xxx xxxx xxxx xxxx FFFH 32K 1 1xxx xxxx xxxx xxxx FFFFH 32K A decoder is a logic circuit, which has the following truth table A16,A15 /CS0 /CS1 /CS2 /CS A set of simple Boolean functions is: /CS0 = A16 or A15 (for address range: FFFH) /CS1 = /A16 or A15 (for address range: FFFFH) /CS2 = A16 or /A15 (for address range: FFFH) /CS3 = /A16 or /A15 (for address range: FFFFH) CPU A16 A15 Address decoder /CS0 /CS1 /CS2 /CS3 32K-byte RAM /CE (or /CS) ( FFFH) 8 How to connect Data bus (D7-D0), /WR, /OE /CS2, /CS3 to the other two SRAM chips? 32K-byteRAM /CE (or /CS) ( FFFFH
9 Exercise2.6: Complete the above diagram and show (a) How to connect the other two SRAM devices to /CS2, /CS3 and show their address ranges? (b) How to connect the other address pins (A0-A14)? Exercise2.7: Use the Internet to search for the data sheet of or (1-of-8 Decoder) and learn how to use it to make an address decoder for circuit development. 2.8 Other interfacing methods Serial memory devices reduction of hardware pins Many flash memory devices are working in the serial interface mode, the main difference is that each device uses a single IO bit for data exchange and usual coordinated by a clock signal. The advantage is the pin count is low, (E.g. 6 pins for the whole device). Typical examples are the SD, MMC flash memory devices used in MP3 players and digital cameras [4], or the serial EEPROM [5] Synchronous and asynchronous accessing methods The above accessing read/write cycles are in asynchronous mode, for example, in a memory read cycle the CPU can initiate a read request then the memory will supply the data when it is ready. The two parties are loosely linked by an asynchronous relation. In synchronous mode, the memory and the CPU are performing read/write operations according to a master clock, hence the control is tighter hence the speed can be increased. Synchronous memory can usually support burst mode. That is after the initial read/write cycle requiring a few clock cycles, a block of memory (say, 8 locations) can be transferred at an one-clock-cycle-per-location rate [1] Double rate technology for synchronous access Data transfer can occur at the rising as well as falling edge, so in each cycle of the clock, data is transferred twice [7]. 2.9 Questions 1. List the types (in, out or inout) and functions of address lines data lines /CS,/OE and /WE lines of a static memory device. 2. Referring to figure 1 and 2, what would happen if /RD of the CPU goes up before the data valid region occurs? 3. Referring to Figure 3, if t AS =0ns, t wc =100ns,t CW =80ns, give comments on the limits of t AW, t WP and t DW.. 4. For a CPU with 20-bit addressing space and 8-bit data lines, What is the size of the addressing space? How many 32-K byte SRAM do you need to fill up the address space. Design an address decoder for this system. 9
10 5. For a CPU with 32-bit addressing space, each location is referring to a byte, the CPU has 32-bit data lines, What is the size of the addressing space? Discuss how do you access a byte, 2 bytes or 4 bytes using one memory read/write cycle. How many 32-Mbit DRAM do you need to fill up the address space of 64Mbyte? Design an address decoder for this system. 6. Write essays on the following topics: The main system memory technologies to be used in motherboards next year. The main memory technologies to be used in digital cameras next year Memory technologies come and go, why do we need to study all of them? References 1. System Memory: (Many technical terms on memory are explained here) 2. Datasheet of a 320Kbyte Static Ram (SRAM) device 76C Data sheets for EPROMs., MCUs: 4. Data manual for SD 5. Data sheet of serial EEPROM 6. Synchronous Dynamic RAM -- SDRAM datasheet Double Data Rate SDRAM (DDR SDRAM) datasheet ent/256mbit/k4h560838e/k4h560838e.htm -- End of this chapter -- 10
Computer Organization. 8th Edition. Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 8th Edition Chapter 5 Internal Memory Semiconductor Memory Types Memory Type Category Erasure Write Mechanism Volatility Random-access memory (RAM)
More informationChapter 5 Internal Memory
Chapter 5 Internal Memory Memory Type Category Erasure Write Mechanism Volatility Random-access memory (RAM) Read-write memory Electrically, byte-level Electrically Volatile Read-only memory (ROM) Read-only
More informationWilliam Stallings Computer Organization and Architecture 6th Edition. Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 6th Edition Chapter 5 Internal Memory Semiconductor Memory Types Semiconductor Memory RAM Misnamed as all semiconductor memory is random access
More informationInternal Memory. Computer Architecture. Outline. Memory Hierarchy. Semiconductor Memory Types. Copyright 2000 N. AYDIN. All rights reserved.
Computer Architecture Prof. Dr. Nizamettin AYDIN naydin@yildiz.edu.tr nizamettinaydin@gmail.com Internal Memory http://www.yildiz.edu.tr/~naydin 1 2 Outline Semiconductor main memory Random Access Memory
More informationOrganization. 5.1 Semiconductor Main Memory. William Stallings Computer Organization and Architecture 6th Edition
William Stallings Computer Organization and Architecture 6th Edition Chapter 5 Internal Memory 5.1 Semiconductor Main Memory 5.2 Error Correction 5.3 Advanced DRAM Organization 5.1 Semiconductor Main Memory
More informationIntroduction read-only memory random access memory
Memory Interface Introduction Simple or complex, every microprocessorbased system has a memory system. Almost all systems contain two main types of memory: read-only memory (ROM) and random access memory
More informationMemory Expansion. Lecture Embedded Systems
Memory Expansion Lecture 22 22-1 In These Notes... Memory Types Memory Expansion Interfacing Parallel Serial Direct Memory Access controllers 22-2 Memory Characteristics and Issues Volatility - Does it
More informationChapter 4 Main Memory
Chapter 4 Main Memory Course Outcome (CO) - CO2 Describe the architecture and organization of computer systems Program Outcome (PO) PO1 Apply knowledge of mathematics, science and engineering fundamentals
More informationOverview. Memory Classification Read-Only Memory (ROM) Random Access Memory (RAM) Functional Behavior of RAM. Implementing Static RAM
Memories Overview Memory Classification Read-Only Memory (ROM) Types of ROM PROM, EPROM, E 2 PROM Flash ROMs (Compact Flash, Secure Digital, Memory Stick) Random Access Memory (RAM) Types of RAM Static
More informationBasic Organization Memory Cell Operation. CSCI 4717 Computer Architecture. ROM Uses. Random Access Memory. Semiconductor Memory Types
CSCI 4717/5717 Computer Architecture Topic: Internal Memory Details Reading: Stallings, Sections 5.1 & 5.3 Basic Organization Memory Cell Operation Represent two stable/semi-stable states representing
More informationWilliam Stallings Computer Organization and Architecture 8th Edition. Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 8th Edition Chapter 5 Internal Memory Semiconductor Memory The basic element of a semiconductor memory is the memory cell. Although a variety of
More informationCREATED BY M BILAL & Arslan Ahmad Shaad Visit:
CREATED BY M BILAL & Arslan Ahmad Shaad Visit: www.techo786.wordpress.com Q1: Define microprocessor? Short Questions Chapter No 01 Fundamental Concepts Microprocessor is a program-controlled and semiconductor
More informationMicrocontroller Systems. ELET 3232 Topic 11: General Memory Interfacing
Microcontroller Systems ELET 3232 Topic 11: General Memory Interfacing 1 Objectives To become familiar with the concepts of memory expansion and the data and address bus To design embedded systems circuits
More informationMemory & Simple I/O Interfacing
Chapter 10 Memory & Simple I/O Interfacing Expected Outcomes Explain the importance of tri-state devices in microprocessor system Distinguish basic type of semiconductor memory and their applications Relate
More informationAllmost all systems contain two main types of memory :
Memory Interface Allmost all systems contain two main types of memory : read-only memory (ROM) system software and permanent system data random access memory (RAM) or read/write memory application software
More informationMemory Pearson Education, Inc., Hoboken, NJ. All rights reserved.
1 Memory + 2 Location Internal (e.g. processor registers, cache, main memory) External (e.g. optical disks, magnetic disks, tapes) Capacity Number of words Number of bytes Unit of Transfer Word Block Access
More informationSummer 2003 Lecture 18 07/09/03
Summer 2003 Lecture 18 07/09/03 NEW HOMEWORK Instruction Execution Times: The 8088 CPU is a synchronous machine that operates at a particular clock frequency. In the case of the original IBM PC, that clock
More informationDIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422)
COURSE / CODE DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) Memory In computing, memory refers to the computer hardware devices used to store information for immediate use
More information(Advanced) Computer Organization & Architechture. Prof. Dr. Hasan Hüseyin BALIK (5 th Week)
+ (Advanced) Computer Organization & Architechture Prof. Dr. Hasan Hüseyin BALIK (5 th Week) + Outline 2. The computer system 2.1 A Top-Level View of Computer Function and Interconnection 2.2 Cache Memory
More informationMemory classification:- Topics covered:- types,organization and working
Memory classification:- Topics covered:- types,organization and working 1 Contents What is Memory? Cache Memory PC Memory Organisation Types 2 Memory what is it? Usually we consider this to be RAM, ROM
More informationUMBC. Select. Read. Write. Output/Input-output connection. 1 (Feb. 25, 2002) Four commonly used memories: Address connection ... Dynamic RAM (DRAM)
Memory Types Two basic types: ROM: Read-only memory RAM: Read-Write memory Four commonly used memories: ROM Flash (EEPROM) Static RAM (SRAM) Dynamic RAM (DRAM) Generic pin configuration: Address connection
More informationAddress connections Data connections Selection connections
Interface (cont..) We have four common types of memory: Read only memory ( ROM ) Flash memory ( EEPROM ) Static Random access memory ( SARAM ) Dynamic Random access memory ( DRAM ). Pin connections common
More information8051 INTERFACING TO EXTERNAL MEMORY
8051 INTERFACING TO EXTERNAL MEMORY Memory Capacity The number of bits that a semiconductor memory chip can store Called chip capacity It can be in units of Kbits (kilobits), Mbits (megabits), and so on
More informationECSE-2610 Computer Components & Operations (COCO)
ECSE-2610 Computer Components & Operations (COCO) Part 18: Random Access Memory 1 Read-Only Memories 2 Why ROM? Program storage Boot ROM for personal computers Complete application storage for embedded
More informationChapter 5. Internal Memory. Yonsei University
Chapter 5 Internal Memory Contents Main Memory Error Correction Advanced DRAM Organization 5-2 Memory Types Memory Type Category Erasure Write Mechanism Volatility Random-access memory(ram) Read-write
More informationMemory Overview. Overview - Memory Types 2/17/16. Curtis Nelson Walla Walla University
Memory Overview Curtis Nelson Walla Walla University Overview - Memory Types n n n Magnetic tape (used primarily for long term archive) Magnetic disk n Hard disk (File, Directory, Folder) n Floppy disks
More informationCS 320 February 2, 2018 Ch 5 Memory
CS 320 February 2, 2018 Ch 5 Memory Main memory often referred to as core by the older generation because core memory was a mainstay of computers until the advent of cheap semi-conductor memory in the
More informationSemiconductor Memories: RAMs and ROMs
Semiconductor Memories: RAMs and ROMs Lesson Objectives: In this lesson you will be introduced to: Different memory devices like, RAM, ROM, PROM, EPROM, EEPROM, etc. Different terms like: read, write,
More informationUNIT V (PROGRAMMABLE LOGIC DEVICES)
UNIT V (PROGRAMMABLE LOGIC DEVICES) Introduction There are two types of memories that are used in digital systems: Random-access memory(ram): perform both the write and read operations. Read-only memory(rom):
More informationMenu. word size # of words byte = 8 bits
Menu LSI Components >Random Access Memory (RAM) Static RAM (SRAM) Dynamic RAM (DRAM) Read-Only Memory (ROM) Look into my... See figures from Lam text on web: RAM_ROM_ch6.pdf 1 It can be thought of as 1
More informationRead and Write Cycles
Read and Write Cycles The read cycle is shown. Figure 41.1a. The RAS and CAS signals are activated one after the other to latch the multiplexed row and column addresses respectively applied at the multiplexed
More informationConcept of Memory. The memory of computer is broadly categories into two categories:
Concept of Memory We have already mentioned that digital computer works on stored programmed concept introduced by Von Neumann. We use memory to store the information, which includes both program and data.
More informationCPE/EE 421/521 Fall 2004 Chapter 4 The CPU Hardware Model. Dr. Rhonda Kay Gaede UAH. The CPU Hardware Model - Overview
CPE/EE 421/521 Fall 2004 Chapter 4 The 68000 CPU Hardware Model Dr. Rhonda Kay Gaede UAH Fall 2004 1 The 68000 CPU Hardware Model - Overview 68000 interface Timing diagram Minimal configuration using the
More informationLecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017
Lecture Objectives Introduction to Computing Chapter The AVR microcontroller and embedded systems using assembly and c Students should be able to: Convert between base and. Explain the difference between
More informationComponents of a personal computer
Components of a personal computer Computer systems ranging from a controller in a microwave oven to a large supercomputer contain components providing five functions. A typical personal computer has hard,
More informationMemory Challenges. Issues & challenges in memory design: Cost Performance Power Scalability
Memory Devices 1 Memory Challenges Issues & challenges in memory design: Cost Performance Power Scalability 2 Memory - Overview Definitions: RAM random access memory DRAM dynamic RAM SRAM static RAM Volatile
More informationComputer Memory. Textbook: Chapter 1
Computer Memory Textbook: Chapter 1 ARM Cortex-M4 User Guide (Section 2.2 Memory Model) STM32F4xx Technical Reference Manual: Chapter 2 Memory and Bus Architecture Chapter 3 Flash Memory Chapter 36 Flexible
More informationChapter TEN. Memory and Memory Interfacing
Chapter TEN Memory and Memory Interfacing OBJECTIVES this chapter enables the student to: Define the terms capacity, organization, and speed as used in semiconductor memories. Calculate the chip capacity
More informationEmbedded Systems Design: A Unified Hardware/Software Introduction. Outline. Chapter 5 Memory. Introduction. Memory: basic concepts
Hardware/Software Introduction Chapter 5 Memory Outline Memory Write Ability and Storage Permanence Common Memory Types Composing Memory Memory Hierarchy and Cache Advanced RAM 1 2 Introduction Memory:
More informationEmbedded Systems Design: A Unified Hardware/Software Introduction. Chapter 5 Memory. Outline. Introduction
Hardware/Software Introduction Chapter 5 Memory 1 Outline Memory Write Ability and Storage Permanence Common Memory Types Composing Memory Memory Hierarchy and Cache Advanced RAM 2 Introduction Embedded
More informationECE 485/585 Microprocessor System Design
Microprocessor System Design Lecture 4: Memory Hierarchy Memory Taxonomy SRAM Basics Memory Organization DRAM Basics Zeshan Chishti Electrical and Computer Engineering Dept Maseeh College of Engineering
More informationa) Memory management unit b) CPU c) PCI d) None of the mentioned
1. CPU fetches the instruction from memory according to the value of a) program counter b) status register c) instruction register d) program status word 2. Which one of the following is the address generated
More informationThe Memory Component
The Computer Memory Chapter 6 forms the first of a two chapter sequence on computer memory. Topics for this chapter include. 1. A functional description of primary computer memory, sometimes called by
More informationMemory Systems for Embedded Applications. Chapter 4 (Sections )
Memory Systems for Embedded Applications Chapter 4 (Sections 4.1-4.4) 1 Platform components CPUs. Interconnect buses. Memory. Input/output devices. Implementations: System-on-Chip (SoC) vs. Multi-Chip
More informationPCI to SH-3 AN Hitachi SH3 to PCI bus
PCI to SH-3 AN Hitachi SH3 to PCI bus Version 1.0 Application Note FEATURES GENERAL DESCRIPTION Complete Application Note for designing a PCI adapter or embedded system based on the Hitachi SH-3 including:
More informationComputer Organization and Assembly Language (CS-506)
Computer Organization and Assembly Language (CS-506) Muhammad Zeeshan Haider Ali Lecturer ISP. Multan ali.zeeshan04@gmail.com https://zeeshanaliatisp.wordpress.com/ Lecture 2 Memory Organization and Structure
More informationMODULE 12 APPLICATIONS OF MEMORY DEVICES:
Introduction to Digital Electronic Design, Module 12 Application of Memory Devices 1 MODULE 12 APPLICATIONS OF MEMORY DEVICES: CONCEPT 12-1: REVIEW OF HOW MEMORY DEVICES WORK Memory consists of two parts.
More informationECE 485/585 Microprocessor System Design
Microprocessor System Design Lecture 5: Zeshan Chishti DRAM Basics DRAM Evolution SDRAM-based Memory Systems Electrical and Computer Engineering Dept. Maseeh College of Engineering and Computer Science
More informationRTL Design (2) Memory Components (RAMs & ROMs)
RTL Design (2) Memory Components (RAMs & ROMs) Memory Components All sequential circuit have a form of memory Register, latches, etc However, the term memory is generally reserved for bits that are stored
More informationEE251: Thursday November 15
EE251: Thursday November 15 Major new topic: MEMORY A KEY topic HW #7 due today; HW #8 due Thursday, Nov. 29 Lab #8 finishes this week; due week of Nov. 26 All labs MUST be completed/handed-in by Dec.
More informationTopic 21: Memory Technology
Topic 21: Memory Technology COS / ELE 375 Computer Architecture and Organization Princeton University Fall 2015 Prof. David August 1 Old Stuff Revisited Mercury Delay Line Memory Maurice Wilkes, in 1947,
More informationTopic 21: Memory Technology
Topic 21: Memory Technology COS / ELE 375 Computer Architecture and Organization Princeton University Fall 2015 Prof. David August 1 Old Stuff Revisited Mercury Delay Line Memory Maurice Wilkes, in 1947,
More informationRISC (Reduced Instruction Set Computer)
RISC (Reduced Instruction Set Computer) Reduced Instruction Set Computing (RISC), is a microprocessor CPU design philosophy that favors a smaller and simpler set of instructions that all take about the
More informationFIGURE Three EPROMs interfaced to the 8088 microprocessor.
10 3 8088 AND 80188 (8-BIT) MEMORY INTERFACE: Basic 8088/80188 Memory Interface: The 8088 and 80188 microprocessors have an 8-bit data bus. The memory system must decode the address to select a memory
More informationUnit 6 1.Random Access Memory (RAM) Chapter 3 Combinational Logic Design 2.Programmable Logic
EE 200: Digital Logic Circuit Design Dr Radwan E Abdel-Aal, COE Unit 6.Random Access Memory (RAM) Chapter 3 Combinational Logic Design 2. Logic Logic and Computer Design Fundamentals Part Implementation
More informationSemiconductor Memory Types Microprocessor Design & Organisation HCA2102
Semiconductor Memory Types Microprocessor Design & Organisation HCA2102 Internal & External Memory Semiconductor Memory RAM Misnamed as all semiconductor memory is random access Read/Write Volatile Temporary
More informationAdvanced Parallel Architecture Lesson 4 bis. Annalisa Massini /2015
Advanced Parallel Architecture Lesson 4 bis Annalisa Massini - 2014/2015 Internal Memory RAM Many memory types are random access individual words of memory are directly accessed through wired-in addressing
More informationCOMP2121: Microprocessors and Interfacing. Introduction to Microprocessors
COMP2121: Microprocessors and Interfacing Introduction to Microprocessors http://www.cse.unsw.edu.au/~cs2121 Lecturer: Hui Wu Session 2, 2017 1 1 Contents Processor architectures Bus Memory hierarchy 2
More informationChapter 1 Microprocessor architecture ECE 3120 Dr. Mohamed Mahmoud http://iweb.tntech.edu/mmahmoud/ mmahmoud@tntech.edu Outline 1.1 Computer hardware organization 1.1.1 Number System 1.1.2 Computer hardware
More informationCOMP3221: Microprocessors and. and Embedded Systems. Overview. Lecture 23: Memory Systems (I)
COMP3221: Microprocessors and Embedded Systems Lecture 23: Memory Systems (I) Overview Memory System Hierarchy RAM, ROM, EPROM, EEPROM and FLASH http://www.cse.unsw.edu.au/~cs3221 Lecturer: Hui Wu Session
More informationchapter 8 The Memory System Chapter Objectives
chapter 8 The Memory System Chapter Objectives In this chapter you will learn about: Basic memory circuits Organization of the main memory Memory technology Direct memory access as an I/O mechanism Cache
More informationCHAPTER TWELVE - Memory Devices
CHAPTER TWELVE - Memory Devices 12.1 6x1,024 = 16,384 words; 32 bits/word; 16,384x32 = 524,288 cells 12.2 16,384 addresses; one per word. 12.3 2 16 = 65,536 words = 64K. Thus, memory capacity is 64Kx4.
More informationLogic and Computer Design Fundamentals. Chapter 8 Memory Basics
Logic and Computer Design Fundamentals Memory Basics Overview Memory definitions Random Access Memory (RAM) Static RAM (SRAM) integrated circuits Arrays of SRAM integrated circuits Dynamic RAM (DRAM) Read
More informationMemory and Programmable Logic
Memory and Programmable Logic Memory units allow us to store and/or retrieve information Essentially look-up tables Good for storing data, not for function implementation Programmable logic device (PLD),
More informationUMBC D 7 -D. Even bytes 0. 8 bits FFFFFC FFFFFE. location in addition to any 8-bit location. 1 (Mar. 6, 2002) SX 16-bit Memory Interface
8086-80386SX 16-bit Memory Interface These machines differ from the 8088/80188 in several ways: The data bus is 16-bits wide. The IO/M pin is replaced with M/IO (8086/80186) and MRDC and MWTC for 80286
More informationInterface DAC to a PC. Control Word of MC1480 DAC (or DAC 808) 8255 Design Example. Engineering 4862 Microprocessors
Interface DAC to a PC Engineering 4862 Microprocessors Lecture 22 Cheng Li EN-4012 licheng@engr.mun.ca DAC (Digital-to-Analog Converter) Device used to convert digital pulses to analog signals Two methods
More informationContents. Main Memory Memory access time Memory cycle time. Types of Memory Unit RAM ROM
Memory Organization Contents Main Memory Memory access time Memory cycle time Types of Memory Unit RAM ROM Memory System Virtual Memory Cache Memory - Associative mapping Direct mapping Set-associative
More informationeaymanelshenawy.wordpress.com
Lectures on Memory Interface Designed and Presented by Dr. Ayman Elshenawy Elsefy Dept. of Systems & Computer Eng.. Al-Azhar University Email : eaymanelshenawy@yahoo.com eaymanelshenawy.wordpress.com Lecture
More informationLecture 13: Memory and Programmable Logic
Lecture 13: Memory and Programmable Logic Syed M. Mahmud, Ph.D ECE Department Wayne State University Aby K George, ECE Department, Wayne State University Contents Introduction Random Access Memory Memory
More informationDesign and Implementation of an AHB SRAM Memory Controller
Design and Implementation of an AHB SRAM Memory Controller 1 Module Overview Learn the basics of Computer Memory; Design and implement an AHB SRAM memory controller, which replaces the previous on-chip
More informationMEMORY AND PROGRAMMABLE LOGIC
MEMORY AND PROGRAMMABLE LOGIC Memory is a device where we can store and retrieve information It can execute a read and a write Programmable Logic is a device where we can store and retrieve information
More information7/6/2011. Introduction. Chapter Objectives Upon completion of this chapter, you will be able to:
Introduction Simple or complex, every microprocessorbased system has a memory system. Almost all systems contain two main types of memory: read-only memory (ROM) and random access memory (RAM) or read/write
More informationComputers in Business: Concepts in Hardware and Software
Computers in Business: Concepts in and Software University for Development Studies (UDS) January 31, 2012 NB: Listen to what I say, What matters is not what is in the notes. Assignments are very essential
More informationECEN 449 Microprocessor System Design. Memories. Texas A&M University
ECEN 449 Microprocessor System Design Memories 1 Objectives of this Lecture Unit Learn about different types of memories SRAM/DRAM/CAM Flash 2 SRAM Static Random Access Memory 3 SRAM Static Random Access
More informationMemories. Design of Digital Circuits 2017 Srdjan Capkun Onur Mutlu.
Memories Design of Digital Circuits 2017 Srdjan Capkun Onur Mutlu http://www.syssec.ethz.ch/education/digitaltechnik_17 Adapted from Digital Design and Computer Architecture, David Money Harris & Sarah
More informationDesign with Microprocessors
Design with Microprocessors Lecture 12 DRAM, DMA Year 3 CS Academic year 2017/2018 1 st semester Lecturer: Radu Danescu The DRAM memory cell X- voltage on Cs; Cs ~ 25fF Write: Cs is charged or discharged
More informationThe D igital Digital Logic Level Chapter 3 1
The Digital Logic Level Chapter 3 1 Gates and Boolean Algebra (1) (a) A transistor inverter. (b) A NAND gate. (c) A NOR gate. 2 Gates and Boolean Algebra (2) The symbols and functional behavior for the
More informationLecture-7 Characteristics of Memory: In the broad sense, a microcomputer memory system can be logically divided into three groups: 1) Processor
Lecture-7 Characteristics of Memory: In the broad sense, a microcomputer memory system can be logically divided into three groups: 1) Processor memory 2) Primary or main memory 3) Secondary memory Processor
More informationUnit 5 DOS INTERRPUTS
Unit 5 DOS INTERRPUTS 5.1 Introduction The DOS (Disk Operating System) provides a large number of procedures to access devices, files and memory. These procedures can be called in any user program using
More informationComputer Systems Organization
The IAS (von Neumann) Machine Computer Systems Organization Input Output Equipment Stored Program concept Main memory storing programs and data ALU operating on binary data Control unit interpreting instructions
More informationSummer 2003 Lecture 21 07/15/03
Summer 2003 Lecture 21 07/15/03 Simple I/O Devices Simple i/o hardware generally refers to simple input or output ports. These devices generally accept external logic signals as input and allow the CPU
More information2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.
DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EE6502- MICROPROCESSORS AND MICROCONTROLLERS UNIT I: 8085 PROCESSOR PART A 1. What is the need for ALE signal in
More informationCS24: INTRODUCTION TO COMPUTING SYSTEMS. Spring 2017 Lecture 13
CS24: INTRODUCTION TO COMPUTING SYSTEMS Spring 2017 Lecture 13 COMPUTER MEMORY So far, have viewed computer memory in a very simple way Two memory areas in our computer: The register file Small number
More informationEECS150 - Digital Design Lecture 16 - Memory
EECS150 - Digital Design Lecture 16 - Memory October 17, 2002 John Wawrzynek Fall 2002 EECS150 - Lec16-mem1 Page 1 Memory Basics Uses: data & program storage general purpose registers buffering table lookups
More informationSistemas Digitais I LESI - 2º ano
Sistemas Digitais I LESI - 2º ano Lesson 9 - Memory, CPLDs and FPGAs Prof. João Miguel Fernandes (miguel@di.uminho.pt) Dept. Informática UNIVERSIDADE DO MINHO ESCOLA DE ENGENHARIA - Memory - Any sequential
More informationPIN DIAGRAM. Richa Upadhyay Prabhu. NMIMS s MPSTME January 19, 2016
PIN DIAGRAM Richa Upadhyay Prabhu NMIMS s MPSTME richa.upadhyay@nmims.edu January 19, 2016 Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 1 / 51 Pin Diagram of 8086 Richa Upadhyay
More informationAT49BV004(T) TSOP Top View Type 1 1. AT49BV4096A(T) TSOP Top View Type 1 A16 BYTE GND I/O7 I/O14 I/O6 I/O13 I/O5 I/O12 I/O4 VCC I/O11 I/O3 I/O10 I/O2
Features 2.7V to 3.6V Read/Write Operation Fast Read Access Time - 120 ns Internal Erase/Program Control Sector Architecture One 8K Words (16K bytes) Boot Block with Programming Lockout Two 4K Words (8K
More informationMemory and Disk Systems
COMP 212 Computer Organization & Architecture Re-Cap of Lecture #3 Cache system is a compromise between COMP 212 Fall 2008 Lecture 4 Memory and Disk Systems More memory system capacity Faster access speed
More informationA+3 A+2 A+1 A. The data bus 16-bit mode is shown in the figure below: msb. Figure bit wide data on 16-bit mode data bus
3 BUS INTERFACE The ETRAX 100 bus interface has a 32/16-bit data bus, a 25-bit address bus, and six internally decoded chip select outputs. Six additional chip select outputs are multiplexed with other
More informationCS 33. Memory Hierarchy I. CS33 Intro to Computer Systems XVI 1 Copyright 2016 Thomas W. Doeppner. All rights reserved.
CS 33 Memory Hierarchy I CS33 Intro to Computer Systems XVI 1 Copyright 2016 Thomas W. Doeppner. All rights reserved. Random-Access Memory (RAM) Key features RAM is traditionally packaged as a chip basic
More informationISSN: [Bilani* et al.,7(2): February, 2018] Impact Factor: 5.164
IJESRT INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & RESEARCH TECHNOLOGY A REVIEWARTICLE OF SDRAM DESIGN WITH NECESSARY CRITERIA OF DDR CONTROLLER Sushmita Bilani *1 & Mr. Sujeet Mishra 2 *1 M.Tech Student
More informationMicroprocessor Architecture. mywbut.com 1
Microprocessor Architecture mywbut.com 1 Microprocessor Architecture The microprocessor can be programmed to perform functions on given data by writing specific instructions into its memory. The microprocessor
More information1. Explain in detail memory classification.[summer-2016, Summer-2015]
1. Explain in detail memory classification.[summer-2016, Summer-2015] RAM The memory is a basic component of a microcomputer system. It stores binary instructions and data for the microprocessor. There
More informationEngineer-to-Engineer Note
Engineer-to-Engineer Note a EE-279 Technical notes on using Analog Devices DSPs, processors and development tools Visit our Web resources http://www.analog.com/ee-notes and http://www.analog.com/processors
More informationMEMORY SYSTEM MEMORY TECHNOLOGY SUMMARY DESIGNING MEMORY SYSTEM. The goal in designing any memory system is to provide
SUMMARY MEMORY SYSTEM ORGANIZATION Memory technology Hierarchical memory systems Characteristics of the storage-device Main memory organization SRAM DRAM Cache memory COMPUTER ARCHITECTURE 2 MEMORY TECHNOLOGY
More informationTHE MICROCOMPUTER SYSTEM CHAPTER - 2
THE MICROCOMPUTER SYSTEM CHAPTER - 2 20 2.1 GENERAL ASPECTS The first computer was developed using vacuum tubes. The computers thus developed were clumsy and dissipating more power. After the invention
More informationCPE/EE 421 Microcomputers
CPE/EE 421 Microcomputers THE 68000 CPU HARDWARE MODEL Instructor: Dr Aleksandar Milenkovic Lecture Notes Lecture 19 CPE/EE 421/521 Microcomputers 1 THE 68000 CPU HARDWARE MODEL Chapter 4 68000 interface
More informationKeywords: NVSRAM, DRAM, SRAM, EEPROM, shadow RAM, NV Memory, MK48Z08, MK48Z18, nvsrams, NV SRAMs
Maxim > Design Support > Technical Documents > Application Notes > Memory > APP 540 Keywords: NVSRAM, DRAM, SRAM, EEPROM, shadow RAM, NV Memory, MK48Z08, MK48Z18, nvsrams, NV SRAMs APPLICATION NOTE 540
More informationSemiconductor Memory Types. Computer & Microprocessor Architecture HCA103. Memory Cell Operation. Semiconductor Memory.
Semiconductor Memory Types Computer & Microprocessor Architecture HCA103 Internal & External Memory UTM-RHH Slide Set 5 1 UTM-RHH Slide Set 5 2 Semiconductor Memory RAM Misnamed as all semiconductor memory
More informationMicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor
1 2 A microprocessor is a single, very-large-scale-integration (VLSI) chip that contains many digital circuits that perform arithmetic, logic, communication, and control functions. When a microprocessor
More information