GoConqr has a new look! Let us know what you think.

Flashcards

Memory + Addressing Modes

SEZ McKelvey English 25 cards

Memory + Addressing Modes

Cards in this deck (25)

  1. 1What is the goal of memory and the 3 types?Efficiently store large amounts of data
    DRAM
    STRAM
    ROM
  2. 2How is memory structured?-Two dimensional array of bit cells, each ell stores one bit
    N address bits and M data bits
    2^N rows and M columns.
    Depth: number of rows/words
    Width: number of columns/word size
    Array size: depth * width
  3. 3What is a wordline?-Single row in memory array to be read or written
    -Only one wordline is HIGH at once
  4. 4What happens to the bitline on memory read?-If wordline is high, the stored bit drives the bitline value
    -If wordline is low, the stored bit should not affect the bitline
  5. 5What does memory consist of and what are the components of the interface between the CPU and memory?-Consists of latches, each holding a single bit value, at an address
    -Memory Address Register (MAR) (holds the open address, the CPU activates the address line)
    -MDR holds the activated data
  6. 6When do READ and WRITE occur?-When wordline = 1 and Read/write line = 1
    -When address line= 1 and read/write line =0
  7. 7Compare the characteristics of RAM and ROMRam:
    -Volatile and memory lost in power off
    -Dynamic RAM: dense but needs refreshing
    -Static RAM: less dense but more stable
    Rom:
    -Memory persists during power off
    -Modern ROM memory can be written to.
  8. 8Draw a diagram at the transistor level of DRAM. How often do the capacitors need refreshing?Draw a diagram at the transistor level of DRAM. How often do the capacitors need refreshing?
  9. 9Draw SRAM at the gate level.Draw SRAM at the gate level.
  10. 10How does basic ROM work? Draw a diagram.How does basic ROM work? Draw a diagram.
  11. 11How does programmable ROM work? darw its diagramHow does programmable ROM work? darw its diagram
  12. 12What is multi-ported memory?Memory that can address more than one address line at once
  13. 13What are SRAM, DRAM, SSD and HDD used for, approx process speeds, and why?SRAM is used for cache. v expensive, 1ns access time
    DRAM used for main memory. less expensive, 10ns access time
    SSD is cheaper, 100,000ns access time
    HDD cheapest, 10,000,000 access time
    SSD and HDD used for virtual memory
  14. 14What methods are used to improve memory access?-Wide path memory access (retrieve multiple bytes instead of one byte at a time)
    -Memory interleaving: partition memory into subsections, each with its own address register and data register
    -Cache memory
  15. 15What is Wide Path Memory Access?-Call up multiple bytes (often 8) at a time
    -Requires a wider memory-data bus and larger MDR
    -8 bytes can be separated/used in the CPU using more circuitry
    -Diminishing returns with more width due to less use and increased CPU complexity.
  16. 16What is memory interleaving?-Dividing memory into separate chunks that can be accessed simultaneously
    -Interleave, so consecutive addresses can be accecssed simultaneously
    -Useful for pipelining
  17. 17What is cache memory?-Preloading fastest memory with data most likey to use soon
    -Typically data near addresses recently accessed
    -Fastest memory is on the CPU itself, or SRAM.
  18. 18What is direct addressing?Address read in the instruction is the address of the actual data
  19. 19What is immediate addressing?Address read in the instruction is the data to be used (suitable for constants eg 1)
  20. 20What is indirect addressingAddress read in the instruction points to the memory location containing the address of the actual data
  21. 21What is register indirect addressingThee address read in the instruction is the address of a register containing the address of the actual data
  22. 22What is indexed addressingThe address read in the instruction should have an index value (contained in some register) added to obtain the address of the data
  23. 23What is absolute addressing?The address read is the one the LM should go to (except for indexed addressing)
  24. 24What is relative addressingThe address read is an offset to the current instruction address (ie program counter value)
  25. 25What is Base offset addressingThe address read is offset by the current value in a special 'base' register

Information

Description
Flashcards on Memory + Addressing Modes, created by SEZ McKelvey on 11/04/2018.
Created by
SEZ McKelvey
Views
3
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?