Escolar Documentos
Profissional Documentos
Cultura Documentos
MEMORY
Memory
Memory
Read/Write memory
Reading from RAM is non-destructive. Access time to read from any memory location is the same.
Volatile
Based on the Flip-Flop Requires a large number of transistors Fast Uses a single transistor to store charge Requires very few transistors Must be periodically refreshed Slow(er)
ECE 301 - Digital Electronics 6
Can only be read from. Memory is written (or programmed) once Reading from ROM is non-destructive. Access time to read from any memory location is the same.
As compared to serial access memory. Information is retained even after power is removed.
ECE 301 - Digital Electronics 7
Non-Volatile
Can be programmed Can be programmed and erased Can be erased using an electrical signal Can be erased using Ultraviolet light
ECE 301 - Digital Electronics 9
10
Memory
11
Memory
12
Address
Location in memory of the binary information Must be decoded to select the appropriate location and read/write the associated data k-bit address 2k memory locations Binary information of interest
Data
14
A memory unit is a collection of storage cells with associated circuits needed to transfer information in and out of the memory device.
The n data input lines provide the information to be stored in memory and the n data output lines supply the information out of memory. The k address lines specify the particular word chosen among the many available memory locations. The 2 control signals write and read are used to transfer the data into the memory and read data from memory.
The memory unit is specified by the number of words it contains and the number of bits in each word. Address line is used to select one particular word.
Each word in memory is assigned an identification number called address, starting from 0 upto 2k-1. (k- no. of bits in the address lines)
address
data
17
A decoder accepts the address lines (A9, A8,A1, A0) and provides the paths needed to select the word specified. The memory size varies from 1024 words requiring an address of 210 bits to 232 words, requiring 32 bit address bits.
These memory size are represented using letter symbol K (kilo-210), M (Mega - 220), and G (giga 230).
Consider for example the memory unit with a capacity as shown in fig. Since 1 K = 1024 = 210 and 16 bits constitute 2 bytes and the possible content of the first three and last 2 words of this memory, each word contains 16 bits that can be divided into 2 bytes.
The no. of bits in the address is determined from the relationship 2k>m.
where m is the total no of words and k is the number of address bits needed to satisfy the relationship.
WRITE OPERATION: The write signal is used to write the data into the specified memory location. Steps to be followed to write the data: Apply the binary address of the desired word to the address lines Apply the data bits that must be stored in memory to the data input lines Activate the write input.
READ OPERATION:
Steps to be followed:
Apply the binary address of the desired word to the address lines
Activate the read input. Now the required data is available in the data line.
24
Timing waveform
The operation of the memory unit is controlled by an external device such as central processing unit (CPU). The CPU is synchronized by its own clock but the memory does not employ an internal clock.
Instead, its read and write operations are specified by cycle time of a memory .(Cycle time : is the time required to complete a write operations)
The CPU must provide the memory control signals in such a way as to synchronize its internal operations with the read and write operation of a memory. This means that the access time and cycle time of the memory must be within a time equal to a fined number of CPU clock cycles
Write Cycle
27
Read Cycle
28
29
30
RAM - Types
(I) Static RAM Bipolar RAM MOSFET RAM MOSFET RAM
Static RAM
Logic Diagram:
Refreshing a stored 1
ROM Organization
PROM
Fuse Technologies
EPROM
UV EPROM
EEPROM
Symbology of PLD
FPGA MODULE
Design Procedure
Capture the logic circuit to be implemented with a suitable software package. Functional simulation simulates the circuit to determine whether it is function properly.
Configure and interconnect the modules of the FPGA to produce the desired logic circuit.this may be done automatically by a routing software called routers.
Programming is done by the FPGA interconnection. After programming it must be tested. If the designed function is not fulfilled it must be reprogrammed.