35
10.2 Characteristics of Computer Memory • RAM provides random access • Most RAM is volatile

10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

  • View
    218

  • Download
    1

Embed Size (px)

Citation preview

Page 1: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.2 Characteristics of Computer Memory

• RAM provides random access

• Most RAM is volatile

Page 2: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.3 Static and Dynamic RAM Technologies

• Static RAM– The miniature circuit contains many transistors

that operate continuously

• Dynamic RAM– Uses a circuit that acts like a capacitor– An external refresh circuit must periodically

read the data value and write it back again

Page 3: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile
Page 4: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

From Essentials of Computer Architecture by Douglas E. Comer. ISBN 0131491792. © 2005 Pearson Education, Inc. All rights reserved.

Page 5: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.4 Measures of Memory Technology

• Density– Tends to double approximately every 18

months.

• Latency and Cycle times– The time required to fetch information differs

from the time required to store information.

Page 6: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.7 Latency and Memory Controllers

• Latency is an insufficient measure of performance

• A performance measure needs to measure the time required for successive operations

Page 7: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

From Essentials of Computer Architecture by Douglas E. Comer. ISBN 0131491792. © 2005 Pearson Education, Inc. All rights reserved.

Page 8: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

Two Separate measures

• The read cycle time (tRC)

• The write cycle time (tWC)

Page 9: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.8 Synchronized Memory Technologies

• The clock pulses used with the memory system are aligned with the clock pulses used to run the processor.

• SDRAM– Synchronized Dynamic RAM

• SSRAM– Synchronized Static RAM

Page 10: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.9 Multiple Data Rate Memory Technologies

• Double data rate

• Quadruple data rate

Page 11: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

From Essentials of Computer Architecture by Douglas E. Comer. ISBN 0131491792. © 2005 Pearson Education, Inc. All rights reserved.

Page 12: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.12 Memory Access and Memory Bus

• A memory controller provides the interface between a physical memory and a processor that uses the memory

• To achieve high performance, memory systems use parallelism

Page 13: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

From Essentials of Computer Architecture by Douglas E. Comer. ISBN 0131491792. © 2005 Pearson Education, Inc. All rights reserved.

Page 14: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.13 Memory Transfer Size

• The parallel connections define a memory transfer size

Page 15: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.14 Physical Address and Words

• Each word of physical memory is assigned a unique number known as a physical memory address

Page 16: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

From Essentials of Computer Architecture by Douglas E. Comer. ISBN 0131491792. © 2005 Pearson Education, Inc. All rights reserved.

Page 17: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.16 Word Size and Other Data Types

• The word size is chosen as a compromise between performance and varies costs.

Page 18: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.17 An Extreme Case:Byte Addressing

• Two important consequences– Byte addressing requires more addresses– The memory controller must support byte

transfer

Page 19: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

From Essentials of Computer Architecture by Douglas E. Comer. ISBN 0131491792. © 2005 Pearson Education, Inc. All rights reserved.

Page 20: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

From Essentials of Computer Architecture by Douglas E. Comer. ISBN 0131491792. © 2005 Pearson Education, Inc. All rights reserved.

Page 21: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.19 Using Powers of Two

• Word address can be computed by extracting everything except the two low order bits.

Page 22: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

From Essentials of Computer Architecture by Douglas E. Comer. ISBN 0131491792. © 2005 Pearson Education, Inc. All rights reserved.

Page 23: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.20 Byte Alignment and Programming

• Aligning data on boundaries that corresponding to the physical word size can improve program performance.

Page 24: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

From Essentials of Computer Architecture by Douglas E. Comer. ISBN 0131491792. © 2005 Pearson Education, Inc. All rights reserved.

Page 25: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.22 Programming with Word Addressing

• On a processor that uses word addressing, software must handle the details of byte manipulation

• To optimize software performance, logical shifts and bit masking are used to manipulate an address

Page 26: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.23 Measures of Memory Size

• Physical memory is organized into a set of M words that each contain N bytes.

• To make controller hardware efficient, M and N are each chosen to be powers of two

Page 27: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

From Essentials of Computer Architecture by Douglas E. Comer. ISBN 0131491792. © 2005 Pearson Education, Inc. All rights reserved.

Page 28: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

From Essentials of Computer Architecture by Douglas E. Comer. ISBN 0131491792. © 2005 Pearson Education, Inc. All rights reserved.

Page 29: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

From Essentials of Computer Architecture by Douglas E. Comer. ISBN 0131491792. © 2005 Pearson Education, Inc. All rights reserved.

Page 30: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.26 Indirection and Indirect Operands

• Because the operand specifies indirection, the processor treats the resulting value as an address in memory

Page 31: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.27 Memory Banks and Interleaving

• Instead of a single memory and a single controller, the processor connect to multiple memory banks that each has its own controller.

• Interleaving spreads consecutive bytes of memory across separate physical memory modules

Page 32: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

From Essentials of Computer Architecture by Douglas E. Comer. ISBN 0131491792. © 2005 Pearson Education, Inc. All rights reserved.

Page 33: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.28 Content Addressable Memory

• A Content Addressable Memory includes hardware for high speed searching.

• A search key is the same size as a slot in the CAM

• Each slot contains hardware that performs the comparison

Page 34: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

From Essentials of Computer Architecture by Douglas E. Comer. ISBN 0131491792. © 2005 Pearson Education, Inc. All rights reserved.

Page 35: 10.2 Characteristics of Computer Memory RAM provides random access Most RAM is volatile

10.29 Ternary CAM

• A Ternary CAM only performs the match on bits that have the value zero or one.