Вы находитесь на странице: 1из 15

Module-5

Module-6

DAC

A digital to analog converter (DAC) converters a digital input represented as a binary number to an
analogue voltage (or current) that is proportional to the value of this input.

Weighted Resistor DAC


R-2R Ladder DAC
ADC

 Analogue to Digital (A/D) conversion is the process whereby an analogue signal is


converted into a corresponding binary number, the digital output.

Flash ADC

 Flash ADC is the fastest method of A/D conversion.


 In this architecture, shown in Figure, an n-bit conversion is achieved by simultaneously
comparing the analogue input with reference levels. These reference levels are
usually generated by a chain of identical resistors connected in series.
 Each of these references is compared to the input by a circuit known as a comparator. This
circuit output goes to high when the voltage on the non inverting input is higher than the
voltage on the inverting input. Otherwise the comparator output goes to low.
 The final stage of the conversion process is to use a digital circuit, known as a priority
encoder, to convert this unusual representation of comparators output to a more conventional
binary number.

For Eg:
 When an analog voltage 1V is applied at the input, then comparator output G1 will be high
and all remaining are low. Hence the encoder produces an output 001 as digital equivalent of
1V.
 When an analog voltage 2V is applied at the input, then comparator outputs G1 and G2 will
be high and all remaining are low. Hence the encoder produces an output 010 as digital
equivalent of 2V since G2 have more priority.
Successive Approximation Type ADC
3.1 Memory devices
Memory is the storage device in a system used to store data and instructions.
Most systems consist of two types of memory:
 Read-only Memory (ROM) and Random-Access Memory (RAM).

ROM
 ROM stands for Read Only Memory.
 The memory from which we can only read but cannot write onit.
 This type of memory is non-volatile.
 An embedded system has ROM unit(s) for storing ROM image and flash to save
non- volatile data and results
 ROM image holds the programs, operating system, and data required by the system.
Following are the various types of ROM:
MROM (Masked ROM)
 The very first ROMs were hard-wired devices that contained a pre programmed set of
data or instructions. These kind of ROMs are known as masked ROMs.
 MROM programming is performed during IC fabrication.
 It is inexpensive ROM.
 Used for large scale manufacturing
Uses:
1. A finalised ROM image of system program.
2. Data, pictograms, image pixels, pixels for the fonts of a language.
PROM (One Time Programmable ROM –OTP ROM)
 PROM is read-only memory that can be modified only once by a user.
 The user buys a blank PROM and enters the desired contents using a PROM
programmer.
 A PROM once written is not erasable.
Uses:
1. Smart card identity number and personal information.
2. Storing boot programs.
3. ATM card or credit card or identity card.
EPROM (Erasable and Programmable ROM)
 Used in place of masked ROM during development phase.
 UV Erasable and Electrically programmable by a device programmer

EPROM (Erasable and Programmable ROM)


 The EEPROM is programmed and erased electrically.
 It can be erased and reprogrammed about ten thousand times.
 In EEPROM, any location can be selectively erased and programmed.
 EEPROMs can be erased one byte at a time, rather than erasing the entire chip.
Hence, the process of re programming is flexible but slow.
Uses:
1. Storing current date and time in a machine.
2. Storing port status.
3. Storing driving, malfunctions and failure history in an automobile.

Flash Memory
 Flash memory is a form of EEPROM in which a sector of bytes can be erased in a
flash (very short duration corresponding to a single clock cycle)
Uses:
1. Storing pictures in digital camera.
2. Storing SMS, MMS messages in a mobile phone.
3. Storing voice compressed form in a voice recorder.

RAM
 The RAM can be both read and, write.
 RAM is used to hold the programs, operating system, and data required by a
computer system.
 In embedded systems, it holds the stack and temporary variables of the programs,
operating system, and data.
 RAM is generally volatile, (does not retain the data stored in it when the system 's
power is turned off)
 Used for saving the variables, stacks, process control blocks, input buffer, output
buffer, decompressed format of program and data at the ROM image.

Following are the various types of ROM:


SRAM (static RAM)
 Storage elements in SRAM are transistors.
 SRAM is most commonly used for designing cache memory.
DRAM (dynamic RAM)
 Storage elements in SRAM are capacitors.
 SRAM is most commonly used in high performance computers or high memory
density systems.
EDO (Extended Data Out) RAM
 EDO RAM is used in systems with clock rates up to 100 MHz.
 Zero wait state is needed between two fetches.
 Single cycle read or write is possible.

SDRAM (Synchronous DRAM)


 SDRAM Synchronises the read operation and keeps next word ready while previous
one is being fetched;
 SDRAM is used in systems with clock rates up to 1 GHz.
RDRAM (Rambus* DRAM)
 RDRAM accesses in bursts of four successive words in single fetch; .
 used for 1 GHz + performance of the system

RAM Organization
Programmable Logic Devices

PAL
FPGA (Field Programmable Gate Array)

VHDL (Refer Class notes)

Вам также может понравиться