EXERCISES OF FUNDAMENTALS OF COMPUTER TECHNOLOGY UNIT 5. MEMORY SYSTEM



Similar documents
Memory Basics. SRAM/DRAM Basics

Lecture 16: Address decoding

A N. O N Output/Input-output connection

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

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

COMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ

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

CSE2102 Digital Design II - Topics CSE Digital Design II

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

Memory unit. 2 k words. n bits per word

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

Memory. The memory types currently in common usage are:

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

Main Memory & Backing Store. Main memory backing storage devices

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

MULTIPLE CHOICE FREE RESPONSE QUESTIONS

Chapter 2 Logic Gates and Introduction to Computer Architecture

Unit A451: Computer systems and programming. Section 2: Computing Hardware 1/5: Central Processing Unit

Reviving smart card analysis

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

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS

DDR4 Memory Technology on HP Z Workstations

Byte Ordering of Multibyte Data Items

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

CHAPTER 4 MARIE: An Introduction to a Simple Computer

Basic Concepts of Information Technology (IT)

Memory Systems. Static Random Access Memory (SRAM) Cell

MICROPROCESSOR AND MICROCOMPUTER BASICS

Programming Logic controllers

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

COMP 303 MIPS Processor Design Project 4: MIPS Processor Due Date: 11 December :59

Computer Literacy. Hardware & Software Classification

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

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

Computer Architecture

Chapter 8 Memory Units

Discovering Computers Living in a Digital World

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

Qsys and IP Core Integration

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

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

COMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING UNIT 5 INPUT/OUTPUT UNIT JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ

CPU Organisation and Operation

ERROR DETECTION AND CORRECTION

Multiple Choice Questions(Computer)

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

Computer Systems Structure Main Memory Organization

Secure Cloud Storage and Computing Using Reconfigurable Hardware

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

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

DS1225Y 64k Nonvolatile SRAM

ADVANCED IC REVERSE ENGINEERING TECHNIQUES: IN DEPTH ANALYSIS OF A MODERN SMART CARD. Olivier THOMAS Blackhat USA 2015

8031AH 8051AH 8032AH 8052AH NMOS SINGLE-CHIP 8-BIT MICROCONTROLLERS

Chapter 7 Memory and Programmable Logic

LabStats 5 System Requirements

Figure 1: RotemNet Main Screen

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

Chapter 13. PIC Family Microcontroller

TEST CHAPTERS 1 & 2 OPERATING SYSTEMS

The Central Processing Unit:

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

lesson 1 An Overview of the Computer System

SDRAM and DRAM Memory Systems Overview


Lecture 2: Computer Hardware and Ports.

HD44780U (LCD-II) (Dot Matrix Liquid Crystal Display Controller/Driver)

PART B QUESTIONS AND ANSWERS UNIT I

Configuration Maximums VMware Infrastructure 3

Chapter 5 :: Memory and Logic Arrays

COMBINATIONAL CIRCUITS

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

UMBC. ISA is the oldest of all these and today s computers still have a ISA bus interface. in form of an ISA slot (connection) on the main board.

CHAPTER 7: The CPU and Memory

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

earlier in the semester: The Full adder above adds two bits and the output is at the end. So if we do this eight times, we would have an 8-bit adder.

Spacecraft Computer Systems. Colonel John E. Keesee

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

Building a computer. Electronic Numerical Integrator and Computer (ENIAC)

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

Types Of Storage Device

DS1220Y 16k Nonvolatile SRAM

Central Processing Unit (CPU)

Copyright Peter R. Rony All rights reserved.

Computer Basics: Chapters 1 & 2

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

VOICE RECOGNITION KIT USING HM2007. Speech Recognition System. Features. Specification. Applications

Lecture N -1- PHYS Microcontrollers

Microprocessor or Microcontroller?

TECHNOLOGY BRIEF. Compaq RAID on a Chip Technology EXECUTIVE SUMMARY CONTENTS

Memory is implemented as an array of electronic switches

(Refer Slide Time: 00:01:16 min)

1 PERSONAL COMPUTERS

Motivation: Smartphone Market

Registers & Counters

OpenSPARC T1 Processor

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

EMBEDDED SYSTEM BASICS AND APPLICATION

IP-Pro (Virtual IP Protocol Independent Version) User Instructions

Semiconductor Memories

Primary Memory. Input Units CPU (Central Processing Unit)

Transcription:

EXERCISES OF FUNDAMENTALS OF COMPUTER TECHNOLOGY UNIT 5. MEMORY SYSTEM

Unit 5. Memory System 2 / 6 Most of the exercises in this units deal with installing memory chips in a computer to increase its capacity, either in number of available addresses, in word size, or both. Increasing memory capacity in number of addresses. Example: In a CPU with an address bus of 14 bits, you are required to install a memory of 16Kx8 using chips of 8Kx8. Design the memory system. -Check that the required amount of memory can be addressed with 14 bits: 2 14 = 16K -Calculate how many 8Kx8 chips are needed: 16K/8K * 8/8 = 2 * 1 2 chips of 8Kx8 -Scheme of the memory map: Calculate addresses in each chip. As chips are of 8K we need the least 13 significant bits A 12 -A 0 to select an address in each of them (2 13 = 8K). The most significant bit A 13 will be used to select the chip with the input. Both will share the same data bus with 8 lines. The memory map and the system design are

Unit 5. Memory System 3 / 6 Increasing memory capacity in word size: Example: In a CPU with an address bus of 14 bits, you are required to install a memory of 16Kx16 using chips of 8Kx8. Design the memory system. -Check that the required amount of memory can be addressed with 14 bits: 2 14 = 16K -Calc. how many 8Kx8 chips are needed: 16K/16K * 16/8 = 1 * 2 2 chips of 16Kx8 Now the CPU accesses the same address in both chips at the same time, providing each of them half of the total 16 bits to be sent to the data bus when reading a position. The system design is now Increasing memory capacity in number of addresses and in word size In the following exercises the two cases shown above can be combined to increase the amount of available memory both in number of addresses and in word size.

Unit 5. Memory System 4 / 6 EXERCISES UNIT 5 1. In a CPU with 8 bits in the data bus and 10 bits in the address bus it is required to install two memory chips of 256x8. One must be in the lowest part of the map (ie. it must contain the first 256 addresses), and the other one in the highest part. Design the memory system. 2. In the computing system shown in the figure it is required that the 8Kx8 memory chip stores the lowest addresses in the map. Design the circuit to connect the necessary lines of the address bus to the chip select of the memory. BUS DE DIRECCIONES 16 PROCESADOR 13 A12-A0 MEMORIA 8Kx8 DIRECCIÓN A15-A0 R/ W R/ W 8 BUS DE DATOS 3. In the memory system shown in the figure, calculate the addresses that memory chips M1 and M2 store. BUS DE DIRECCIONES 16 PROCESADOR A15-A0 A13-A0 14 A14 A15 MEMORIA 16Kx8 DIRECCIÓN A13-A0 A14 A15 14 MEMORIA 16Kx8 DIRECCIÓN R/ W R/ W M1 M2 R/ W 8 BUS DE DATOS

Unit 5. Memory System 5 / 6 4. In a CPU with 16 bits in the data bus and 20 bits in the address bus it is required to install a memory system with the following characteristics: 256 Kwords (256 K x 16) of ROM memory. 512 Kwords (512 K x 16) of RAM memory. Design the memory system allocating RAM memory in the lowest part of the map followed by ROM in the next positions. Use the minimum number of the following available chips ROM chips RAM chips 64 K x 8 128 K x 1 128 K x 1 256 K x 8 128 K x 8 5. In a CPU with 16 bits in the data bus and 20 bits in the address bus it is required to install a memory system with the following characteristics: 256 Kwords (256 K x 16) of ROM memory. 512 Kwords (512 K x 16) of RAM memory. Design the memory system allocating RAM memory in the lowest addresses of the map and ROM in the highest ones. Use the minimum number of the following available chips: ROM chips RAM chips 64 K x 8 128 K x 1 128 K x 1 256 K x 8 128 K x 16 256 K x 16 6. In the CPU shown in the figure it is required to install a memory system with the following characteristics: 128 Kwords (128K x 16) of ROM memory 768 Kwords (640K x 16) of RAM memory. CPU A 19 -A 0 D 15 -D 0 Design the memory system allocating RAM memory in the lowest addresses of the map and ROM in the highest ones. Use the minimum number of the following available chips:

Unit 5. Memory System 6 / 6 ROM chips RAM chips 64 k x 8 128 k x 1 128 k x 1 256 k x 8 128 k x 16 256 k x 16 7. In a CPU with 16 bits in the data bus and 16 bits in the address bus it is required to install 16 Kwords of RAM memory and 8 Kwords of EPROM memory. The following chips are available: A0 D0 A0 D0 A12 D7 A12 D7 WE OE OE RAM 8Kx8 EPROM 8Kx8 The address range for each type of memory must be: Firs address Last address RAM 2000h 5FFFh EPROM 8000h 9FFFh a) Design the memory system using the necessary logic gates b) Design the memory system using the 3 to 8 decoder 74138 of the figure 1 2 3 6 4 5 A B C G1 G2A G2B 74LS138 Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 15 14 13 12 11 10 9 7 Nota 1: G2 = G2A + G2B