2 DEFINITION: THE RAM FAMILY: A RAM is a volatile chip memory in which both read and write operations can be performed.A memory unit is a collection of storage cell together with associated circuits needed to transfer information .It is also called Read-Write Memory(RWM)THE RAM FAMILY:It has n-address input lines to access 2^n memory locations and m-data lines to write/read data from/to memory.The n bit address is placed in Memory Address Register(MAR) to select one of the 2^n memory locationThe control signal is used to enable the read and write operationsWhen read signal is asserted, then the data from memory location gets selected by n-bit address then placed in Memory Buffer Register which is a m-bit register.
3 BLOCK DIAGRAM: ADDRESS n-BITS 1 RAM M ARRAY A . R 2^n-1 READ MBR 1RAMARRAYMAR.2^n-1READMBRm-DATA LINESWRITED0- Dm-1
4 THE RAM FAMILY:RAMBIPOLARMOSSTATIC RAMDYNAMIC RAMSTATIC
5 Semiconductor RAMs may be static or dynamic. TYPES OF RAMSemiconductor RAMs may be static or dynamic.Static RAM uses bipolar or MOS flip flops.Dynamic RAMs MOSFETS and capacitors which store data.
6 A Static RAM contains an array of flip flop ,one for each stored bit. Data written in the flip flop remains as long as the dc power is maintained.The capacity of RAM varies from 64 bits to 1 mega bit.
7 The cells is selected by HIGH value on the ROW and COLUMN lines. STATIC RAM CELL:The cells is selected by HIGH value on the ROW and COLUMN lines.The input data bit(1 or 0) is written into the cell by setting the flip flop for a 1 and resetting the flip flop for a 0 when READ/WRITE line is LOW.When the READ/WRITE line is HIGH, the flip flop is unaffected.Then the stored data is gated to the DATA OUT line.
9 The flip flops in the static memory cell can be constructed using a)Bipolar junction transistorb)MOSFETsBIPOLAR STATIC RAM:IT consits of two transistors Q1,Q2 that are cross coupled to form a flip flop.Here the each transistor has three emitters ,viz1)row select input2)column select input3)write input
10 Here there are four transistors Q1,Q2,Q3,Q4. To select the cell ,both the ROW and COLUMN select must be held HIGH.When selected , a data bit can be stored in the cell or the content of the cell can be read.If either ROW or COLUMN select lines is LOW then the memory cell is disabled.MOS STATIC RAM:Here there are four transistors Q1,Q2,Q3,Q4.Out of which Q1 and Q2 acts like switches while Q3 and Q4 acts like active load resistor.The transistor Q1 conducts and Q2 remains in cut off
11 BASIC STRUCTURE OF A STATIC RAM RAM has address inputs,data inputs,and a READ/WRITE CONTROL.When READ/WRITE is HIGH and chip select(cs) is LOW, four data bits from the selected address appears on the data output.When READ/WRITE is LOW ,the four data bits that are applied to the data inputs are stored at the selected address.
12 LOGIC DIAGRAM FOR A 256*4 STATIC RAM ADDRESS INPUT256 X 4STATIC RAMY1Y2Y3Y4DATA OUTPUTDATA INPUTR/WEN
13 A 1024 bit device with a 256 x 4 organisation implies that there are 256 rows and 4 columns.Here the memory cell are arranged in an array of 32 x 32 matrix.OPERATION:IT has eight input lines(A0 – A7)Five of the eight address lines (A0 through A4) are decoded by the ROW decoder to select one of the 32 rows.The remaining 3 address lines (A5 through A7) are used by the COLUMNdecoder to select 4 of 32 columns.In READ mode , the output buffer are enabled and the four bit from the selected memory location appears on the output(Y1,Y2,Y3,Y4)In WRITE mode, the input data buffer are enabled and the four bit are routed through input data selector for storage.During READ and WRITE the CHIP SELECT that is the enable must be LOW.
14 D4 – D1INPUT BUFFERROW DECODERA0 – A732 x 32 memory cell arrayR/WOUTPUT COLUMN DECODERCSBASIS STRUCTURE OF 256 X 4 STATIC RAMY Y Y Y1
15 STATIC RAM IC’S IC 7489-64 BIT STATIC RAM: IT is arranged as 16 words of 4 bit each.Data can be written into the memory with the help of data inputs by giving an address to the SELECT input and holding both the enable and write LOW.Data can be read from any memory location by giving the address to the SELECT input and holding the enable LOW while the write enable HIGH.ADVANTAGES:The operation is straight forward and hence easy to understand.
16 PIN DIAGRAM:VCC SELECT INPUTS DATA SENSE DATA SENSEINPUT 4 OUTPUT 4 INPUT 3 OUTPUT 3101615141211913B C D D S D3S3ME WE D S D S2SELECT MEMORY DATA SENSE DATA SENSE GNDINPUT A ENABLE INPUT 1 OUTPUT 1 INPUT 2 OUTPUT 2
17 IC – 4K BIT STATIC RAM:It is a 4096 cell organised as 1024 x 4 bit available in a single pin ic.The ic uses n-channel silicon gate MOS transistor in a static arrangement.The CS line allows selection of the expznded memory size.The WE selects b/w READ and WRITE operations.The 4 data pins acts as input lines on a WRITE operation, and as output line on a READ operation
19 TMS 4016 2 KB-STATIC MOS RAM: It is byte organised static RAM. There are eleven address inputs to select 2048 locations.The data in (DY1 through DY8) are bidirectional terminals.These terminals provide both data input during WRITE OPRATION and data output during READ operation.
20 TRUTH TABLE OF TMS 4016:WRCSRDDY1-DY8MODEXDATA INPUTWRITE1DATA OUTPUTREADHIGH IMPEDANCEDEVICE DISABLEDOUTPUT DISABLED
21 DYNAMIC RAM:The Dynamic Random Access Memory (DRAM) is the lowest cost,high density, RAM available.It can store binary information in the form of electric charges on the capacitors.Data that is stored as charge in the capacitors must be recharged as many number of times as possible in order to retain the stored charges.DRAM makes use of MOS capacitors as memory cell instead of flip flopsADVANTAGES:Very large memory array can be constructed at a lower cost.It offers reduced power consumption and larger storage capacity.DISADVANTAGES:MOS capacitor cannot hold the stored charge over an extended period of time.It has to be refreshed every few seconds.The circuit becomes complex.
22 The memory cell requires READ and WRITE gatin to operate the cell. Dynamic MOS RAM cell:A DRAM consists of arrray of memory cells.in this type of cell ,the transistor acts as a switchThe memory cell requires READ and WRITE gatin to operate the cell.Column/sense linesrow/control lineStorage capacitor
23 PSEUDO STATIC RAM (PSRAM): IT is a dynamic RAM with a built in refresh logic.It can be used even as a static RAM because no external refreshing circuit is requiredWhen it is performing internal refresh it cannot be accessed for read and write operation.
24 ADVANTAGES:Operating speed is fasterMOS memories are more economical than magnetic core for small systemsPower dissipation is very lowRead out of RAM does not affect the contents stored.