Professional Documents
Culture Documents
embedded systems
embedded systems
PART - A
Any device that includes a programmable computer but is not itself intended to be a general purpose computer is
called an embedded computer system.
Microprocessors provide a very efficient way to implement an embedded system they also make it easier to design
families of products that can be built to provide various feature sets at different price points.
How much hardware do we need, How do we meet deadlines, How do we minimize power consumption, How do
we design for upgradability.
4. Mention the reasons that makes embedded computing machines design difficult.
It allows us to keep a scoreboard on a design, It allows us to develop computer aided design tools, It makes it much
easier for members of a design team to communicate.
Complex algorithm, User interface, Real-time, Multi rate, Power and energy, manufacturing cost
10. What is the difference between the Harvard and Von-neumann architecture? (May/Jun ’13’14)
HARDWARD VON-NEUMANN
Separate Program and Data memory Common memory for Program and data
Program counter points program memory Program counter holds address in memory of an
instruction
The various functions of ARM processor in supervisor modes are: Exception, Prioritization, Vectoring, Traps.
13. How is ARM processor different from other processors?(Nov/Dec ‘12)
ARM is a RISC (Reduced Instruction Set Computing) architecture while other processor being a CISC (Computer
Instruction Set Computing) one.
In the ARM processor, arithmetic and logical operations cannot be perform directly on memory locations, while
other processors allow such operations to directly reference main memory.
The various issues in RT computing is: Real –time Response, Recovering from failures, Working with distributed
architecture, Asynchronous communication, Race condition and timing.
15. What is the purpose of current program status register (CPSR) and Z-bit. (May/Jun’14)
CPSR:It is set automatically during every arithmetic, logical or shifting operations. The top 4 bits of CPSR hold
useful information about the result.
Z-Bit: The zero (Z) bit is set when every bit of the result is zero.
The conventions used to pass values into and out of procedures are called procedure linkage.
CISC refers to complex instruction set computers. As the name imply these computers are having a wide variety of
instructions that can perform very complex operations.
RISC refers to reduced instruction set computers. These computers are having very simple instructions which are
also very fewer in number.
In big endian mode the lowest order byte is stored in the highest bit of the word whereas in little endian mode the
lowest order byte is stored in the lowest bit of the word.
In a top-down approach an overview of the system is formulated, specifying but not detailing any first-level
subsystems. Each subsystem is then refined in yet greater detail, sometimes in many additional subsystem levels,
until the entire specification is reduced to base elements.
1)ARM is actually a family of RISC architectures that have been developed over many years. The ARM is a 32-bit
Reduced Instruction Set Computer (RISC) instruction set architecture developed by Arm holdings.
23. What are the parameters used to evaluate the CPU performance?(May/Jun’15)
Fixed versus variable length, Addressing modes, Number of operands, Types of operations supported.
Co-Processor is an additional computing device which is coupled to the main processor for execution of certain
complex instructions. The Co-Processor does not execute any portion of the program by itself. It comes into
operation only when a coprocessor instruction is executed by the processor.
PART – B
Observability, controllability?
A procedure for designing a system.Understanding your methodology helps you ensure you didn’t skip
anything.Compilers, software engineering tools, computer-aided design (CAD) tools, etc., can be used to:help
automate methodology steps;keep track of the methodology itself.
requirements
specification
architecture
Top-down design:
component
design
system
integration
start from most abstract description;
Bottom-up design:
The other important basic register in the programming model is the cur-
rent program status register (CPSR). This register is set automatically during
every arithmetic, logical, or shifting operation. The top four bits of the CPSR
hold the following useful information about the results of that arithmetic/logical
operation:
■ The negative (N) bit is set when the result is negative in two’s-complement
arithmetic.
■ The zero (Z) bit is set when every bit of the result is zero.
■ The carry (C) bit is set when there is a carry out of the operation.
user
database interface
EQ, NE, CS, CC, MI, PL, VS, VC, HI, LS, GE, LT, GT, LE
Branch operation:
C:
if (a > b) { x = 5; y = c + d; } else x = c - d;
Assembler:
; compute and test condition
true block
false block
Sophisticated functionality.
Real-time operation.
Low power.
Designed to tight deadlines by small teams.
Functional complexity
Non-functional requirements
Many embedded systems are mass-market items that must have low manufacturing costs.
Cache
operation
Many
main
memory
locations
are mapped onto one cache entry.
instructions;
data;
Cache organizations
Fully-associative: any memory location can be stored anywhere in the cache (almost never implemented).
Direct-mapped: each memory location maps onto exactly one cache entry.
Logical shift:
Arithmetic shift:
RRX performs 33-bit rotate, including C bit from CPSR above sign bit.
. The object
is identified in two ways: It has a unique name, and it is a member of a class. The
name is underlined to show that this is a description of an object and not of a class.
there are several types of relationships that can exist between objects and
classes:
■ Association occurs between objects that communicate with each other but
9i). Explain the model train controller with neat sketch. (Apr/May’15)
rcvr motor
power
supply
console
P: preamble = 1111111111.
complementary ways:
Structural Description
learn how to describe how these components act in the next section. The principal
Behavioral Description
■ A time-out event causes the machine to leave a state after a certain amount
of time. The label tm(time-value) on the edge gives the amount of time after
Cycle time.
CPU pipeline.
Memory system.
Performance measures
CPU power
consumption
Most
modern
CPUs are
designed
with power
consumption
in mind to
some
degree.
Power vs.
energy: