1 / 18

Memory Key component of a computer system is its memory system to store programs and data.

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 Modification date: April 15, 2014. Requirements

diamond
Download Presentation

Memory Key component of a computer system is its memory system to store programs and data.

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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 Modification date: April 15, 2014

  2. Requirements Able to store accessible binary words (patterns of 0’s and 1’s) by electrical, magnetic or other means. For storing programs currently being executed and storing associated data, need to be able to access any storage location in the memory at will in any order with high speed, i.e. memory must be random access memory (RAM). For data, need capability of both reading and writing information. For program execution, the capability of reading sufficient. 5. Usually some of the memory at least must be non-volatile, i.e. the information is not lost when the power is removed.

  3. Memory Hierarchy • Historically, memory organized in levels of decreasing speed but decreasing cost/bit: • Cache memory relatively small semiconductor memory operating at a speed that matches the processor • Main memory – semiconductor random access memory • Disk memory – not random access but not volatile. • CD drives, tape drives, … – not random access but not volatile.

  4. Semiconductor RAM Memory bus Memory chips These are very old memories – new ones are similar in concept. Above actually shows the two organizations, see next.

  5. Semiconductor Memory Organizations x 1 organization Each chip organized to hold one bit of each word.

  6. Semiconductor Memory Organizations x n organization Each chip organized to hold n bits of each word, where n is usually 4 or 8.

  7. Types of Semiconductor (RAM) Memory Cells • Two basic types devised: • Static RAM (SRAM) • Dynamic RAM (DRAM) • Static RAM faster operation than dynamic RAM (around 10 times faster) but requires more internal components (see next). • Hence DRAM has more memory cells in chip (around 4-8 times capacity). • Usually main memory is dynamic and cache memory usually static.

  8. Static RAM Each cell - an S-R flip-flop formed with pair of cross-coupled gates. Two complementary column lines used also to read stored value (Q/ Q) and write new values (Q/Q operating as S/R).

  9. Static RAM Memory Cell Circuit Design requires 4 or 6 transistors and two column select lines per column. Do not worry about its operation. Key point is number of components.

  10. Dynamic RAM cell circuit Each memory cell uses a capacitor to store charge. Two states, charged and not charged represent the two binary values 0 and 1. Less components, higher memory density. Usual design: Because charge will decay, memory cell must be refreshed periodically, typically every 2-4 ms. Refresh consists of reading data and rewriting it. Usually done automatically within chip.

  11. Asynchronous dynamic random access memory Original (1970’s) DRAM - “Asynchronous” - memory operation not synchronized to processor clock - processor makes request for a memory location and waits whatever time it takes to access location. Asynchronous dynamic random access memory (DRAM) operates with access times of 50-70 ns. (originally 100-150 ns). Access time - time to select memory location and obtain stored information or write new information. 1ns = 10-9seconds

  12. Synchronous DRAM (SDRAM) Introduced in the last few years replacing original asynchronous DRAM but still using same basic dynamic memory cell design. Access time of memory cell essentially the same. Speed improvement obtained by synchronizing memory operation with processor and a burst mode in which a group of sequential locations accessed one after the other at high speed after an initial read/write latency. Synchronous DRAM (SDRAM) Performance- Now measured in clock frequency as well as in nanoseconds. Example- 100 Mhz (or 10 ns) SDRAM This does not mean that the access time is 10 ns - in burst mode, a group of consequent locations can accessed at 10 ns intervals.

  13. Other Types of Semiconductor Memory Read-Only Memory (ROM) Memory cells store binary values which can only be read during normal operation. Binary values established either during manufacture of device or subsequently depending upon type of ROM. This memory is still random access. Key feature - memory is non-volatile, that is, information not lost when power removed and can be obtained after power returned. Very useful for bootstrap programs - small necessary programs that are executed when the computer is turned on to start the computer.

  14. General Arrangement of ROMs

  15. Types Read-Only Memory Several types: Fixed Read-Only Memory (ROM) Memory cells store fixed binary values permanently - as defined during manufacture.

  16. Erasable Programmable Read-Only Memory (EPROM) Memory cells stores fixed binary values but can be altered by user. Based upon storing and releasing stored charge within selected memory cells. (Charge remains for maybe 10 years if not released.) Can be re-programmed with different data. Normally not altered while used as normal memory of the computer. First need to erase information and then re-write required information.

  17. UV EPROM Original EPROM (1970’s) -- Erasure done by shining ultra violet light thro window in chip which releases charge in entire memory. Then, writing done electrically. Electrically Erasable Programmable Read-Only Memory (EEPROM) More recent EPROM in which the information can be removed by electrical means as well as writing. Still this is not done in normal computer operation. Flash memory - a version of EEPROM in which the entire memory is erased electrically rather than individual bytes.

  18. Questions

More Related