Embedded Systems: Computer
Embedded Systems: Computer
BY
M.V.GANESWARA RAO
TO
M.TECH
(VLSI DESIGN)
Class No : 03 Date:3-11-2009
1.3 OTHER HARDWARE UNITS
• The system gets inputs from physical devices (such as, for
example, the key-buttons, sensors and transducer circuits)
through the input ports.
• The system gets the inputs by read operation at the port
addresses.
• The system has output ports through which it sends output
bytes to the real world. An output may be to an LED (Light
Emitting diode) or LCD (Liquid Crystal Display) pane1.
• The system sends the output by a write operation to the
port address
To
M.Tech
(VLSI Design)
Class No : 04 Date:6-11-2009
Dept. of ECE SVECW M.V.G.Rao 2-11-2009
1.4. SOFTWARE EMBEDDED INTO A SYSTEM
• Editor
• Interpreter
• Compiler
• Assembler
• Cross Assembler
• Simulator
• Integrated Development Environment
• Locator
To
M.Tech
(VLSI Design)
Class No : 05 Date:10-11-2009
Dept. of ECE SVECW M.V.G.Rao 2-11-2009
1.6 EMBEDDED SYSTEM-ON-CHIP (SOC) AND IN VLSI
CIRCUIT
To
M.Tech
(VLSI Design)
Class No : 06 Date:11-11-2009
Dept. of ECE SVECW M.V.G.Rao 2-11-2009
2.Processor and Memory Organization
• 2.1 STRUCTURAL UNITS IN A PROCESSOR
MAR Memory Address Register It holds the address of the byte or word to be
fetched from external memories.
MDR Memory Data Register It holds the byte or word fetched from external
memory or I/O address.
Internal Bus It internally connects all the structural units inside the
processor. Its width can be of 8, 18, 32, or 64 bits.
Address Bus It is an external bus that carries the address from the
MAR to the memory as well as to the I/O devices .
Data bus
Control bus
BIU Bus interfacing
• Stack-Pointer bits and its initial reset value: Stack pointer values must
point to addresses of the words stored at the stack.
• Pipelined and Superscalar Units: High processor performance is
required in many cases.
• On-chip Memories as RAM and/or Register files, windows, Caches and
ROM:
• External Interrupts: There are a number of pins in the processor where
the external circuits can send the interrupt signals.
• Interrupt Controller: A processor may possess an internal interrupt
controller to program the service routine priorities and to allocate vector
addresses. An internal interrupt controller is of great help in most
applications.
• Bit Manipulation Instructions: These instructions help in easy
manipulation of bits at the ports and memory addresses.
To
M.Tech
(VLSI Design)
Class No : 07 Date:12-11-2009
Dept. of ECE SVECW M.V.G.Rao 2-11-2009
2.2 PROCESSOR SELECTION FOR AN EMBEDDED SYSTEM
To
M.Tech
(VLSI Design)
Class No : 08 Date:17-11-2009
Dept. of ECE SVECW M.V.G.Rao 2-11-2009
2.3 MEMORY DEVICES
1. SRAM
2. DRAM
3. NVRAM
4. EDO RAM
5. SDRAM
6. RDRAM
7. Parameterized Distributed RAM
8. Parameterized Block RAM
• A masked ROM is built from a circuit, which has r inputs (Ao to Ar_l)
and 8 outputs (Do to D7).
• Appropriate masking gives a desired set of outputs at each
combinational circuit. Certain links fuse and others that are masked
do not fuse.
• The embedded software designer provides to a manufacturing
foundry a file having a table of desired output bits for the various
combinations of the input address bits. The manufacturer prepares
the programming masks and then programs the ROM at a foundry.
• The ROM is a cost effective solution to a bulk user of ROMs for the
manufacture of embedded systems.
• Masked ROMs are never written at the system manufacturer level.
• the RAM is for storing the variables during program run and
storing the stack. It stores input and output buffers, for example,
of speech or image.
• It can also store the application program and data when the ROM
image is stored in a compressed format in an embedded system
and decompression is done before the actual run of the system.
• SRAM is used most commonly.
• DRAM is used mostly in computers or high memory density
systems.
• EDO RAM is used in systems with buses to the devices when
operating with clock rates up to 100 MHz, a zero-wait state is
needed between two fetches, and there is single cycle read or
write.
To
M.Tech
(VLSI Design)
Class No : 09 Date:24-11-2009
Dept. of ECE SVECW M.V.G.Rao 2-11-2009
2.4 MEMORY SELECTION FOR AN EMBEDDED SYSTEM
An offset
reg.
A0-A31
Code segment
Reg. Segment base
Stack N
Holding
Retrievable - Set
N Contents
Row
An element at
a memory
address
columns
Dept. of ECE SVECW M.V.G.Rao 2-11-2009
•Hash table
Name marks
Values or
Name objects
or keys
Object or
value Next top pointer for next
list element
List top