Memory 2. Activity 1 Research / Revise what cache memory is. 5 minutes.

Slides:



Advertisements
Similar presentations
Computer Organization and Architecture
Advertisements

Computer Organization and Architecture
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
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.
PREPARE FOR AN EPIC. CACHE AND FLASH AND VIRTUAL.
1 Lecture 16B Memories. 2 Memories in General Computers have mostly RAM ROM (or equivalent) needed to boot ROM is in same class as Programmable Logic.
Overview Memory definitions Random Access Memory (RAM)
©Brooks/Cole, 2003 Chapter 5 Computer Organization.
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.
Computer Organization and Architecture
Chapter 5 Internal Memory
IT Systems Memory EN230-1 Justin Champion C208 –
1 Lecture 16B Memories. 2 Memories in General RAM - the predominant memory ROM (or equivalent) needed to boot ROM is in same class as Programmable Logic.
COMPUTER MEMORY Modern computers use semiconductor memory It is made up of thousands of circuits (paths) for electrical currents on a single silicon chip.
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
Instructions Slides 3,4,5 are general questions that you should be able to answer. Use slides 6-27 to answer the questions. Write your answers in a separate.
2. Memory. Main memory – speed & types Organization of RAM RAM – Random Access Mem Static RAM [SRAM] - In SRAM, a bit of data is stored using the state.
Memory Hierarchy.
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
 Memory Memory  Types of Memory Types of Memory  Memory Representation Memory Representation  Random Access Memory Random Access Memory  Read Only.
Computer Processing of Data
Random access memory.
What is RAM? Nick Sims.
GCSE Computing Memory Powerpoint Templates.
Memory  Main memory consists of a number of storage locations, each of which is identified by a unique address  The ability of the CPU to identify each.
Chapter 3 Internal Memory. Objectives  To describe the types of memory used for the main memory  To discuss about errors and error corrections in the.
3 Computing System Fundamentals
Chidambaranathan C.M SRM University,Haryana. Memory:- As the word implies “memory” means the place where we have to store any thing, this is very essential.
Memory and stuff.. le well drawn pyramid Features Name Volatile Mutable Accessibility Description Data is lost quickly after powering down Data can be.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: Memory.
CIM101 : Introduction to computer Lecture 3 Memory.
Computer Architecture And Organization UNIT-II Structured Organization.
+ CS 325: CS Hardware and Software Organization and Architecture Memory Organization.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Hard drives use magnetism to store information just like on old cassette tapes. Copper heads are used as they are easy to magnetize and demagnetize.
Memory and Storage. Computer Memory Processor registers – Temporary storage locations within the CPU – Examples Instruction register – holds the instruction.
1 Course Title: IT IN BUSINESS Course Instructor: ADEEL ANJUM Chapter No: 04 1 BY ADEEL ANJUM (MCS, CCNA,WEB DEVELOPER)
Storage of Data Instructions and data are held in main memory which is divided into millions of addressable storage.
Semiconductor Memory Types
A memory is just like a human brain. It is used to store data and instructions. Computer memory is the storage space in computer where data is to be processed.
Memory and Storage Aldon Tom. What is Memory? Memory is a solid-state digital device that stores data values. Memory holds running programs and the data.
Activity 1 Review the work from last lesson so that you can explain the following: -What is the purpose of a CPU. -What steps does the CPU take to process.
Activity 1 6 minutes Research Activity: What is RAM? What is ROM?
A Dummies Guide to computer memory. Differences between ROM and RAM ROMRAM Non volatileVolatile Used to boot up the computerUsed when the computer is.
Activity 1 Research / Revise how RAM stores DATA 5 minutes 1 0.
PCs ENVIRONMENT and PERIPHERALS Lecture 3. operating system and other system software that control the usage of the computer equipment application programs.
CACHE _View 9/30/ Memory Hierarchy To take advantage of locality principle, computer memory implemented as a memory hierarchy: multiple levels.
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.
William Stallings Computer Organization and Architecture 7th Edition
A Dummies guide to computer memory
Memory Miss Elliott.
Activity 1 6 minutes Research Activity: What is RAM? What is ROM?
Internal Memory.
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
William Stallings Computer Organization and Architecture 7th Edition
COMPUTER ORGANISATION AND ARCHITECTURE
The Triplets – ROM & RAM & Cache
William Stallings Computer Organization and Architecture 7th Edition
Computer Memory BY- Dinesh Lohiya.
Motherboard External Hard disk USB 1 DVD Drive RAM CPU (Main Memory)
MICROPROCESSOR MEMORY ORGANIZATION
2.C Memory GCSE Computing Langley Park School for Boys.
A451: Computer Systems and Programming
Hardware Main memory 26/04/2019.
Memory Principles.
Presentation transcript:

Memory 2

Activity 1 Research / Revise what cache memory is. 5 minutes

Memory 2 Cache Memory We have already seen cache memory when studying the workings of the CPU. We will now look at it in a little more detail. As we have seen before, RAM will hold a copy of data and instructions (program) that are currently being used by the user. And unfortunately, as the CPU processes data faster than the RAM can supply it with data, system performance can suffer. This is where cache comes in… Learning Objectives: (f) Describe cache memory (g) Describe flash memory (h) Discuss how changes in memory technologies are leading to innovative computer designs.

Memory 2 Cache Memory Cache is simply a few Mb of memory that sits inside the CPU. Being located in the CPU means that data access speed is equal to the CPU’s speed. CPU performance is therefore maintained. Well written programs will make sure that ‘sets’ of regularly used instructions are copied to the cache so that the program can run more efficiently and much faster. Poorly written programs will tend to need to fetch the instructions they need from the RAM one at a time and so as access to the RAM is slow, the program performs less efficiently. Learning Objectives: (f) Describe cache memory (g) Describe flash memory (h) Discuss how changes in memory technologies are leading to innovative computer designs.

Memory 2 How does ‘Cache Memory’ work? Learning Objectives: (f) Describe cache memory (g) Describe flash memory (h) Discuss how changes in memory technologies are leading to innovative computer designs. Efficient programs (algorithms) will enable the CPU to store future instructions to cache so that when the CPU needs them, it can access them super fast

Memory 2 How does RAM store data? Ram holds data using capacitors and transistors. A capacitor can be thought of as a sink or bucket holding water. When it is full it’s holding a ‘bit’ of data (1), when it is empty it represents a zero (0). But obviously in RAM it holds an electrical current (not water). The transistor acts as a switch that lets the computer read the what is in the capacitor (bucket) or fill it up or empty it (change its state). Learning Objectives: (f) Describe cache memory (g) Describe flash memory (h) Discuss how changes in memory technologies are leading to innovative computer designs.

How Capacitors and Transistors Work – a brief overview! Current (electrical flow) Capacitor (holding current) Transistor (switch allowing current to escape) When capacitor is full it represents a ‘ 1 ’ (data) When capacitor is empty it represents a ‘ 0 ’ (data) No Current Flow Current Escapes Capacitor Empties

Memory 2 Types of RAM Dynamic RAM 1 transistor and 1 capacitor for each bit – hold a small charge for a few milliseconds then needs to be refreshed. Because it needs refreshing, there is a limit as to how fast data can be read on this type of RAM. Power always needed. Static RAM 4-5 transistors wired together for each bit of data but it does not lose its charge No need to refresh every few milliseconds – therefore much faster as they don’t need refreshing. Does still need constant electricity supply. Faster but more expensive! Learning Objectives: (f) Describe cache memory (g) Describe flash memory (h) Discuss how changes in memory technologies are leading to innovative computer designs.

Memory 2 Flash Memory (Modern ROM chips and Memory Sticks!) Doesn’t need constant power supply to hold data. They work by sending a large electric current to force electrons through a barrier and trapping them in position. The flash of the electric current used to achieve this gives us the name for this type of memory. The different arrangement of electrons gives us data. Learning Objectives: (f) Describe cache memory (g) Describe flash memory (h) Discuss how changes in memory technologies are leading to innovative computer designs. E E EE EE E E Flash of Electric Current Electrons forced through barrier Arrangement of electrons read by computer

Memory 2 Flash Memory (AKA Solid State) (ROM chips and Memory Sticks!) Main secondary storage device in portable devices. Now-a-days the ROM is flash memory Constant rewriting can cause memory device decline and eventually failure – there are limitations to this type of storage in critical situations devices. Low cost but slower than RAM but is faster than magnetic hard disk so a good option for secondary storage in a PC. Learning Objectives: (f) Describe cache memory (g) Describe flash memory (h) Discuss how changes in memory technologies are leading to innovative computer designs.

Memory 2 The Future? Learning Objectives: (f) Describe cache memory (g) Describe flash memory (h) Discuss how changes in memory technologies are leading to innovative computer designs. TIME DRAM Dynamic SRAM Static ROM Non-Rewritable Non-Volatile Flash Rewritable Non-Volatile Small Storage Large wired transistors/capacitors Big enough to see with eyes Few Kb of data Large Storage Integrated Circuit Millions in the space of a cm 2 Terabytes of data Innovation has driven developments in memory What does the future have to offer?

Activity 2 Complete the ‘How is Data Stored in Computer Memory?’ document 30 minutes