The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+19 votes
4k views

The main memory unit with a capacity of $4$ $\text{megabytes}$ is built using $1M \times$ $\text{1-bit}$ DRAM chips. Each DRAM chip has 1K rows of cells with $1K$ cells in each row. The time taken for a single refresh operation is $100$ $\text{nanoseconds}$. The time required to perform one refresh operation on all the cells in the memory unit is

  1. $100$ nanoseconds
  2. $100\times 2^{10}$ nanoseconds
  3. $100\times 2^{20}$ nanoseconds
  4. $3200\times 2^{20}$ nanoseconds
asked in Digital Logic by Veteran (101k points)
edited by | 4k views
+1
Are both ram and rom not in syllabus anymore?
0

ans of this is given as 3200×220 nanosesonds  in many coaching materials.....

+1

memory interfacing is removed from 2016 onwards so this is out of syllabus :)

https://gatecse.in/gate-cse-2016-syllabus/

0
You sure bro?
+1
if they cheat on us they might give but they themselves declared :P read from the link
+2
It is in syllabus, similar question was asked in GATE-2018

1 Answer

+33 votes
Best answer

There are 4*8 = 32 DRAM chips to get 4MB from 1M $\times$ 1-bit chips. Now, all chips can be refreshed in parallel so do all cells in a row. So, the total time for refresh will be number of rows times the refresh time

$= 1K \times 100$

$= 100 \times 2^{10}$ nanoseconds

Reference: http://www.downloads.reactivemicro.com/Public/Electronics/DRAM/DRAM%20Refresh.pdf

answered by Veteran (357k points)
edited by
0
Can the chips be refreshed parallely?  In one of the book i find the solution as 3200*2^20
+3
https://en.wikipedia.org/wiki/Memory_refresh#How_DRAM_refresh_works

This wikipedia page clearly says that en entire row of DRAM is refreshed at once. So, 3200*2^20 can never be the answer.

Now, whether 3200 * 2^10 be the answer- there seems no logical reason as to why 4 different DRAM chips be refreshed in parallel. This not being in choice also proves this fact.
+1
0

I thought it'd be C, but then refreshing the entire row at once brings it down to 210

0

"There are 4*8 = 32 DRAM chips to get 4MB from 1M × 1-bit chips" will you brief this ?

+1
@Arjun we are taking 32 (1M x1) DRAM in a single row ?
0
did you get the answer to this question?
0
Are we considering all the 32 chips in single row?
+3
This is not in course anymore right?
0
is it not??
+1
ram and memory interfacing is removed I guess
–1
But in geeksforgeeks they have given answer as 3200*2^20

I am getting both of the options "B" as well as "D"

"D" is the case when all are refreshed serially. So for one chip the total time taken for refresh (serially not parallel) will be 100*2^20 and for 32 such chips the total time will be 3200*2^20.

Which one of them is correct?
+5

@rama @praveen sir and @ayushi

Yes, Here we consider all 32 chips are in a single row . 

Each row of memory module gets refreshed at once and with each cycle we can refresh 1 row of each chip at once.

  • For a refresh, only the row address is needed, so a column address doesn't have to be applied to the chip address circuits. [1]
  • During a memory refresh cycle, all memory chips are enabled so that memory refresh is performed on every chip in the memory module simultaneously [2]. 

Also see the problem specified in Memory Refresh Period in 2nd Reference . There are 4 * 8= 32 dynamic RAM's but as all dynamic RAM's are placed in a single row so they consider only number of rows ( that is 64 ) while calculating the memory time spent on refresh.  [ Almost same as this question ] 

  • References
  1.  https://en.wikipedia.org/wiki/Memory_refresh#How_DRAM_refresh_works
  2. http://www.electronics.dit.ie/staff/tscarff/memory/dram-control.htm

Also, option D i.e. 3200×220  can not be the answer, as 1K row = 210 rows , so when for one chip the total time taken for refresh 100 * 210 for 32 chips it would be 32 * 100 * 210 = 3200 * 210  which NOT in option also . In option we have 3200 * 220  so Option D can not be the answer ..

Hence B is the correct Answer .

0
To create a 4MB memory unit using 1Mx1-bit chips we need to have 4 rows of such chips, and in each rows 8 such chips. Now, each such chip has 1K rows of cells. So, how can we refresh all cells in parallel?


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

39,512 questions
46,665 answers
139,708 comments
57,484 users