Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Dynamic RAM:
Dynamic RAMs are fabricated using MOS technology and are noted for their high capacity, low power requirement,
and moderate operating speed. DRAMs store 1s and 0s as charges on a small MOS capacitor. Because of the
tendency for these charges to leak off after a period of time, DRAMs require periodic recharging of the memory cells,
this is called refreshing. Each memory cell must be refreshed typically every 2, 4 or 8ms, or its data will be lost.
The need for refreshing is a drawback of dynamic RAM as compared to static RAM. Designing with and using DRAM
in a system is more complex than with SRAM. But because of their simple cell structure, DRAMs typically have four
times the density of SRAMs. Hence, DRAMs are the memory of choice in systems where the most important design
considerations are keeping down size, cost and power.
For applications where speed and reduced complexity are more critical than cost, space and power considerations,
static RAMs are still the best. They are generally faster than dynamic RAMs and require no refresh operation.
SW4
Lec-13, Pg-01 In case of any query or suggestion please contact Sazzad, Lecturer, APECE, DU (url: sazzadmsi.webs.com)
`~ivjvcbx t Telephone :
wc,G,we,G·, 9661920-73/4980 PABX : 9661920-73/4980
RAS
CAS
Hi-Z Data
DATA OUT
valid
t1 t2 t3 t4 t5
t0
Fig.: Signal activity for a read operation on a dynamic RAM.
Assuming R/ W is in its HIGH state throughout the operation, the step-by-step description of read operation is –
t0: MUX is driven LOW to apply the row address bits (A0 to A6) to the DRAM address inputs.
t1: RAS is driven LOW to load the row address into the DRAM.
t2: MUX goes HIGH to place the column address (A7 to A13) at the DRAM address inputs.
Lec-13, Pg-02 In case of any query or suggestion please contact Sazzad, Lecturer, APECE, DU (url: sazzadmsi.webs.com)
`~ivjvcbx t Telephone :
wc,G,we,G·, 9661920-73/4980 PABX : 9661920-73/4980
t3: CAS goes LOW to load the column address into the DRAM.
t4: The DRAM responds by placing valid data from the selected memory cell onto the DATA OUT line.
t5: MUX, RAS , CAS and DATA OUT return to their initial states.
Write Cycle –
MUX
RAS
CAS
R /W
Hi-Z Data
DATA OUT
valid
t0 t1 t2 t3 t4 t5 t6 t7
Lec-13, Pg-03 In case of any query or suggestion please contact Sazzad, Lecturer, APECE, DU (url: sazzadmsi.webs.com)
`~ivjvcbx t Telephone :
wc,G,we,G·, 9661920-73/4980 PABX : 9661920-73/4980
AB3
AB2 Address
AB1 bus
AB0
R /W
CS
A3 A2 A1 A0 A3 A2 A1 A0
R /W RAM-0 R /W RAM-1
16x4 16x4
CS CS
DB7
DB6
DB5
DB4 Data
bus
DB3
DB2
DB1
DB0
Fig.: Combining two 16x4 RAMs for a 16x8 module.
Figure shows the configuration how two 16x4 memory chips with common I/O lines can be combined to produce a
memory that can store 16 eight-bit words.
RAM-0 stores the four higher-order bits of each of the 16 words, and RAM-1 stores the four lower-order bits of each
of the 16 words. A full eight-bit word is available at the RAM outputs connected to the data bus.
Any one of the 16 words is selected by applying the appropriate address code to the four-line address bus (AB3, AB2,
AB1, AB0). Since the address inputs are common, the same location in each chip is accessed at the same time.
To read, first the address is selected and then R/ W must be high and CS must be low. This causes RAM I/O lines
to act as outputs. RAM-0 places its selected four-bit word on the upper four data bus lines and RAM-1 places its
selected four-bit word on the lower four data bus lines. The data bus then contains the full selected eight-bit word,
which can now be transmitted to some other device.
Lec-13, Pg-04 In case of any query or suggestion please contact Sazzad, Lecturer, APECE, DU (url: sazzadmsi.webs.com)
`~ivjvcbx t Telephone :
wc,G,we,G·, 9661920-73/4980 PABX : 9661920-73/4980
AB4
AB3
Address
AB2
bus
AB1
AB0
R /W
A3 A2 A1 A0 A3 A2 A1 A0
R /W RAM-0 R /W RAM-1
16x4 16x4
CS CS
DB3
DB2 Data
DB1 bus
DB0
Fig.: Combining two 16x4 chips for a 32x4 memory.
When AB4=0, the CS of RAM-0 enables this chip for read or write. Then any address location in RAM-0 can be
accessed by AB3 through AB0. Thus the range of addresses representing locations in RAM-0 is –
AB4AB3AB2AB1AB0 = 00000 to 01111.
The CS of RAM-1 is high, so that its I/O lines are disabled and cannot communicate with the data bus.
When AB4=1, it enables RAM-1 for read or write and disables RAM-0. Then any address location in RAM-1 can be
accessed by AB3 through AB0. Thus the range of addresses representing locations in RAM-1 is –
AB4AB3AB2AB1AB0 = 10000 to 11111.
[Ref.: Digital Systems Principles and Applications, R.J. Tocci and N.S. Widmer]
Lec-13, Pg-05 In case of any query or suggestion please contact Sazzad, Lecturer, APECE, DU (url: sazzadmsi.webs.com)
`~ivjvcbx t Telephone :
wc,G,we,G·, 9661920-73/4980 PABX : 9661920-73/4980
A
B
C
A
B
C
Y
A
B
C
A
B
C
Fig.: Fixed logic circuit.
Figure shows a simple logic circuit comprising four three-input AND gates and a four-input OR gate.
This circuit produces an output that is the sum output of a full adder. Here, A and B are the two bits to be added and
C is the carry-in bit.
It is a fixed logic device as the circuit is unalterable from outside owing to fixed interconnections between the various
building blocks.
(2) Programmable Logic Devices:
+V
A
B
C
+V
Y
+V
+V
Lec-13, Pg-06 In case of any query or suggestion please contact Sazzad, Lecturer, APECE, DU (url: sazzadmsi.webs.com)
`~ivjvcbx t Telephone :
wc,G,we,G·, 9661920-73/4980 PABX : 9661920-73/4980
The function to be performed by a programmable logic device is undefined at the time of its manufacture.
These devices can be configured by the user to perform a large variety of logic functions.
It offers to the user a wide range of logic capacity which can be configured by the user to perform the intended
function or set of functions. This configuration can be modified or altered any number of times by the user by
reprogramming the device.
Figure shows the logic diagram of a simple programmable device.
The device has an array of four six-input AND gates at the input and a four-input OR gate at the output. Each AND
gate can handle three variables A, B and C. The three variables or their complements can be programmed to appear
at the inputs of any of the four AND gates through antifuses. Thus each AND gate can produce the desired three-
variable product term.
Thus the circuit could be programmed to produce the sum output resulting from the addition of three bits or to
produce difference outputs resulting from subtraction of two bits with a borrow-in.
[Ref.: Digital Electronics Principles, Devices and Applications, Anil K. Maini]
Lec-13, Pg-07 In case of any query or suggestion please contact Sazzad, Lecturer, APECE, DU (url: sazzadmsi.webs.com)