1
\$\begingroup\$
  • Is the basic device to store the bits are Flip Flops or Not?

There are Various types of memories are available in the market such as RAM, ROM, FLASH Memory,SDRAM etc....
Then

  • what is the basic memory unit is used in it in order to change its functionality?

  • Is clock is compulsary for a flipflop to store memory?

or

  • It'll store the bit value without clock?

  • What makes the flipflop to store the value in it?

with reference to this Question which I asked previously

\$\endgroup\$

1 Answer 1

2
\$\begingroup\$

Bits can be stored on any system that can latch, not necessarily a flip flop. For instance a latching mechanical relay can be used (and has been) or a magnetic core, etc. All the different technologies use different methods.

I'll deal with SRAM for now as it seems relevant to your previous question. Maybe add more later. SRAM (static RAM) uses some kind of latch arrangement. The basic 6 transistor version uses cross coupled inverters:

6T SRAM

This is a bit like the latch in the below diagram except there are no resistors (the collector resistors are replaced by the PMOS devices M2 and M4)
The value to be written is placed onto the BL lines, then the WL line is set and state is forced as M5 and M6 (which would connect at A1 and A2 - or E1/E2 as RB1 and RB2 are not present) have a much higher drive than M1,2,3,4, overriding them and forcing a state, which will then be held.

2 transistor latch

You can see this does not require a clock, just a simple set/reset operation. In contrast some latching circuits (there are many) use a clock to enable the set/reset to take place (effectively gating the input signal)
Here is a diagram of a gated latch:

Gated SR latch

Now you can see unless E is at 1 then S or R will have no effect. The clock could be attached to E to only enable changes to be latched when high.

DRAM (dynamic RAM) uses a capacitor to hold a charge which represents 1 or 0.
This requires a refresh to take place temporarily as otherwise the charge will leak from the capacitors. It is also generally slower than SRAM.
The advantage is that it can be made much smaller as it uses fewer transistors (check the average DRAM versus SRAM IC size/price and you can see a considerable difference)

\$\endgroup\$
2
  • \$\begingroup\$ Also DRAM is cheaper and consumes less power. \$\endgroup\$
    – Majenko
    Commented Nov 11, 2011 at 9:29
  • 1
    \$\begingroup\$ DRAM generally consumes more power than SRAM, at least in cases where accesses are not too frequent. With DRAM, every memory cell must be read and written back a thousand or more times every second, even during times when the processor would be neither reading nor writing it (the memory itself contains circuitry to do most of the work). Even if the processor is for something to happen and isn't reading or writing any memory, DRAM must still be refreshed. By contrast, static RAM uses very little current except when it's actively being read or written. \$\endgroup\$
    – supercat
    Commented Nov 28, 2011 at 22:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.