Session - 20 21 - RAM Memory Decoding
Session - 20 21 - RAM Memory Decoding
To familiarize students with the basic concept of Random Access Memory (RAM) and Memory Decoding
INSTRUCTIONAL OBJECTIVES
LEARNING OUTCOMES
• The equivalent logic of a binary cell that stores 1-bit of information is shown below, which
performs operations based on read/write.
𝟒 × 𝟒 RAM
Memory decoding
• There is a need for decoding circuits to select the memory word specified by the input address.
• During READ operation, the 4 – bits of selected “word” go through OR gates to the output.
• During WRITE operation, the data available in the input lines are transferred into the binary cells
of the selected word.
• A memory with 2𝑘 words of “n” bits per word requires “k” address lines that go in to 𝐾 × 2𝑘
decoder.
SUMMARY
• RAM is used in computers for the temporary storage of programs and data
• By using the READ and WRITE operations, the contents of the RAM address locations will be
read from and written to during the execution of a program by computer
• Memory decoding plays an important role in memory devices like RAM and ROM
• Selects a specific memory location based on address provided by CPU or a control unit
SELF-ASSESSMENT QUESTIONS
2. WRITE operation is
(a) input
(b) output
(c) Transfer-in
(d) Transfer-out
SELF-ASSESSMENT QUESTIONS
(a) DRAM
(b) SRAM
(c) Flash Memory
(d) ROM
TERMINAL QUESTIONS
Reference Books:
1. Computer System Architecture by M. Moris Mano
2. Fundamentals of Digital Logic with Verilog HDL by Stephen Brown and ZvonkoVranesic