Memories Through Questions
Memories Through Questions
(a) RAM
(b) ACM
RAM is the random access memory or read/write memory. One can read and write in
RAM.
ROM is the read only memory. One can only read from ROM nothing
can be written in it.
RAM is of two types:
(a) SRAM
(b) DRAM
SRAM is also known as static RAM. In SRAM data will remain stored permanently as
long as power is supplied, they need not required rewriting periodically the data. The
basic cell is SRAM is a flip-flop.
DRAM is also known as dynamic RAM. In DRAM rewriting periodically the data into
memory is required. The basic cell in DRAM is a capacitor.
ROM is of four types:
(b) PROM
(c) EPROM V
(d) EEPROM V
1
In masked ROM the data is stored permanently through photomasking during fabrication
i.e. programming is done through masking and metalization process.
PROM is the programmable read only memory. it is programmed using PROM-
programmer and once the data is programmed (i.e. written) cannot be rewrite or changed
again.
EPROM is the erasable programmable read only memory. The user can erase and
programme this memory again and again. The EPROM is erased by exposing the
chip from inside via window at the top to ultra violet light.
EEPROM is the electrically erasable. programmable read only memory. its function is
similar to EPROM but instead UV light the data can be erased using electrical signals.
PLAs are programmable logic arrays in which AND-OR gate arrays are used and
programmed for specific logic functions.
PLDs are the programmable logic devices. There are of three types
(a) PAL
(b) PLA
PAL are the programmable array logic in which AND gate arrays are programmable and
OR gate arrays are fixed.
FPGA is the field programmable gate array. It consists of logic blocks
i.e. an array of circuit elements.
CAM is the content addressable memory and is a special type of RAM
which can be accessed by searching for data content.
CAM can perform read, write and associate operations.
CCD is a charge coupled device memory which make use of MOS as a
capacitor to shift and store digital information. MOS capacitor acts as a
dynamic shift register.
2
When base of transistor is not connected with a row no current flows to the
base and it represents a storage of logic ‘0’. On the other hand, when base is
connected the flowing to the base of transistor and it represents a storage of
logic ‘1’.
Ans. These gives the logical sum terms of output from AND arrays as shown
in fig.
Here ‘X’ are the fuse links used in diagrams. The interconnections without ‘X’
are unplugged fuses or blown off fuse links.
Ans.
3
Q 4. Implement the boolean function using PAL.
Ans. Let the input variables are A, B and C. The K-map minimization is as
shown:
4
Q 5. Design half adder circuit using PLA.
Carry = C = AB.
present once does not change even after the power is switched off is called
as non-volatile memory.
5
Q 7. What are the advantages of static RAM over Dynamic RAM?
1. Access time of SRAM is less and thus these memories are faster
memories.
3. Less number of memory cells are required in SRAM for unit area.
Q 8. What is EEPROM?
Q 9. What is PAL?
with OR arrays fixed and AND arrays programmable. Because only AND
gates are
6
Q 10. What is cache memory?
Ans. PAL: It is called programmable array logic. It makes use of AND array
only as a programmable but OR array is fixed.
PLA: It is called programmable logic array. Its AND or OR array both are
programmable. Both PAL and PLA are used for memory purposes.
Ans.
7
Q 13 What do you mean by PLD’s?
Ans. PLDs: Programmable logic devices are the special type of IC’s used by
the USE and are programmed before use Different type of logic functions can
be implemented using a single programmed IC chip of PLD’s. PLD s can be
reprogrammed because these are based on re-.writable memory
technologies Fuse links are used to programmed the PLD b the user
according to the type of PLD to be manufactured
Ans PLA is Programmable Logic Array It is used where the number of don’t
care conditions are excessive In PLA’s both AND and OR arrays are
programmable The ANI and OR gates are fixed for any PLA chip It depends
on the number of inputs and outputs of PLA
8
Q 15. What is programmable logic array? How it differs from ROM?
Ans. Programmable logic array are those in which AND and OR arrays are
programmable. The AND and OR gates are fixed by any PLA chip. It depends
on the number of inputs and outputs of PLA.
Ans.
9
Q 17. Features of content accessible memories.
2. CAM can perform three basic operations: Read, write and associate.
4. Compact circuits can be built using PLA’s, which covers less space.
10
4. Characterize based on Fabrication Technology.
Ans.
2. Physical dimensions
3. Packing of memory
4. Power consumption
5. Cost etc.
11
Q.23. A certain memory stores 8 k x 16 bit words. How many data
input lines, data output lines and address lines does it have ? What
is its capacity in bytes?
Ans. Memory is M x N form where M are memory locations and N are data
input lines.
Here M = 8K
N = 16
Q 24. What are the various types of ROMs? Discuss their relative
advantages and disadvantages.
Ans. ROM: In ROM, read and write operation cannot be performed with
equal ease always read operation is easier than write operation. It is used to
store information which is (I) Permanent group includes; masked ROM and
PROM (ii) Semi permanent group include; EPROM and EE-PROM. Five types
of ROM-masked ROM, PROM, EPROM, EE-PROM and flash memory are
described in the following paragraphs.
PROM: Programmable Read Only Memory user can program (write) the
PROM through special PROM programmer. It can be written (programmed)
once only, user cannot rewrite this memory.
Erasing is done using UV light through a window over the memory chip
called quartz window. Erasing process cannot be done byte by byte or block
by block, entire information will be erased at once, - after exposing the ROM
12
in U.V. light. Therefore, erasing process is slower and time consuming it
takes 15 to 20 minutes.
Advantages:
1. Low cost
2. High speed
Disadvantages:
1. In EPROM selective erasing is not possible. One time all the locations are
erased.
2. IROM has to be removed from socket and put in eraser for erasing.
Q 25. State and explain the difference among ROM, PROM, RAM,
SRAM and DRAM.
Ans. ROM: Read only memory (ROM) is the type of memory from which
data can be repeatedly read out. We can’t write data in this memory. It is a
non-volatile memory i.e. it can hold data even if power is turned off.
13
If the erasing of ROM in using electrical voltage, then it is known as
electrically alterable ROM i.e. EAROM.
RAM: Random Access Memory (RAM) is the memory that can be used for
read as well as written operation. Here access time is same for each
location. RAM is a volatile memory so it loses the stored data when power is
turned off. RAM is of two types SRAM and DRAM.
SRAM: Static RAM uses the flip-flop for its basic storage element. It is
possible to store data as long as power is applied to the chip. It make use of
cross coupled TTL multiemitter bipolar transistors or cross coupled MOSFETs
for its construction.
DRAM: Dynamic RAM make use of capacitive element for storing the data
bit. Binary information is stored as charge. If charge is present at a
capacitive element, it represents a logic 1 and in the absence of the charge a
logic 0 is stored. DRAM’s consumes less power as compared to SRAM’s.
After identifying the locations whose contents match the key, read or write
operations
can be performed to these locations. The key to be used may either consist
of the entire data word or only some specific bits of the data word, i.e. the
other bits can be masked.
14
key will consist of the combination of the codes corresponding to engineer
and Indian nationality. All the memory locations with engineers of Indian
nationality will be identified and the remaining data (name and age) can
then be retrieved by using the read operation. To do the, same search
process with a conventional memory, each memory word is to be read out
and compared with the key. This search is serial process and hence time
consuming. Thus, CAMs are better suited for information retrieval than the
conventional memories.
Operation of CAM: A CAM can perform three basic operations : read, write
and associate. Fig. shows a block diagram of a CAM. Its storage capacity is
M x N bits and is organized as M words of N bits each. If has N data input
and N data output lines (one line for each bit of a word). The data input lines
Io through are used to input data to be written into the memory and for
key word in case to associate operation. Data are read out of the CAM at the
data output lined Do through .
The Y lines serve as match output lines one for each memory location, when
an association operation is performed. For. example, if the keyword matches
with the word stored in memory locations 5 and 8, lines Y5 andY8 will
become HIGH to indicate the match condition.
15
The mode control inputs are used to select the required operation. The read
and write operations are performed in a manner similar to that used for
RAM. However, during the write operation, the input data also appear at the
data outputs. The reading of the data is non-destructive.
The word length and/or word size can be expanded by suitably connecting
the available CAM chips in a manner similar to the one used for RAMS and
ROMs expansion.
Ans. The charge coupled device (CCD), a new concept for storage of digital
information, was announced in early 1970 by Bell Telephone Laboratories of
U.S.A. It is an array of MOS capacitors operating as a dynamic shift register,
CCDs are simple, versatile, and low cost devices and can be used wherever a
serially accessed memory is required.
16
The operation of CCDs involves the following steps
During each charge transfer step, a small amount of charge is lost. Also, due
to thermal effects, undesirable charge may be generated which is known as
dark current. To overcome these defects, the charge is re-circulated around
the shift.
indicated below the gate G1. This plot also represents the potential-energy
barrier (well) for electrons, which are the minority charge carriers. Now, if a
packet of negative charge is injected into the depletion region, these charges
can move freely within the well, but cannot penetrate the potential-energy
walls of the well. This means that as long as the voltage V1 is present, the
negative charge will be held (trapped) there.
17
In a conventional capacitor, the charges are held on conducting plates,
whereas in a MOS device the charges are held on a conductor and in the
depletion region under the conductor. The stored charge can be moved from
left to right down the channel by applying voltages at the gates in a proper
sequence. We assume that a logic 1 is stored when a negative charge is held
in the depletion region and a logic 0 is stored when the depletion region is
empty. This type of operation makes it possible to make long shift registers
using these devices.
It is as shown in fig.
It has three gates G1, G2 and G3. This MOS capacitor can store charge. If
positive voltage is applied at the gate electrode, then a depletion region is
formed as shown in fig. If positive voltage is given to G1 and ‘0’ volt is given
to G2 and G2 i.e. they are grounded. So the depletion layer is formed at G1.
This represents the potential energy transistor for electrons. Until the
voltage V1 is applied to G1, the negative charge will be held as it is. Shifting
of stored charge can also take place from left to right by applying voltages at
the gates in sequence of G2 and G3. Logic ‘1’ is assumed as stored data if a
negative charge is held in the depletion layer and logic ‘0’ is assumed as
stored data if the depletion region is empty. In this way CCD is used as a
memory device. Its advantages are:
1. It is very simple.
18
Q 29. Write short note on
1. Principle of operation
2. Physical characteristics
(b) RAM: Random access memory is the memory which is used for both
read and write operation i.e. data can be read or placed into. Here access
time is same for each location. It is of two types:
(c) ROM: Read only memory is the type from which data can be repeatedly
read out but cannot be written into it. It is of two types
19
(ii) Programmable ROM.
(d) CAM: Content address memory is a special purpose RAM which performs
association operation in addition Read/Write operation.
(a) Erasable or non-erasable is a memory in. which the data stored can
be erased or non-erased. For example: ROM is a non-erasable memory
But if the data stored is not lost when power is switched off when it is called
non-volatile.
Static RAM, ROM and PROM can be fabricated using either bipolar technology
or MOS technology. But dynamic RAM, EPROM and EAROM can be fabricated
using MOS devices only.
Q 30. Draw the circuit of a static MOS RAM cell and explain its
operation of Read and Write.
20
Ans. Random Access Memory (RAM) is a volatile memory. It can be read as
well as written It has two types static RAM and Dynamic RAM The static RAM
can be implemented using bipolar and MOS technology. The circuit diagram
of static MOS RAM is as:
In this circuit T1 and T3 are loads T2 and T4 are resistances. T9 is used for
write operation and T10 for read operation. X and Y lines are used for
addressing the cell. When X = 1 T5 and T6 will be ON when Y = 1, T7 and
T6 will be ON.
(i) Write operation: To make write operation, T9 is turned ON’ If the data
is logic 1, then T3 is turned ‘ON If data is logic 0 then T1 is ‘ON’
(ii) Read operation: For read operation MOSFET (T10) is turned ‘ON’ This
will connect Data-line to Data-out Hence complement of stored data is read.
Ans. Programmable logic devices (PLD) are special type of ICs which can be
programmed by the user and hence a combinational or sequential circuit can
be implemented with these PLO s are of various types as programmable
array logic (PAL) and programmable logic array (PLA) etc The block diagram
of PLA device is as shown:
21
Input Buffers : These buffers amplify the input signal. These are also used
to avoid the loading of sources connected at the input
AND Matrix: It can be used to implement the product terms in the SOP
form Each AND has two matrix has connections are shown by (X) mark on
the line.
OR Matrix: The OR matrix has ‘OR’ gates of two inputs The connections are
shown by cross (X) mark, on the line.
Output Buffers: To amplify the output signal and to increase current source
capability these buffers are used.
22