Question

In: Computer Science

Course: Computer Architecture Theme: Internal Memory What is parity bitHow do the following work: flash memory,...

Course: Computer Architecture
Theme: Internal Memory

What is parity bitHow do the following work: flash memory, STT-RAM, PCRAM, ReRAM?? What is Hamming code? Give examples.

Solutions

Expert Solution

What is parity bit :-

  • Parity bit is check bit which is used to add in block of data for error detection purposes and validate integrity of data.
  • The value of parity bit is 0 or 1. parity bit is checks for message block either it is eve or odd.
  • There are two tyeps of parity bits - Even parity and odd parity.
  • Even parity -- The total number of bits in message is made even.
  • Odd parity -- The total number of bits in message is made odd.
  • Error detection by adding parity bit --
  • Even parity bit-- if the number of 1s is even then the value of parity bit is 0 and if number of 1s is odd then value of parity bit is 1.
  • Odd parity bit -- If number of 1s is odd then the value of parity bit is 0 and if the number of 1s is even then value of parity bit is 1

Flash Mamory :-

  • When any bit information data is written to flash memory, the encoder circuits generates the parity bits and then add these parity bits to the k-bit information data and then create n-bit codeword.
  • After this process the code word is written in and stored o page of memory array.
  • In reading operation, the decoder circuits search errors in codeword and correct the bit if it has error.

STT-RAM :-

  • STT-RAM stands for Spin transfer torque access memory.
  • it is a nonvolatile memory known for its fast speed., small footprints and zero standby powers.

PCRAM :-

  • PCRAM stands for Phase change random access memory.  
  • It sotres the data by altering the state of matter from which the device is fabricated.
  • PCRAM has fast read access time and good data retention and high data density.
  • It has two state which include -- amorphous and crystalline.

ReRAM :-

  • RERAM stands for Resistive random access memory. and it is next generation memory under development.
  • ReRAM has lower read latency and faster write performance.
  • In reram, voltage is applied to material stack and change in the resistance that records data which is 0s and 1s in the memory .

Hamming code with example :-

  • Hamming code is used for error detection up to two bit immediate error and hamming code is a linear code and it is capable of single bit errors.
  • The source encode the message by adding redudant bits in the message in hamming code
  • The application of hamming code include -- Satellite, Computer memory, modems, open connectors and embedded processor.
  • Process of encoding a message using hamming code --
  • Hamming code calculate the total number of redundant bits.
  • then chec position of the redundant bits.
  • And after all calculate value of these redundant bits.
  • For example --  1,4,5,7,8
  • The above example is reffered as P1 at position 1 , p2 at position 2, and p3 at position 3.
  • The p1 is a parity bit for each data bits in position whose binary representation include 1 in less important position which do not include 1.like (4,5,7,8).

Related Solutions

Course: Computer Architecture Theme: Internal Memory What are the differences among EPROM, EEPROM? What is a...
Course: Computer Architecture Theme: Internal Memory What are the differences among EPROM, EEPROM? What is a DDR SDRAM? How does an SDRAM differ from a DRAM? What is burst mode? What do you understand by interleaved memory?
Computer Architecture Theme: External Memory Very briefly discuss flash memory?
Computer Architecture Theme: External Memory Very briefly discuss flash memory?
Course: Computer Architecture Theme: Internal Memory Draw the diagram of a typical 16 Mb DRAM (4M...
Course: Computer Architecture Theme: Internal Memory Draw the diagram of a typical 16 Mb DRAM (4M X 4) and explain its action. Draw the diagram of an SRAM cell and explain its action.
Computer Architecture Theme: External Memory Discuss the effectiveness of data striping in RAID 0 for the...
Computer Architecture Theme: External Memory Discuss the effectiveness of data striping in RAID 0 for the following two cases: A single process requests large data sets Multiple processes request several small sized data
Course: Computer Architecture (Theme: Input-Output) A computer consists of a processor and an I/O device D...
Course: Computer Architecture (Theme: Input-Output) A computer consists of a processor and an I/O device D connected to main memory M via a shared bus with a data bus width of one word. The processor can execute a max of 2 MIPS. An average instruction requires 5 machine cycles, 3 of which use the memory bus. A memory read/write operation uses 1 m/c cycle. Suppose that the processor is continuously executing “background” programs that require 96% of the instruction rate...
Computer Architecture Theme: External Memory (DISK/CD) Define rotational delay, access time and transfer time. Does the...
Computer Architecture Theme: External Memory (DISK/CD) Define rotational delay, access time and transfer time. Does the hard drive/CDROM run on CLV or CAV? Why is the capacity of DVD more than a CD?
Computer Architecture Theme: External Memory Very briefly define the seven RAID levels, providing information about stripe...
Computer Architecture Theme: External Memory Very briefly define the seven RAID levels, providing information about stripe size, synchronization, data transfer rate and their applications. (total less than a page)
Computer Architecture 1. Define what a "word" is in computer architecture: The size (number of bits)...
Computer Architecture 1. Define what a "word" is in computer architecture: The size (number of bits) of the address The total number of bits of an instruction (e.g. 16 bits) Word and width are synonymous. A word is the contents of a memory register. 2. What is the difference between a register’s width and a register’s address? (choose all that apply - there may be more than one correct answer) They are both the same! Address is the same for...
1. Describe the purpose of some components in Internal Memory of a computer. 2.  how Cache Memory...
1. Describe the purpose of some components in Internal Memory of a computer. 2.  how Cache Memory functions
A 64 bit computer uses a memory of 32KB. Work out the number of bits of...
A 64 bit computer uses a memory of 32KB. Work out the number of bits of AR, DR, PC, AC, and the HEX code of the address of last memory location. b) The memory attached to a processor has access time of 400ns. When a cache memory is introduced in the system, it is found that on average the access time for the computer was 30% greater than the cache access time for a miss ratio of 0.10. Work out...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT