<< Chapter < Page Chapter >> Page >

1. Semiconductor Main Memory

The basic element of a semiconductor memory is the memory cell. There are a lot of semiconductor memory types shown in table 11.1

Table 11.1 Semiconductor Memory Types

RAM: Read-write memory

The two basic forms of semiconductor Random Access Memory (RAM) are dynamic RAM (DRAM) and static RAM (SRAM). SRAM is faster, more expensive and less dense than DRAM. DRAM is usually used for main memory.

  • Dynamic RAM

- Storage cell is essentially a transistor acting as a capacitor

- Capacitor charge dissipates over time causing a 1 to flip to a zero

- Cells must be refreshed periodically to avoid this

- Very high packaging density

  • Static RAM: It is basically an array of flip-flop storage cells

- Uses 5-10x more transistors than similar dynamic cell so packaging density is 10x lower

- Faster than a dynamic cell

ROM : Read Only Memories

A Read only Memory (ROM) contain a permanent of data that canot be changed.

- “Permanent” data storage

- ROMs: Data is “wired in” during fabrication at a chip manufacturer’s plant

- Purchased in lots of 10k or more

  • PROMs: Programmable ROM

- Data can be written once by the user employing a PROM programmer

- Useful for small production runs

  • EPROM: Erasable PROM

- Programming is similar to a PROM

- Can be erased by exposing to UV light

  • EEPROMS: Electrically erasable PROMs

- Can be written to many times while remaining in a system

- Does not have to be erased first

- Program individual bytes

- Writes require several hundred usec per byte

- Used in systems for development, personalization, and other tasks requiring unique information to be stored

  • Flash Memory: Similar to EEPROM in using electrical erase

- Fast erasures, block erasures

- Higher density than EEPROM

2. memory organization

2.1 memory organization from the memory chip

Each memory chip contains a number of 1-bit cells. The 1, 4, and 16 million cell chips are common. The cells can be arranged as a single bit column (e.g., 4Mx1) or in multiple bits per address location (e.g., 1Mx4)

- To reduce pin count, address lines can be multiplexed with data and/or as high and low halves Trade off is in slower operation

  • Typical control lines:

W* (write), OE* (output enable) for write and read operations

CS* (chip select) derived from external address decoding logic

RAS*, CAS* (row and column address selects) used when address is applied to the chip in 2 halves

  • Example:

Figure 11.1 Organization 256Kx8 memory from 256Kx1 chips

Figure 11.2 . Mbyte Memory Organization

2.2 error correction

  • Problem: Semiconductor memories are subject to errors

– Hard (permanent) errors

» Environmental abuse

» Manufacturing defects

» Wear

– Soft (transient) errors

» Power supply problems

» Alpha particles: Problematic as feature sizes shrink

– Memory systems include logic to detect and/or correct errors

» Width of memory word is increased

» Additional bits are parity bits

» Number of parity bits required depends on the level of detection and correction needed

  • General error detection and correction

– A single error is a bit flip -- multiple bit flips can occur in a word

– 2M valid data words

– 2M+K codeword combinations in the memory

– Distribute the 2M valid data words among the 2 M+K codeword combinations such that the “distance” between valid words is sufficient to distinguish the error

Figure 11.3

  • Single error detection and correction

– For each valid codeword, there will be 2K-1 invalid codewords

– 2K-1 must be large enough to identify which of the M+K bit positions is in error

– Therefore 2K-1>M+K

» 8-bit data, 4 check bits

» 32-bit data, 6 check bits

– Arrange bits as shown in Figure 11.4

Figure 11.4

– Bit position n is checked by bits Ci such that the sum of the subscripts, i, equals n (e.g., position 10, bit M6, is checked by bits C2 and C8)

To detect errors, compare the check bits read from memory to those computed during the read operation (use XOR)

+ If the result of the XOR is 0000, no error

+ If non-zero, the numerical value of the result indicates the bit position in error

+ If the XOR result was 0110, bit position 6 (M3) is in error

Double error detection can be added by adding another check bit that implements a parity check for the whole word of M+K bits. SED and SEC-DED are generally enough protection in typical systems

Questions & Answers

I'm interested in biological psychology and cognitive psychology
Tanya Reply
what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
What would be the best educational aid(s) for gifted kids/savants?
Heidi Reply
treat them normal, if they want help then give them. that will make everyone happy
Saurabh
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Computer architecture. OpenStax CNX. Jul 29, 2009 Download for free at http://cnx.org/content/col10761/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Computer architecture' conversation and receive update notifications?

Ask