───✱*.。:。✱*.:。✧*.。✰*.:。✧*.。:。*.。✱ ───

Memory Address Calculations

  • What is the largest memory starting at 17000016?
    • 17000016 in binary → 0001 0111 0000 0000 0000 0000(24 digits)
    • Largest total (address space) → 224=16,777,216bits
    • 17000016 in decimal → 1,507,328
    • Subtract start → 16,777,2161,507,328=15,269,888bits=14.5625megabytes

Chip Select

  • Find the memory device size for a chip select with 23 address lines and a bit pattern of 10010
    • Bit pattern → 10010
    • Low → 1001 0000 0000 0000 0000 00009000016
    • High → 1001 0111 1111 1111 1111 111197FFFF16
    • Memory space → 224=16MB
    • Memory device size → 97FFFF_1690000016+1=07FFFF16+1=524,288bits

Devices

  • How many 32K memories can be placed in a processor with 24 lines?
    • Total space → 224=16,777,216bits
    • Each device → 32KB=33,536bits
    • Number of devices → 16,777,216÷33,536=500

Active Low Chip Select

  • Design an active low chip select for the memory range 5800016 to 5FFFF16 and the memory space of 1MB
    • Memory range → 5800016 to 5FFFF16
    • Memory space → 1MB=220bits → 20 address lines
    • 58000160101 1000 0000 0000 0000
    • 5FFFF160101 11111 1111 1111 1111
    • Bit pattern → 01011

DRAM vs SRAM

  • Speed → SRAM is faster because DRAM has to refresh
  • Cost → DRAM is cheaper because it has less components
  • Density → DRAM because it has less components

Bus Signals

  • Writing from RAM to processor, what values do R and W have?
    • 𝑅=0,𝑅=1
    • 𝑊=1,𝑊=0

IPv4 Addressing

  • Class C IPv4 address → 24 bits for network, 8 bits for host
  • IE: 192.168.12.7
    • Subnet → 192.168.12.0
    • Host ID → 7
    • Broadcast → 192.168.12.255

───✱*.。:。✱*.:。✧*.。✰*.:。✧*.。:。*.。✱ ───