Es LQ
Es LQ
ChatGPT
Dependability: The measure of a system's overall
reliability, availability, maintainability, and safety. It
reflects the system's ability to deliver services that
can be trusted.
processthe image frame just arrived may create some noise in the display of the image
for some time.
7. Hybrid systems: Many of the real-time systems are hybrid in nature, as they include
both analog and digital components.
8. Reactie systems Reactive systems have continual interaction with the environment.
The behaviour of the system is very much dependent on the events occurring in the
environment. This type of systems normally have a set of states. Depending upon the
Occurrence ofevents, state transitions in the system take place. On the other hand, a
proactive system may not be interactive in nature. Once initiated/a proactive systen
may work on its own to produce output.
1.2 Design Metrics
The design metrics are the optimization goals that an embedded system designer wants to
achieve. The commonly used metrics are the following:
1 Sustem cost: It consists of two types of costs, namely the non-recurring engineering
NRE) Cost and the recurring cost. The NRE cost is one timethe expenditure incurred
inthe design stage of the system. Qnce the system has been designed, extra units 'can
he Droduced at a much lesser cost. This type of situation occurs commonly in designing
VLSIchips. The NRE cost is very high as it includes the process of generating masks.
However, once the mask preparation has been done, it can be replicated over a large
silicon die to produces targe number of similar chips, reducing the per unit cost.
2. Size: Size of the system is very importnt. (The size may be measured in silicon area
for hardware, whereas it refers to the code size for the software portion of the embedded
system. )The code size'affects_the memory space requirement, increasing the overall
chip/boárd size.
3. Performance: It refers to the speed of the designed system. Normally, the specification
of the system will have some performance requirements to be met by the design. This is
one of the vital factors infuencing the decision regarding the final implementation. For
example, the same functionality implemented in software will have lesser speed than a
hardware realization. In the hardware realization also, an application specific integrated
circut (ASIC) will have better performance as compared to Field Programmable Gate
Arrays (FPGAs) or other general purpose processors.
Pouer requiremnt: This is the other most important design metric, particularly because
the embedded systems are expected to have light weight, long battery life. This neces
Sitates plastic packaging, absence of cooling fans, etc./Thus, power requirement and the
associated heat dissipatión of the system should be very low.)
Sktte
fte
esgn fleribility:(It refers to the effort needed to modify &system if the specifcation
thanges to some extent later. While a software implementation is most fexible, ASIC is
mes
Hexible one, withFPGAs lying at an intermediary stage. The main problem in
he design change is the repetition'of the NRE cost which is the minimum for software.
6
NRE
Design humaround time:(This is the time, needed to complete the design starting from
specification upto taking it to the obsolesence of
market. Due to the very high rate of
Introduction
electronic goods, it is imperative that this time be small. The requirement often forces
the designers to use off-the-shelf components, rather than doing a costIy redesign of
system components. Design reuse is the key term here.
I. System maintainability: This refers to the ease of maintaining and monitoring the health
of the system after it has been put into the Held.A gOod design is well docunented such
the
that even designers excepting those who designed the system originally, can modify
system, if necessary.
the ability to check the systen
O esting and verification of functionality: It refers to operation
functionality and get confidence regarding the correct of it. It may be noted
that in the system life-cycle, verifcation is generally carried outall after the design has
system features
been completed/ The goal of design verifcation is to see whether the
have been designed properly or not) There is no physical system available at this point
of time. On the other hand, testing is needed to check for correct functioning of each
unit produced. Thus, verification comes as an NRE cost while testing comes as a part
of unit cost.
BASIC STRUCTURE OF AN EMBEDDED SYSTEM:
A-D Processor & D-A
Sensor Actuator
Converter ASIC Converter
Memory
1. SENSOR - IT MEASURES THE PHYSICAL QUANTITY AND CONVERTS IT TO AN ELECTRICAL SIGNAL WHICH CAN BE
READ BY AN OBSERVER OR BY ANY ELECTRONIC INSTRUMENT LIKE AN A2D CONVERTER. A SENSOR STORES THE
MEASURED QUANTITY IN THE MEMORY.
2. A-D CONVERTER - AN ANALOG-TO-DIGITAL CONVERTER CONVERTS THE ANALOG SIGNAL SENT BY THE SENSOR INTO
A DIGITAL SIGNAL.
3. PROCESSOR & ASICS - PROCESSORS PROCESS THE DATA TO MEASURE THE OUTPUT AND STORE IT IN THE MEMORY.
4. D-A CONVERTER- ADIGITAL-TO-ANALOG CONVERTER CONVERTS THE DIGITAL DATA FED BY THE PROCESSOR TO
ANALOG DATA
5. ACTUATOR - AN ACTUATOR COMPARES THE OUTPUT GIVEN BY THE D-A CONVERTER TO THE ACTUAL (EXPECTED)
OUTPUT STORED IN IT AND STORES THE APPROVED OUTPUT.
) You
What is the function of the following ARM instruction:
(v) BMIaddr
< 2/2 >
ChatGPT
ChatGPT
The instruction to switch to the THUMB instruction set
ChatGPT
Features of USB Communication Protocol:
1. Control Transfer: This transfer type is used to configure the bus and exchange
status information with the device. It is typically used for device configuration and
control operations.
ChatGPT
Uses of Timers in Embedded Systems:
1. Function:
G ChatGPT
A
generic Field-Programmable Gate Array (FPGA)
consists of several key components that enable its
programmability and flexibility:
Schematic | Behaviour
Behavioural Simulation
Design
Synthesis
Functional Simulation
Design Timing Analysis
Implementation
Back Annotation Timing Simulation
In-circuit Verification
Device Programming9
(1) On the event of an order being received, we transit from our initial
state to the Unprocessed order state.
(ü) The unprocessed order is then checked.
(i) If the order is rejected, we transit to the Rejected Order state else
move to the Accepted order state
(iv) If the order is accepted and we have the items available we transit to
the Fulfilled order state.
(v) However, if the items are not available, we transit to the Pending Order
state.
(vi) After the order is fulfilled, we transit to the final state
S ChatGPT
plaintext O Copy code
| Unprocessed Rejected
Order | on reject Order
V V | on accept
| on fulfill
V
Fulfilled Final
Order | on Ieject State
This state chart represents the online ordering system with the specified
states (Unprocessed Order, Rejected Order, Accepted Order, Pending
Order, and Fulfilled Order) and transitions based on events (order
received, order checked, order accepted, items available, items not
available, order fulfiled). The arrows indicate the flow of transitions
between states, and conditions for transitions are mentioned on the
arrows.
<2/4 >
R You
Discuss the KL partitioning method used in the embedded system.
ChatGPT
1. Graph Representation:
" The embedded system is represented as a weighted bipartite graph,
where nodes represent modules or components, and edges
represent the communication or interaction between them.
" Weights on the edges represent the cost or the amount of
communication between the modules.
2. Objective Function:
" The goal is to partition the graph into two disjoint sets (partitions)
such that the total weight of communication between the two
partitions is minimized.
The objective function is to minimize the cut size, which is the total
weight of edges crossing the partitions.
3. KL Partitioning Algorithm:
" Start with a random or initial partitioning of the graph into two sets.
" Iteratively move nodes between the two sets to reduce the cut size.
At each iteration, selecta node to move from one set to the other,
aiming to minimize the increase in the cut size caused by the move.
Repeat this process until further moves do not significantly decrease
the cut size.
" Nodes with the highest positive gain are considered for movement.
5. Refinement Process:
After the initial partitioning, the KL algorithm performs multiple
refinement iterations. In each iteration, it optimizes the partitioning
by moving nodes to reduce the cut size further.
6. Stopping Criteria:
" The algorithm terminates when a specified number of iterations are
reached, or when further moves do not lead to a significant reduction
in the cut size.
7. Application in Embedded Systems:
" KL Partitioning is commonly used in the design of embedded
systems to partition the system into hardware and software
components.
ChatGPT
Logic Level Power Minimization Techniques:
1. Sub-threshold Operation:
"Operating transistors in the sub-threshold region (below the
threshold voltage) can significantly reduce power consumption.
" However, it comes at the cost of slower circuit speed and increased
sensitivity to process variations.
2. Dynamic Voltage and Frequency Scaling (DVFS):
DVFS adjusts the operating voltage and frequency dynamically
based on the workload.
" Techniques include using clock gating within flip-flops, reducing the
number of transitions, and optimizing clock-to-Q delay.
5. MTCMOS (Multi-Threshold CMOS):
"MTCMOS incorporates transistors with different threshold voltages
in the design.
" It allows for selectively turning off power to certain portions of the
circuit during idle times.
6. Leakage Power Reduction Techniques:
" Techniques such as using low-leakage process technologies, reverse
body biasing, and optimizing transistor sizes help minimize leakage
power.
Trade-offs: