Results (
Thai) 1:
[Copy]Copied!
A common question many people ask is “why are there so many different types ofcomputer memory?” The answer is that new technologies continue to be introducedin an attempt to match the improvements in CPU design—the speed ofmemory has to, somewhat, keep pace with the CPU, or the memory becomes abottleneck. Although we have seen many improvements in CPUs over the pastfew years, improving main memory to keep pace with the CPU is actually not ascritical because of the use of cache memory. Cache memory is a small, highspeed(and thus high-cost) type of memory that serves as a buffer for frequentlyaccessed data. The additional expense of using very fast technologies for memorycannot always be justified because slower memories can often be “hidden” byhigh-performance cache systems. However, before we discuss cache memory, wewill explain the various memory technologies.Even though a large number of memory technologies exist, there are only twobasic types of memory: RAM (random access memory) and ROM (read-onlymemory). RAM is somewhat of a misnomer; a more appropriate name is readwritememory. RAM is the memory to which computer specifications refer; ifyou buy a computer with 128 megabytes of memory, it has 128MB of RAM.RAM is also the “main memory” we have continually referred to throughout thisbook. Often called primary memory, RAM is used to store programs and data thatthe computer needs when executing programs; but RAM is volatile, and loses thisinformation once the power is turned off. There are two general types of chipsused to build the bulk of RAM memory in today’s computers: SRAM and DRAM(static and dynamic random access memory).Dynamic RAM is constructed of tiny capacitors that leak electricity. DRAMrequires a recharge every few milliseconds to maintain its data. Static RAM technology,in contrast, holds its contents as long as power is available. SRAM consistsof circuits similar to the D flip-flops we studied in Chapter 3. SRAM isfaster and much more expensive than DRAM; however, designers use DRAMbecause it is much denser (can store many bits per chip), uses less power, andgenerates less heat than SRAM. For these reasons, both technologies are oftenused in combination: DRAM for main memory and SRAM for cache. The basicoperation of all DRAM memories is the same, but there are many flavors, includingMultibank DRAM (MDRAM), Fast-Page Mode (FPM) DRAM, ExtendedData Out (EDO) DRAM, Burst EDO DRAM (BEDO DRAM), SynchronousDynamic Random Access Memory (SDRAM), Synchronous-Link (SL) DRAM,Double Data Rate (DDR) SDRAM, and Direct Rambus (DR) DRAM. The differenttypes of SRAM include asynchronous SRAM, synchronous SRAM, andpipeline burst SRAM. For more information about these types of memory, referto the references listed at the end of the chapter.In addition to RAM, most computers contain a small amount of ROM (readonlymemory) that stores critical information necessary to operate the system,such as the program necessary to boot the computer. ROM is not volatile andalways retains its data. This type of memory is also used in embedded systems orany systems where the programming does not need to change. Many appliances,toys, and most automobiles use ROM chips to maintain information when thepower is shut off. ROMs are also used extensively in calculators and peripheraldevices such as laser printers, which store their fonts in ROMs. There are fivebasic different types of ROM: ROM, PROM, EPROM, EEPROM, and flashmemory. PROM (programmable read-only memory) is a variation on ROM.PROMs can be programmed by the user with the appropriate equipment. WhereasROMs are hardwired, PROMs have fuses that can be blown to program the chip.Once programmed, the data and instructions in PROM cannot be changed.EPROM (erasable PROM) is programmable with the added advantage of beingreprogrammable (erasing an EPROM requires a special tool that emits ultravioletlight). To reprogram an EPROM, the entire chip must first be erased. EEPROM(electrically erasable PROM) removes many of the disadvantages of EPROM: nospecial tools are required for erasure (this is performed by applying an electricfield) and you can erase only portions of the chip, one byte at a time. Flash memoryis essentially EEPROM with the added benefit that data can be written orerased in blocks, removing the one-byte-at-a-time limitation. This makes flashmemory faster than EEPROM.
Being translated, please wait..
