Professional Documents
Culture Documents
Assignment-3 Skema
Assignment-3 Skema
1. (a) State the differences between Static RAM (SRAM) and Dynamic RAM (DRAM). Give
your answer in form of table.
Ans:
Refer Note
(b) Explain the following sentence.
“Nowadays DRAM is more popular compared to SRAM”
Ans:
Refer Note
(c) Explain the disadvantages of DRAM compared to SRAM
Ans:
Refer Note
Ans:
EPROM:
So,
Ending address = Starting address + size -1
Ending address = $000000 + $200000 – 1
= $1FFFFF
RAM:
So,
Staring address = Ending address - size +1
Starting address = $7FFFFF - $400000 + 1
= $400000
I/O:
So,
Ending address = Starting address + size -1
Ending address = $800000 + $040000 – 1
= $83FFFF
$000000
EPROM
$1FFFFF
$400000
RAM
$7FFFFF
$800000
I/O
$83FFFF
4. The memory size of a system is 32 MB. Assume the system has TWO (2) 8 MB RAM
residing consecutively at the top of the memory.
i. Calculate the starting and ending address of each block of memory.
ii. Draw a complete memory map of the system
Ans:
(i) MEMORY BLOCK:
Given size of System is 32MB, 32 x 2^20 = 33554432 (dec) 2000000(hex)
Knowing, the starting address is $0000000
So,
Ending address = Starting address + size -1
Ending address = $0000000 + $2000000 – 1
= $1FFFFFF
(ii) RAM 1:
Given size of RAM 1 is 8MB, 8 x 2^20 = 8388608 (dec) 800000(hex)
Starting address = $0000000
So,
Ending address = Starting address + size -1
Ending address = $0000000 + $800000 – 1
= $07FFFFF
RAM 2:
Given size of RAM 2 is 8MB, 8 x 2^20 = 8388608 (dec) 800000(hex)
Starting address = $7FFFFF + 1 = $800000
So,
Ending address = Starting address + size -1
Ending address = $800000 + $800000 – 1
= $0FFFFFF
$0000000
RAM 1
$07FFFFF
$0800000
RAM 2
$0FFFFFF
UNUSED
$1FFFFFF
5. Given the specification of a RAM is 8K x 4.
i. Find the number of address line.
ii. The total capacity that can store in the RAM.
Ans :
A chip 8K x 4 capacity (number of location in the chip) = 8K
Data = 4 bit
(i) The number of address line is relies on total location in the chip, 2n = Number of location
2n = 8K
= 8 x 210 = 8 x 1024
n
2 =8192
log 2n = log 8192
n = log 8192
log 2
n = 13 lines (A0 – A12)
Size of ROM:
Size of I/O:
(A0-A15)
Step 5: Draw the connection of the address decoder for this system.
D0-D7
µP
A0-A13 A0-A13 A0-A13
A14-
EPROM 1 EPROM 2 EPROM 3 EPROM 4
A15
Address
Decoder