SlideShare a Scribd company logo
EC6703
EMBEDDED AND REAL
TIME SYSTEMS
UNIT- 4
SYSTEM DESIGN
TECHNIQUES AND
NETWORKS
Prepared by,
S. Rajalakshmi
Assistant Professor/ECE
RMK College of Engineering and Technology
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
 Design methodologies
 Design flows
 Requirement Analysis
 Specifications
System analysis and architecture design
Quality Assurance techniques
Distributed embedded systems
MPSoCs and shared memory multiprocessors.
UNIT IV SYSTEM DESIGN TECHNIQUES AND
NETWORKS
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
In this chapter we consider the techniques required to create
complex embedded systems.
Thus far, our design examples have been small so that important
concepts can be conveyed relatively simply.
However, most real embedded system designs are inherently
complex, given that their functional specifications are rich and they
must obey multiple other requirements on cost, performance, and
so on.
We need methodologies to help guide our design decisions when
designing large systems.
INTRODUCTION
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
The obvious goal of a design process is to create a product that does
something useful. Typical specifications for a product will include
functionality (e.g., cell phone),
manufacturing cost (must have a retail price below $200),
Performance (must power up within 3 s),
power consumption (must run for 12 h on two AA batteries), or
 other properties.
a design process has several important goals beyond function,
performance, and power. Three of these goals are summarized
below.
■ Time-to-market
-beat competitors to market
■ Design cost
■ Quality
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Design flow
• Design flow: sequence of steps in a design
methodology.
• May be partially or fully automated.
– Use tools to transform, verify design.
• Design flow is one component of
methodology. Methodology also includes
management organization, etc.
• Models
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
1. Waterfall model
• Early model for software development:
requirements
architecture
coding
testing
maintenance
Introduced by Royce , the first model proposed for the software
development process.
The waterfall model gets its name from the largely one-way flow of
work and information from higher levels of abstraction to more detailed
design steps
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
2.Spiral model
requirements
design
test
system feasibility
specification
prototype
initial system
enhanced system
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Successive refinement model
specify
architect
design
build
test
initial system
specify
architect
design
build
test
refined system
The system is built several times. A first system is used as a rough prototype,
and successive models of the system are further refined.
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Hardware/software design flow
requirements and
specification
architecture
hardware design software design
integration
testing
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Co-design methodology
• Must architect hardware and software
together:
– provide sufficient resources;
– avoid software bottlenecks.
• Can build pieces somewhat independently,
but integration is major step.
• Also requires bottom-up feedback.
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Hierarchical design flow
• Embedded systems must be designed across
multiple levels of abstraction:
– system architecture;
– hardware and software systems;
– hardware and software components.
• Often need design flows within design flows.
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
A hierarchical design flow for an
embedded system.
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Concurrent engineering techniques
• Cross-functional teams.
• Concurrent product realization.
• Incremental information sharing.
• Integrated product management.
• Early and continual supplier involvement
• Early and continual customer focus
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
AT&T PBX concurrent engineering
• Benchmark against competitors.
• Identify breakthrough improvements.
• Characterize current process.
• Create new process.
• Verify new process.
• Implement.
• Measure results and improve.
EX: Concurrent engineering applied to
telephone systems
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Requirements analysis
• Requirements: informal description of what
customer wants.
• Specification: precise description of what design
team should deliver.
• The overall goal of creating a requirements
document is effective communication between
the customers and the designers. The designers
should know what they are expected to design
for the customers
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Types of requirements
• Functional: input/output relationships.( FFT )
• Non-functional:
– timing;
– power consumption;
– manufacturing cost;
– physical size;
– time-to-market;
– reliability.
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Setting requirements
• Customer interviews.
• Comparison with competitors.
• Sales feedback.
• Mock-ups, prototypes.
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Specifications
• Capture functional and non-functional
properties:
– verify correctness of spec;
– compare spec to implementation.
• Many specification styles:
– control-oriented vs. data-oriented;
– textual vs. graphical.
• UML is one specification/design language.
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
1.SDL
• State machine specification
language is the SDL language
which was developed by the
communications industry for
specifying communication
protocols, telephone systems,
and so forth.
• Event-oriented state machine
model.
telephone
on-hook
dial tone
caller goes
off-hook
caller gets
dial tone
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
The SDL specification language
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
2.State charts
• Ancestor of UML state diagrams.
• Provided composite states:
– OR states;
– AND states.
• Composite states reduce the size of the state
transition graph.
Other techniques can be used to eliminate clutter and clarify the
important structure of a state-based specification. The State chart is
one well-known technique for state-based specification
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
3. AND-OR tables
• Alternate way of specifying complex conditions:
cond1 T -
cond2 - T
cond3 - F
AND
OR
Leveson et al. [Lev94] used a different format, the AND/OR table,
to describe similar relationships between states
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
TCAS II specification
• TCAS II: aircraft collision avoidance system.
• Monitors aircraft and air traffic info.
• Provides audio warnings and directives to
avoid collisions.
• Leveson et al used RMSL language to capture
the TCAS specification.
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
System analysis and architecture design
• In this section we consider how to turn a
specification into an architecture design.
• we look at how to get a handle on the overall
system architecture.
• The CRC card methodology is a well-known and
useful way to help analyze a system’s structure.
• It is particularly well suited to object-oriented
design since it encourages the encapsulation of
data and functions.
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
CRC cards
• The acronym CRC stands for the following
three major items that the methodology tries
to identify: CRC:
– Classes;
– Responsibilities of each class;
– Collaborators are other classes that work with a
class.
• Team-oriented methodology.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
CRC card format
Class name:
Superclasses:
Subclasses:
Responsibilities: Collaborators:
Class name:
Class’s function:
Attributes:
front back
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
CRC methodology, cont’d.
• Walk through scenarios.
– See what works and doesn’t work.
• Refine the classes, responsibilities, and
collaborators.
• Add class relatoinships:
– superclass, subclass.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
EX: CRC cards for elevator
• Real-world classes:
– elevator car, passenger, floor control, car control,
car sensor.
• Architectural classes: car state, floor control
reader, car control reader, car control sender,
scheduler.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Quality Assurance
The quality of a product or service can be judged by how well it
satisfies its intended function.
The quality assurance (QA) process is vital for the delivery of a
satisfactory System.
In this section we will concentrate on portions of the methodology
particularly aimed at improving the quality of the resulting system.
“The pursuit of quality extends throughout the design flow.”
For example, settling on the proper requirements and
specification cannot be overlooked as an important determinant of
quality.
Quality assurance (QA) makes sure that all stages of the design
process help to deliver a quality product.
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Quality Assurance (QA)
( EX: The Therac-25 medical imaging system)
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Therac-25 Medical Imager
(Leveson and Turner)
• Six known accidents: radiation overdoses
leading to death and serious injury.
• Radiation gun controlled by PDP-11 mini
computer.
• Four major software components:
– stored data;
– scheduler;
– set of tasks;
– interrupt services.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Therac-25 tasks
• Treatment monitor controlled and monitored
setup and delivery of treatment in eight
phases.
• Servo task controlled radiation gun.
• Housekeeper task took care of status
interlocks and limit checks.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Treatment monitor task
• Treat was main monitor task.
– Eight subroutines.
– Treat rescheduled itself after every subroutine.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Software timing race
• Timing-dependent use of mode and energy:
– if keyboard handler sets completion behavior
before operator changes mode/energy data,
Datent task will not detect the change, but Hand
task will.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Software timing errors
• Changes to parameters made by operator may
show on screen but not be sensed by Datent
task.
• One accident caused by entering
mode/energy, changing mode/energy,
returning to command line in 8 seconds.
• Skilled operators typed faster, more likely to
exercise bug.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Leveson and Turner observations
• Performed limited safety analysis: guessed at
error probabilities, etc.
• Did not use mechanical backups to check
machine operation.
• Used overly complex programs written in
unreliable styles.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Quality Assurance Techniques
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
requirements
bug
Verification
• Verification and testing are important
throughout the design flow.
• Early bugs are more expensive to fix:
time
costtofix
coding bug
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Verifying requirements and
specification
• Requirements:
– prototypes;
– prototyping languages;
– pre-existing systems.
• Specifications:
– usage scenarios;
– formal techniques.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Design review
• Uses meetings to catch design flaws.
– Simple, low-cost.
– Proven by experiments to be effective.
• Use other people in the project/company to
help spot design problems.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Design review players
• Designers: present design to rest of team,
make changes.
• Review leader: coordinates process.
• Review scribe: takes notes of meetings.
• Review audience: looks for bugs.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Before the design review
• Design team prepares documents used to
describe the design.
• Leader recruits audience, coordinates
meetings, distributes handouts, etc.
• Audience members familiarize themselves
with the documents before they go to the
meeting.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Design review meeting
• Leader keeps meeting moving; scribe takes
notes.
• Designers present the design:
– use handouts;
– explain what is going on;
– go through details.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Design review audience
• Look for any problems:
– Is the design consistent with the specification?
– Is the interface correct?
– How well is the component’s internal architecture
designed?
– Did they use good design/coding practices?
– Is the testing strategy adequate?
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Follow-up
• Designers make suggested changes.
– Document changes.
• Leader checks on results of changes, may
distribute to audience for further review or
additional reviews.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Measurements
• Measurements help ground our beliefs:
– Do our practices really work?
– Do they work where we think they work?
• Types of measurements:
– bugs found at different stages of design;
– bugs as a function of time;
– bugs in different types of components;
– how bugs are found.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
NETWORKS AND
MULTIPROCESSORS
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Distributed or networked embedded systems
Networks
Interconnection of computers to share software, hardware, data
through a communication medium between them.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Need to have networks in Embedded Systems
Many embedded computing systems have more than 1 CPU ,
to use such systems we need networks to connect processor,
memory and devices
 NODE
 CLUSTER
DISTRIBUTED EMBEDDED SYSTEM
Single task is divided among multiple processors to achieve
common goals.
Processing elements (PEs) (either microprocessors orASICs)
are connected by a network that allows them to
communicate.
Facebook, Google S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Network elements
PE
PE
PE
network
communication link
distributed computing platform:
PEs may be CPUs or ASICs.
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Why distributed?
• Higher performance at lower cost.
• Real time performance
• Power consumption
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Categories of Multiprocessor
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
ARM MPcore
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Network abstractions
• International Standards Organization (ISO)
developed the Open Systems Interconnection (OSI)
model to describe networks:
– 7-layer model.
• Provides a standard way to classify network
components and operations.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
OSI model
physical mechanical, electrical
data link reliable data transport
network end-to-end service
transport connections
presentation data format
session application dialog control
application end-use interface
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
OSI layers
• Physical: connectors, bit formats, etc.
• Data link: error detection and control across a single
link (single hop).
• Network: end-to-end multi-hop data
communication.
• Transport: provides connections; may optimize
network resources.
• Session: services for end-user applications: data
grouping, checkpointing, etc.
• Presentation: data formats, transformation services.
• Application: interface between network and end-
user programs. S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Point-to-point networks
• One source, one or more destinations, no data
switching (serial port):
PE 1 PE 2 PE 3
link 1 link 2
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Bus networks
• Common physical connection:
PE 1 PE 2 PE 3 PE 4
header address data ECC packet format
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
CAN BUS
Controlled Area Network
Developed by BOSCH for automotive electronics
Low cost, minimum wires,
Serial communication
Multimaster Multislave
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
NETWORK MODEL OF CAN
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Physical layer
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
DATA FRAME
RTR=0- Read data
RTR=1—Write data
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
ARBITRATION
CSMA/AMP-Carrier Sense Multiple Access with
Arbitration on Message Passing
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
CAN ARCHITECTURE
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
I2C Bus
Inter Integrated Circuit
Serial communication
Synchronous communication
2 wire (SCL-clock,SDL-data) communication
I2C electrical interface
Open collector interface
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Ethernet
• Dominant non-telephone LAN.
• Versions: 10 Mb/s, 100 Mb/s, 1 Gb/s
• Goal: reliable communication over an
unreliable medium.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Ethernet topology
• Bus-based system, several possible physical
layers:
A B C
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
CSMA/CD
• Carrier sense multiple access with collision
detection:
– sense collisions;
– exponentially back off in time;
– retransmit.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Exponential back-off times
time
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Ethernet packet format
preamble
start
frame
source
adrs
dest
adrs
data
payload
length padding CRC
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Ethernet performance
• Quality-of-service tends to non-linearly
decrease at high load levels.
• Can’t guarantee real-time deadlines. However,
may provide very good service at proper load
levels.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Fieldbus
• Used for industrial control and
instrumentation---factories, etc.
• H1 standard based on 31.25 MB/s twisted pair
medium.
• High Speed Ethernet (HSE) standard based on
100 Mb/s Ethernet.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Multiprocessors
• Why multiprocessors?
• CPUs and accelerators.
• Multiprocessor performance analysis.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Why multiprocessors?
• Better cost/performance.
– Match each CPU to its tasks or use custom logic
(smaller, cheaper).
– CPU cost is a non-linear function of performance.
cost
performance
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Why multiprocessors? cont’d.
• Better real-time performance.
– Put time-critical functions on less-loaded
processing elements.
– Remember RMS utilization---extra CPU cycles
must be reserved to meet deadlines.
cost
performance
deadline
deadline w.
RMS overhead
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Why multiprocessors? cont’d.
• Using specialized
processors or custom
logic saves power.
• Desktop uniprocessors
are not power-efficient
enough for battery-
powered applications.
[Aus04] © 2004 IEEE Computer Society
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Why multiprocessors? cont’d.
• Good for processing I/O in real-time.
• May consume less energy.
• May be better at streaming data.
• May not be able to do all the work on even
the largest single CPU.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Accelerated systems
• Use additional computational unit dedicated
to some functions?
– Hardwired logic.
– Extra CPU.
• Hardware/software co-design: joint design of
hardware and software architectures.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Accelerator vs. co-processor
• A co-processor executes instructions.
– Instructions are dispatched by the CPU.
• An accelerator appears as a device on the bus.
– The accelerator is controlled by registers.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Accelerator implementations
• Application-specific integrated circuit.
• Field-programmable gate array (FPGA).
• Standard component.
– Example: graphics processor.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
System design tasks
• Design a heterogeneous multiprocessor
architecture.
– Processing element (PE): CPU, accelerator, etc.
• Program the system.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Accelerated system design
• First, determine that the system really needs
to be accelerated.
– How much faster is the accelerator on the core
function?
– How much data transfer overhead?
• Design the accelerator itself.
• Design CPU interface to accelerator.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Accelerated system platforms
• Several off-the-shelf boards are available for
acceleration in PCs:
– FPGA-based core;
– PC bus interface.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Accelerator/CPU interface
• Accelerator registers provide control registers
for CPU.
• Data registers can be used for small data
objects.
• Accelerator may include special-purpose
read/write logic.
– Especially valuable for large data transfers.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Accelerator speedup
• Critical parameter is speedup: how much
faster is the system with the accelerator?
• Must take into account:
– Accelerator execution time.
– Data transfer time.
– Synchronization with the master CPU.
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Accelerator execution time
• Total accelerator execution time:
– taccel = tin + tx + tout
Data input
Accelerated
computation
Data output
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Accelerator speedup
• Assume loop is executed n times.
• Compare accelerated system to non-
accelerated system:
– S = n(tCPU - taccel)
– = n[tCPU - (tin + tx + tout)]
Execution time on CPU
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
System On Chip - SoC
Agenda
• Introduction .
• What is SoC ?
• SoC characteristics .
• Benefits and drawbacks .
• Solution .
• Major SoC Applications .
• Summary .
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Introduction
• Technological Advances
– today’s chip can contains 100M transistors .
– transistor gate lengths are now in term of nano meters .
– approximately every 18 months the number of transistors on a
chip doubles – Moore’s law .
• The Consequences
– components connected on a Printed Circuit Board can now be
integrated onto single chip .
– hence the development of System-On-Chip design .
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
Agenda
• Introduction .
• What is SoC ?
• SoC characteristics .
• Benefits and drawbacks .
• Solution .
• Major SoC Applications .
• Summary .
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
What is SoC ?
People A:
The VLSI manufacturing technology advances has made possible to put
millions of transistors on a single die. It enables designers to put systems-
on-a-chip that move everything from the board onto the chip eventually.
People B:
SoC is a high performance microprocessor, since we can program
and give instruction to the uP to do whatever you want to do.
People C:
SoC is the efforts to integrate heterogeneous or different types of silicon
IPs on to the same chip, like memory, uP, random logics, and analog
circuitry.
All of the above are partially right, but not very accurate!!!
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
What is SoC ?
SoC not only chip, but more on “system”.
SoC = Chip + Software + Integration
The SoC chip includes:
Embedded processor
ASIC Logics and analog circuitry
Embedded memory
The SoC Software includes:
OS, compiler, simulator, firmware, driver, protocol stackIntegrated
development environment (debugger, linker, ICE)Application interface
(C/C++, assembly)
The SoC Integration includes :
The whole system solution
Manufacture consultant
Technical Supporting
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Agenda
• Introduction .
• What is SoC ?
• SoC characteristics .
• Benefits and drawbacks .
• Solution .
• Major SoC Applications .
• Summary .
S. Rajalakshmi AP/ECE, RMKCET
EC6703-Embedded and Real Time Systems
System on Chip architecture
Top Level Design
Unit Block Design
Integration and Synthesis
Trial Netlists
System Level Verification
Timing Convergence
& Verification
Fabrication
DVT
DVT Prep
6 12 12 4 14 ?? 5 8 Time in Weeks
Time to Mask order48
61
Unit Block Verification
ASIC Typical Design Steps • Typical ASIC
design can take
up to two years
to complete
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
System on Chip architecture
Top Level Design
Unit Block Design
Integration and Synthesis
Trial Netlists
System Level Verification
Timing Convergence
& Verification
Fabrication
DVT
DVT Prep
4 14 5 4
Time in Weeks
Time to Mask order24
33
Unit Block Verification
4 2
• With increasing Complexity of IC’s
and decreasing Geometry, IC Vendor
steps of Placement, Layout and
Fabrication are unlikely to be greatly
reduced
• In fact there is a greater risk that
Timing Convergence steps will
involve more iteration.
• Need to reduce time before Vendor
Steps.
• Need to consider Layout issues up-
front.
SoC Typical Design Steps
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
System on Chip interconnection
• Design reuse is facilitated if “standard” internal
connection buses are used .
• All cores connect to the bus via a standard
interface .
• Any-to-any connections easy but …
– Not all connections are necessary .
– Global clocking scheme .
– Power consumption .
• Standardization is being addressed by the Virtual
Socket Interface Alliance (VSIA)
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
System on Chip interconnection
• AMBA (Advanced Microcontroller Bus
Architecture) is a collection of buses from ARM
for satisfying a range of different criteria.
• APB (Advanced Peripheral Bus): simple strobed-
access bus with minimal interface complexity.
Suitable for hosting peripherals.
• ASB (Advanced System Bus): a multimaster
synchronous system bus.
• AHB (Advanced High Performance Bus): a high-
throughput synchronous system backbone. Burst
transfers and split transactions.
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
System on Chip cores
• One solution to the design productivity gap is
to make ASIC designs more standardized by
reusing segments of previously manufactured
chips.
• These segments are known as “blocks”,
“macros”, “cores” or “cells”.
• The blocks can either be developed in-house or
licensed from an IP company.
• Cores are the basic building blocks .
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
System on Chip cores
• Soft Macro
– Reusable synthesizable RTL or netlist of generic library elements
– User of the core is responsible for the implementation and layout
• Firm Macro
– Structurally and topologically optimized for performance and area
through floor planning and placement
– Exist as synthesized code or as a netlist of generic library elements
• Hard Macro
– Reusable blocks optimized for performance, power, size and mapped to
a specific process technology
– Exist as fully placed and routed netlist and as a fixed layout such as in
GDSII format .
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
System on Chip cores
Reusability
portability
flexibility
Predictability, performance, time to market
Soft
core
Firm
core
Hard
core
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
System on Chip cores
• Locating the required cores and associated
contract discussions can be a lengthy process
– Identification of IP vendors
– Evaluation criteria
– Comparative evaluation exercise
– Choice of core
– Contract negotiations
• Reuse restrictions
• Costs: license, royalty, tool costs
– Core integration, simulation and verification
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Agenda
• Introduction .
• What is SoC ?
• SoC characteristics .
• Benefits and drawbacks .
• Solution .
• Major SoC Applications .
• Summary .
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
The Benefits
• There are several benefits in integrating a large
digital system into a single integrated circuit .
• These include
– Lower cost per gate .
– Lower power consumption .
– Faster circuit operation .
– More reliable implementation .
– Smaller physical size .
– Greater design security .
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
The Drawbacks
• The principle drawbacks of SoC design are
associated with the design pressures imposed
on today’s engineers , such as :
– Time-to-market demands .
– Exponential fabrication cost .
– Increased system complexity .
– Increased verification requirements .
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Design gap
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Agenda
• Introduction .
• What is SoC ?
• SoC characteristics .
• Benefits and drawbacks .
• Solution .
• Major SoC Applications .
• Summary .
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Solution is Design Re-use
• Overcome complexity and verification issues by designing
Intellectual Property (IP) to be re-usable .
• Done on such a scale that a new industry has been developed.
• Design activity is split into two groups:
– IP Authors – producers .
– IP Integrators – consumers .
• IP Authors produce fully verified IP libraries
– Thus making overall verification task more manageable
• IP Integrators select, evaluate, integrate IP from multiple
vendors
– IP integrated onto Integration Platform designed with
specific application in mind
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Agenda
• Introduction .
• What is SoC ?
• SoC characteristics .
• Benefits and drawbacks .
• Solution .
• Major SoC Applications .
• Summary .
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Major SoC Applications
• Speech Signal Processing .
• Image and Video Signal Processing .
• Information Technologies
– PC interface (USB, PCI,PCI-Express, IDE,..etc)
Computer peripheries (printer control, LCD monitor
controller, DVD controller,.etc) .
• Data Communication
– Wireline Communication: 10/100 Based-T, xDSL,
Gigabit Ethernet,.. Etc
– Wireless communication: BlueTooth, WLAN,
2G/3G/4G, WiMax, UWB, …,etc
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Agenda
• Introduction .
• What is SoC ?
• SoC characteristics .
• Benefits and drawbacks .
• Solution .
• Major SoC Applications .
• Summary .
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
Summary
• Technological advances mean that complete systems
can now be implemented on a single chip .
• The benefits that this brings are significant in terms of
speed , area and power .
• The drawbacks are that these systems are extremely
complex requiring amounts of verification .
• The solution is to design and verify re-useable IP .
S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems

More Related Content

What's hot

RTOS implementation
RTOS implementationRTOS implementation
RTOS implementation
Rajan Kumar
 
Pipelining approach
Pipelining approachPipelining approach
Pipelining approach
GopinathD17
 
Classification of embedded systems
Classification of embedded systemsClassification of embedded systems
Classification of embedded systems
Vikas Dongre
 
Embedded development life cycle
Embedded development life cycleEmbedded development life cycle
Embedded development life cycle
Revathi Subramaniam
 
How to Measure RTOS Performance
How to Measure RTOS Performance How to Measure RTOS Performance
How to Measure RTOS Performance
mentoresd
 
ARM Processor
ARM ProcessorARM Processor
ARM Processor
Aniket Thakur
 
Introduction to embedded system design
Introduction to embedded system designIntroduction to embedded system design
Introduction to embedded system design
Mukesh Bansal
 
Processes and operating systems
Processes and operating systemsProcesses and operating systems
Processes and operating systems
RAMPRAKASHT1
 
Real Time Systems
Real Time SystemsReal Time Systems
Real Time Systems
Deepak John
 
ucOS
ucOSucOS
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systems
mahalakshmimalini
 
EC8791 UML-model train controller
EC8791 UML-model train controllerEC8791 UML-model train controller
EC8791 UML-model train controller
RajalakshmiSermadurai
 
Characteristics and Quality Attributes of Embedded System
Characteristics and Quality Attributes of Embedded SystemCharacteristics and Quality Attributes of Embedded System
Characteristics and Quality Attributes of Embedded System
anand hd
 
Parallel Programing Model
Parallel Programing ModelParallel Programing Model
Parallel Programing ModelAdlin Jeena
 
Lect 2 ARM processor architecture
Lect 2 ARM processor architectureLect 2 ARM processor architecture
Lect 2 ARM processor architecture
Dr.YNM
 
SOC Interconnects: AMBA & CoreConnect
SOC Interconnects: AMBA  & CoreConnectSOC Interconnects: AMBA  & CoreConnect
SOC Interconnects: AMBA & CoreConnect
A B Shinde
 
Hardware Software Codesign
Hardware Software CodesignHardware Software Codesign
Hardware Software Codesigndestruck
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded SystemsHimanshu Ghetia
 

What's hot (20)

RTOS implementation
RTOS implementationRTOS implementation
RTOS implementation
 
Pipelining approach
Pipelining approachPipelining approach
Pipelining approach
 
Classification of embedded systems
Classification of embedded systemsClassification of embedded systems
Classification of embedded systems
 
E.s unit 4 and 5
E.s unit 4 and 5E.s unit 4 and 5
E.s unit 4 and 5
 
Embedded development life cycle
Embedded development life cycleEmbedded development life cycle
Embedded development life cycle
 
How to Measure RTOS Performance
How to Measure RTOS Performance How to Measure RTOS Performance
How to Measure RTOS Performance
 
ARM Architecture
ARM ArchitectureARM Architecture
ARM Architecture
 
ARM Processor
ARM ProcessorARM Processor
ARM Processor
 
Introduction to embedded system design
Introduction to embedded system designIntroduction to embedded system design
Introduction to embedded system design
 
Processes and operating systems
Processes and operating systemsProcesses and operating systems
Processes and operating systems
 
Real Time Systems
Real Time SystemsReal Time Systems
Real Time Systems
 
ucOS
ucOSucOS
ucOS
 
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systems
 
EC8791 UML-model train controller
EC8791 UML-model train controllerEC8791 UML-model train controller
EC8791 UML-model train controller
 
Characteristics and Quality Attributes of Embedded System
Characteristics and Quality Attributes of Embedded SystemCharacteristics and Quality Attributes of Embedded System
Characteristics and Quality Attributes of Embedded System
 
Parallel Programing Model
Parallel Programing ModelParallel Programing Model
Parallel Programing Model
 
Lect 2 ARM processor architecture
Lect 2 ARM processor architectureLect 2 ARM processor architecture
Lect 2 ARM processor architecture
 
SOC Interconnects: AMBA & CoreConnect
SOC Interconnects: AMBA  & CoreConnectSOC Interconnects: AMBA  & CoreConnect
SOC Interconnects: AMBA & CoreConnect
 
Hardware Software Codesign
Hardware Software CodesignHardware Software Codesign
Hardware Software Codesign
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded Systems
 

Similar to EC6703 unit-4

Unit 1b
Unit 1bUnit 1b
Unit 1b
Karthik Vivek
 
Token engineering presentation 5 13-18
Token engineering presentation 5 13-18Token engineering presentation 5 13-18
Token engineering presentation 5 13-18
Michael Zargham
 
System on Chip Design and Modelling Dr. David J Greaves
System on Chip Design and Modelling   Dr. David J GreavesSystem on Chip Design and Modelling   Dr. David J Greaves
System on Chip Design and Modelling Dr. David J Greaves
Satya Harish
 
EC8791 Requirement-Specifications-Quality assurance techniques
EC8791 Requirement-Specifications-Quality assurance techniquesEC8791 Requirement-Specifications-Quality assurance techniques
EC8791 Requirement-Specifications-Quality assurance techniques
RajalakshmiSermadurai
 
IC Design Physical Verification
IC Design Physical VerificationIC Design Physical Verification
IC Design Physical Verification
IRJET Journal
 
WINSEM2023-24_BCSE429L_TH_CH2023240501528_Reference_Material_III_S3-Homoheter...
WINSEM2023-24_BCSE429L_TH_CH2023240501528_Reference_Material_III_S3-Homoheter...WINSEM2023-24_BCSE429L_TH_CH2023240501528_Reference_Material_III_S3-Homoheter...
WINSEM2023-24_BCSE429L_TH_CH2023240501528_Reference_Material_III_S3-Homoheter...
KumarSuman24
 
Webinar on Latency and throughput computation of automotive EE network
Webinar on Latency and throughput computation of automotive EE networkWebinar on Latency and throughput computation of automotive EE network
Webinar on Latency and throughput computation of automotive EE network
Deepak Shankar
 
Introduction to Modeling and Simulations.ppt
Introduction to Modeling and Simulations.pptIntroduction to Modeling and Simulations.ppt
Introduction to Modeling and Simulations.ppt
QasimAli493018
 
Performance Evaluation using Blackboard Technique in Software Architecture
Performance Evaluation using Blackboard Technique in Software ArchitecturePerformance Evaluation using Blackboard Technique in Software Architecture
Performance Evaluation using Blackboard Technique in Software Architecture
Editor IJCATR
 
System design techniques and networks
System design techniques and networksSystem design techniques and networks
System design techniques and networks
RAMPRAKASHT1
 
PPT Lecture 2.3.4 Cursortttttttttttttttttttttttttttttttts.pptx
PPT Lecture 2.3.4 Cursortttttttttttttttttttttttttttttttts.pptxPPT Lecture 2.3.4 Cursortttttttttttttttttttttttttttttttts.pptx
PPT Lecture 2.3.4 Cursortttttttttttttttttttttttttttttttts.pptx
amansharma1723
 
SOA Mainframe Service Architecture and Enablement Practices Best and Worst Pr...
SOA Mainframe Service Architecture and Enablement Practices Best and Worst Pr...SOA Mainframe Service Architecture and Enablement Practices Best and Worst Pr...
SOA Mainframe Service Architecture and Enablement Practices Best and Worst Pr...
Michael Erichsen
 
Towards a metamodel for the Rubus Component Model
Towards a metamodel for the Rubus Component ModelTowards a metamodel for the Rubus Component Model
Towards a metamodel for the Rubus Component Model
Alessio Bucaioni
 
Approaches to formal verification of ams design
Approaches to formal verification of ams designApproaches to formal verification of ams design
Approaches to formal verification of ams design
Ambuj Mishra
 
Co-Simulation Interfacing Capabilities in Device-Level Power Electronic Circu...
Co-Simulation Interfacing Capabilities in Device-Level Power Electronic Circu...Co-Simulation Interfacing Capabilities in Device-Level Power Electronic Circu...
Co-Simulation Interfacing Capabilities in Device-Level Power Electronic Circu...
IJPEDS-IAES
 
Brian muirhead v1-27-12
Brian muirhead v1-27-12Brian muirhead v1-27-12
Brian muirhead v1-27-12NASAPMC
 
Tsmc us recruitment fresh final copy
Tsmc us recruitment fresh final copyTsmc us recruitment fresh final copy
Tsmc us recruitment fresh final copy
Uiuc Tsa
 
Using VisualSim Architect for Semiconductor System Analysis
Using VisualSim Architect for Semiconductor System AnalysisUsing VisualSim Architect for Semiconductor System Analysis
Using VisualSim Architect for Semiconductor System Analysis
Deepak Shankar
 
Migrating Legacy Spreadsheets-based Systems to Web MVC architecture: an Indus...
Migrating Legacy Spreadsheets-based Systems to Web MVC architecture: an Indus...Migrating Legacy Spreadsheets-based Systems to Web MVC architecture: an Indus...
Migrating Legacy Spreadsheets-based Systems to Web MVC architecture: an Indus...
REvERSE University of Naples Federico II
 

Similar to EC6703 unit-4 (20)

Unit 1b
Unit 1bUnit 1b
Unit 1b
 
Token engineering presentation 5 13-18
Token engineering presentation 5 13-18Token engineering presentation 5 13-18
Token engineering presentation 5 13-18
 
System on Chip Design and Modelling Dr. David J Greaves
System on Chip Design and Modelling   Dr. David J GreavesSystem on Chip Design and Modelling   Dr. David J Greaves
System on Chip Design and Modelling Dr. David J Greaves
 
EC8791 Requirement-Specifications-Quality assurance techniques
EC8791 Requirement-Specifications-Quality assurance techniquesEC8791 Requirement-Specifications-Quality assurance techniques
EC8791 Requirement-Specifications-Quality assurance techniques
 
IC Design Physical Verification
IC Design Physical VerificationIC Design Physical Verification
IC Design Physical Verification
 
WINSEM2023-24_BCSE429L_TH_CH2023240501528_Reference_Material_III_S3-Homoheter...
WINSEM2023-24_BCSE429L_TH_CH2023240501528_Reference_Material_III_S3-Homoheter...WINSEM2023-24_BCSE429L_TH_CH2023240501528_Reference_Material_III_S3-Homoheter...
WINSEM2023-24_BCSE429L_TH_CH2023240501528_Reference_Material_III_S3-Homoheter...
 
Webinar on Latency and throughput computation of automotive EE network
Webinar on Latency and throughput computation of automotive EE networkWebinar on Latency and throughput computation of automotive EE network
Webinar on Latency and throughput computation of automotive EE network
 
Introduction to Modeling and Simulations.ppt
Introduction to Modeling and Simulations.pptIntroduction to Modeling and Simulations.ppt
Introduction to Modeling and Simulations.ppt
 
Performance Evaluation using Blackboard Technique in Software Architecture
Performance Evaluation using Blackboard Technique in Software ArchitecturePerformance Evaluation using Blackboard Technique in Software Architecture
Performance Evaluation using Blackboard Technique in Software Architecture
 
System design techniques and networks
System design techniques and networksSystem design techniques and networks
System design techniques and networks
 
PPT Lecture 2.3.4 Cursortttttttttttttttttttttttttttttttts.pptx
PPT Lecture 2.3.4 Cursortttttttttttttttttttttttttttttttts.pptxPPT Lecture 2.3.4 Cursortttttttttttttttttttttttttttttttts.pptx
PPT Lecture 2.3.4 Cursortttttttttttttttttttttttttttttttts.pptx
 
SOA Mainframe Service Architecture and Enablement Practices Best and Worst Pr...
SOA Mainframe Service Architecture and Enablement Practices Best and Worst Pr...SOA Mainframe Service Architecture and Enablement Practices Best and Worst Pr...
SOA Mainframe Service Architecture and Enablement Practices Best and Worst Pr...
 
Towards a metamodel for the Rubus Component Model
Towards a metamodel for the Rubus Component ModelTowards a metamodel for the Rubus Component Model
Towards a metamodel for the Rubus Component Model
 
Approaches to formal verification of ams design
Approaches to formal verification of ams designApproaches to formal verification of ams design
Approaches to formal verification of ams design
 
Co-Simulation Interfacing Capabilities in Device-Level Power Electronic Circu...
Co-Simulation Interfacing Capabilities in Device-Level Power Electronic Circu...Co-Simulation Interfacing Capabilities in Device-Level Power Electronic Circu...
Co-Simulation Interfacing Capabilities in Device-Level Power Electronic Circu...
 
Brian muirhead v1-27-12
Brian muirhead v1-27-12Brian muirhead v1-27-12
Brian muirhead v1-27-12
 
Tsmc us recruitment fresh final copy
Tsmc us recruitment fresh final copyTsmc us recruitment fresh final copy
Tsmc us recruitment fresh final copy
 
Using VisualSim Architect for Semiconductor System Analysis
Using VisualSim Architect for Semiconductor System AnalysisUsing VisualSim Architect for Semiconductor System Analysis
Using VisualSim Architect for Semiconductor System Analysis
 
10 3
10 310 3
10 3
 
Migrating Legacy Spreadsheets-based Systems to Web MVC architecture: an Indus...
Migrating Legacy Spreadsheets-based Systems to Web MVC architecture: an Indus...Migrating Legacy Spreadsheets-based Systems to Web MVC architecture: an Indus...
Migrating Legacy Spreadsheets-based Systems to Web MVC architecture: an Indus...
 

More from RajalakshmiSermadurai

Ec8791 arm 9 processor
Ec8791 arm 9 processorEc8791 arm 9 processor
Ec8791 arm 9 processor
RajalakshmiSermadurai
 
Ec8791 lpc2148 pwm
Ec8791 lpc2148 pwmEc8791 lpc2148 pwm
Ec8791 lpc2148 pwm
RajalakshmiSermadurai
 
Ec8791 lpc2148 uart
Ec8791 lpc2148 uartEc8791 lpc2148 uart
Ec8791 lpc2148 uart
RajalakshmiSermadurai
 
Ec8791 lpc2148
Ec8791 lpc2148Ec8791 lpc2148
Ec8791 lpc2148
RajalakshmiSermadurai
 
Ec8791 lpc2148 timer unit
Ec8791 lpc2148 timer unitEc8791 lpc2148 timer unit
Ec8791 lpc2148 timer unit
RajalakshmiSermadurai
 
EC8791 consumer electronics-platform level performance analysis
EC8791 consumer electronics-platform level performance analysisEC8791 consumer electronics-platform level performance analysis
EC8791 consumer electronics-platform level performance analysis
RajalakshmiSermadurai
 
EC8791 designing with computing platform
EC8791 designing with computing platformEC8791 designing with computing platform
EC8791 designing with computing platform
RajalakshmiSermadurai
 
EC8791 Design Methodologies
EC8791 Design MethodologiesEC8791 Design Methodologies
EC8791 Design Methodologies
RajalakshmiSermadurai
 
Task assignment and scheduling
Task assignment and schedulingTask assignment and scheduling
Task assignment and scheduling
RajalakshmiSermadurai
 
Fault tolerance techniques
Fault tolerance techniquesFault tolerance techniques
Fault tolerance techniques
RajalakshmiSermadurai
 
Estimating program run time
Estimating program run timeEstimating program run time
Estimating program run time
RajalakshmiSermadurai
 
Introduction and structure of a real time system
Introduction and structure of a real time systemIntroduction and structure of a real time system
Introduction and structure of a real time system
RajalakshmiSermadurai
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design process
RajalakshmiSermadurai
 
Embedded system introduction
Embedded system introductionEmbedded system introduction
Embedded system introduction
RajalakshmiSermadurai
 

More from RajalakshmiSermadurai (14)

Ec8791 arm 9 processor
Ec8791 arm 9 processorEc8791 arm 9 processor
Ec8791 arm 9 processor
 
Ec8791 lpc2148 pwm
Ec8791 lpc2148 pwmEc8791 lpc2148 pwm
Ec8791 lpc2148 pwm
 
Ec8791 lpc2148 uart
Ec8791 lpc2148 uartEc8791 lpc2148 uart
Ec8791 lpc2148 uart
 
Ec8791 lpc2148
Ec8791 lpc2148Ec8791 lpc2148
Ec8791 lpc2148
 
Ec8791 lpc2148 timer unit
Ec8791 lpc2148 timer unitEc8791 lpc2148 timer unit
Ec8791 lpc2148 timer unit
 
EC8791 consumer electronics-platform level performance analysis
EC8791 consumer electronics-platform level performance analysisEC8791 consumer electronics-platform level performance analysis
EC8791 consumer electronics-platform level performance analysis
 
EC8791 designing with computing platform
EC8791 designing with computing platformEC8791 designing with computing platform
EC8791 designing with computing platform
 
EC8791 Design Methodologies
EC8791 Design MethodologiesEC8791 Design Methodologies
EC8791 Design Methodologies
 
Task assignment and scheduling
Task assignment and schedulingTask assignment and scheduling
Task assignment and scheduling
 
Fault tolerance techniques
Fault tolerance techniquesFault tolerance techniques
Fault tolerance techniques
 
Estimating program run time
Estimating program run timeEstimating program run time
Estimating program run time
 
Introduction and structure of a real time system
Introduction and structure of a real time systemIntroduction and structure of a real time system
Introduction and structure of a real time system
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design process
 
Embedded system introduction
Embedded system introductionEmbedded system introduction
Embedded system introduction
 

Recently uploaded

MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
Kamal Acharya
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
The Role of Electrical and Electronics Engineers in IOT Technology.pdf
The Role of Electrical and Electronics Engineers in IOT Technology.pdfThe Role of Electrical and Electronics Engineers in IOT Technology.pdf
The Role of Electrical and Electronics Engineers in IOT Technology.pdf
Nettur Technical Training Foundation
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERSCW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
veerababupersonal22
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 

Recently uploaded (20)

MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
The Role of Electrical and Electronics Engineers in IOT Technology.pdf
The Role of Electrical and Electronics Engineers in IOT Technology.pdfThe Role of Electrical and Electronics Engineers in IOT Technology.pdf
The Role of Electrical and Electronics Engineers in IOT Technology.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERSCW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 

EC6703 unit-4

  • 2. UNIT- 4 SYSTEM DESIGN TECHNIQUES AND NETWORKS Prepared by, S. Rajalakshmi Assistant Professor/ECE RMK College of Engineering and Technology S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 3.  Design methodologies  Design flows  Requirement Analysis  Specifications System analysis and architecture design Quality Assurance techniques Distributed embedded systems MPSoCs and shared memory multiprocessors. UNIT IV SYSTEM DESIGN TECHNIQUES AND NETWORKS S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 4. In this chapter we consider the techniques required to create complex embedded systems. Thus far, our design examples have been small so that important concepts can be conveyed relatively simply. However, most real embedded system designs are inherently complex, given that their functional specifications are rich and they must obey multiple other requirements on cost, performance, and so on. We need methodologies to help guide our design decisions when designing large systems. INTRODUCTION S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 5. The obvious goal of a design process is to create a product that does something useful. Typical specifications for a product will include functionality (e.g., cell phone), manufacturing cost (must have a retail price below $200), Performance (must power up within 3 s), power consumption (must run for 12 h on two AA batteries), or  other properties. a design process has several important goals beyond function, performance, and power. Three of these goals are summarized below. ■ Time-to-market -beat competitors to market ■ Design cost ■ Quality S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 6. Design flow • Design flow: sequence of steps in a design methodology. • May be partially or fully automated. – Use tools to transform, verify design. • Design flow is one component of methodology. Methodology also includes management organization, etc. • Models S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 7. 1. Waterfall model • Early model for software development: requirements architecture coding testing maintenance Introduced by Royce , the first model proposed for the software development process. The waterfall model gets its name from the largely one-way flow of work and information from higher levels of abstraction to more detailed design steps S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 8. 2.Spiral model requirements design test system feasibility specification prototype initial system enhanced system S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 9. Successive refinement model specify architect design build test initial system specify architect design build test refined system The system is built several times. A first system is used as a rough prototype, and successive models of the system are further refined. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 10. Hardware/software design flow requirements and specification architecture hardware design software design integration testing S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 11. Co-design methodology • Must architect hardware and software together: – provide sufficient resources; – avoid software bottlenecks. • Can build pieces somewhat independently, but integration is major step. • Also requires bottom-up feedback. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 12. Hierarchical design flow • Embedded systems must be designed across multiple levels of abstraction: – system architecture; – hardware and software systems; – hardware and software components. • Often need design flows within design flows. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 13. A hierarchical design flow for an embedded system. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 14. Concurrent engineering techniques • Cross-functional teams. • Concurrent product realization. • Incremental information sharing. • Integrated product management. • Early and continual supplier involvement • Early and continual customer focus S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 15. AT&T PBX concurrent engineering • Benchmark against competitors. • Identify breakthrough improvements. • Characterize current process. • Create new process. • Verify new process. • Implement. • Measure results and improve. EX: Concurrent engineering applied to telephone systems S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 16. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 17. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 18. Requirements analysis • Requirements: informal description of what customer wants. • Specification: precise description of what design team should deliver. • The overall goal of creating a requirements document is effective communication between the customers and the designers. The designers should know what they are expected to design for the customers S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 19. Types of requirements • Functional: input/output relationships.( FFT ) • Non-functional: – timing; – power consumption; – manufacturing cost; – physical size; – time-to-market; – reliability. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 20. Setting requirements • Customer interviews. • Comparison with competitors. • Sales feedback. • Mock-ups, prototypes. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 21. Specifications • Capture functional and non-functional properties: – verify correctness of spec; – compare spec to implementation. • Many specification styles: – control-oriented vs. data-oriented; – textual vs. graphical. • UML is one specification/design language. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 22. 1.SDL • State machine specification language is the SDL language which was developed by the communications industry for specifying communication protocols, telephone systems, and so forth. • Event-oriented state machine model. telephone on-hook dial tone caller goes off-hook caller gets dial tone S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 23. The SDL specification language S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 24. 2.State charts • Ancestor of UML state diagrams. • Provided composite states: – OR states; – AND states. • Composite states reduce the size of the state transition graph. Other techniques can be used to eliminate clutter and clarify the important structure of a state-based specification. The State chart is one well-known technique for state-based specification S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 25. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 26. 3. AND-OR tables • Alternate way of specifying complex conditions: cond1 T - cond2 - T cond3 - F AND OR Leveson et al. [Lev94] used a different format, the AND/OR table, to describe similar relationships between states S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 27. TCAS II specification • TCAS II: aircraft collision avoidance system. • Monitors aircraft and air traffic info. • Provides audio warnings and directives to avoid collisions. • Leveson et al used RMSL language to capture the TCAS specification. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 28. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 29. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 30. System analysis and architecture design • In this section we consider how to turn a specification into an architecture design. • we look at how to get a handle on the overall system architecture. • The CRC card methodology is a well-known and useful way to help analyze a system’s structure. • It is particularly well suited to object-oriented design since it encourages the encapsulation of data and functions. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 31. CRC cards • The acronym CRC stands for the following three major items that the methodology tries to identify: CRC: – Classes; – Responsibilities of each class; – Collaborators are other classes that work with a class. • Team-oriented methodology. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 32. CRC card format Class name: Superclasses: Subclasses: Responsibilities: Collaborators: Class name: Class’s function: Attributes: front back S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 33. CRC methodology, cont’d. • Walk through scenarios. – See what works and doesn’t work. • Refine the classes, responsibilities, and collaborators. • Add class relatoinships: – superclass, subclass. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 34. EX: CRC cards for elevator • Real-world classes: – elevator car, passenger, floor control, car control, car sensor. • Architectural classes: car state, floor control reader, car control reader, car control sender, scheduler. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 35. Quality Assurance The quality of a product or service can be judged by how well it satisfies its intended function. The quality assurance (QA) process is vital for the delivery of a satisfactory System. In this section we will concentrate on portions of the methodology particularly aimed at improving the quality of the resulting system. “The pursuit of quality extends throughout the design flow.” For example, settling on the proper requirements and specification cannot be overlooked as an important determinant of quality. Quality assurance (QA) makes sure that all stages of the design process help to deliver a quality product. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 36. Quality Assurance (QA) ( EX: The Therac-25 medical imaging system) S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 37. Therac-25 Medical Imager (Leveson and Turner) • Six known accidents: radiation overdoses leading to death and serious injury. • Radiation gun controlled by PDP-11 mini computer. • Four major software components: – stored data; – scheduler; – set of tasks; – interrupt services. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 38. Therac-25 tasks • Treatment monitor controlled and monitored setup and delivery of treatment in eight phases. • Servo task controlled radiation gun. • Housekeeper task took care of status interlocks and limit checks. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 39. Treatment monitor task • Treat was main monitor task. – Eight subroutines. – Treat rescheduled itself after every subroutine. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 40. Software timing race • Timing-dependent use of mode and energy: – if keyboard handler sets completion behavior before operator changes mode/energy data, Datent task will not detect the change, but Hand task will. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 41. Software timing errors • Changes to parameters made by operator may show on screen but not be sensed by Datent task. • One accident caused by entering mode/energy, changing mode/energy, returning to command line in 8 seconds. • Skilled operators typed faster, more likely to exercise bug. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 42. Leveson and Turner observations • Performed limited safety analysis: guessed at error probabilities, etc. • Did not use mechanical backups to check machine operation. • Used overly complex programs written in unreliable styles. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 43. Quality Assurance Techniques S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 44. requirements bug Verification • Verification and testing are important throughout the design flow. • Early bugs are more expensive to fix: time costtofix coding bug S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 45. Verifying requirements and specification • Requirements: – prototypes; – prototyping languages; – pre-existing systems. • Specifications: – usage scenarios; – formal techniques. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 46. Design review • Uses meetings to catch design flaws. – Simple, low-cost. – Proven by experiments to be effective. • Use other people in the project/company to help spot design problems. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 47. Design review players • Designers: present design to rest of team, make changes. • Review leader: coordinates process. • Review scribe: takes notes of meetings. • Review audience: looks for bugs. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 48. Before the design review • Design team prepares documents used to describe the design. • Leader recruits audience, coordinates meetings, distributes handouts, etc. • Audience members familiarize themselves with the documents before they go to the meeting. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 49. Design review meeting • Leader keeps meeting moving; scribe takes notes. • Designers present the design: – use handouts; – explain what is going on; – go through details. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 50. Design review audience • Look for any problems: – Is the design consistent with the specification? – Is the interface correct? – How well is the component’s internal architecture designed? – Did they use good design/coding practices? – Is the testing strategy adequate? S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 51. Follow-up • Designers make suggested changes. – Document changes. • Leader checks on results of changes, may distribute to audience for further review or additional reviews. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 52. Measurements • Measurements help ground our beliefs: – Do our practices really work? – Do they work where we think they work? • Types of measurements: – bugs found at different stages of design; – bugs as a function of time; – bugs in different types of components; – how bugs are found. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 53. NETWORKS AND MULTIPROCESSORS S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 54. Distributed or networked embedded systems Networks Interconnection of computers to share software, hardware, data through a communication medium between them. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 55. Need to have networks in Embedded Systems Many embedded computing systems have more than 1 CPU , to use such systems we need networks to connect processor, memory and devices  NODE  CLUSTER DISTRIBUTED EMBEDDED SYSTEM Single task is divided among multiple processors to achieve common goals. Processing elements (PEs) (either microprocessors orASICs) are connected by a network that allows them to communicate. Facebook, Google S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 56. Network elements PE PE PE network communication link distributed computing platform: PEs may be CPUs or ASICs. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 57. Why distributed? • Higher performance at lower cost. • Real time performance • Power consumption S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 58. Categories of Multiprocessor S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 59. ARM MPcore S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 60. Network abstractions • International Standards Organization (ISO) developed the Open Systems Interconnection (OSI) model to describe networks: – 7-layer model. • Provides a standard way to classify network components and operations. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 61. OSI model physical mechanical, electrical data link reliable data transport network end-to-end service transport connections presentation data format session application dialog control application end-use interface S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 62. OSI layers • Physical: connectors, bit formats, etc. • Data link: error detection and control across a single link (single hop). • Network: end-to-end multi-hop data communication. • Transport: provides connections; may optimize network resources. • Session: services for end-user applications: data grouping, checkpointing, etc. • Presentation: data formats, transformation services. • Application: interface between network and end- user programs. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 63. Point-to-point networks • One source, one or more destinations, no data switching (serial port): PE 1 PE 2 PE 3 link 1 link 2 S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 64. Bus networks • Common physical connection: PE 1 PE 2 PE 3 PE 4 header address data ECC packet format S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 65. CAN BUS Controlled Area Network Developed by BOSCH for automotive electronics Low cost, minimum wires, Serial communication Multimaster Multislave S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 66. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 67. NETWORK MODEL OF CAN S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 68. Physical layer S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 69. DATA FRAME RTR=0- Read data RTR=1—Write data S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 70. ARBITRATION CSMA/AMP-Carrier Sense Multiple Access with Arbitration on Message Passing S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 71. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 72. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 73. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 74. CAN ARCHITECTURE S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 75. I2C Bus Inter Integrated Circuit Serial communication Synchronous communication 2 wire (SCL-clock,SDL-data) communication I2C electrical interface Open collector interface S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 76. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 77. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 78. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 79. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 80. Ethernet • Dominant non-telephone LAN. • Versions: 10 Mb/s, 100 Mb/s, 1 Gb/s • Goal: reliable communication over an unreliable medium. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 81. Ethernet topology • Bus-based system, several possible physical layers: A B C S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 82. CSMA/CD • Carrier sense multiple access with collision detection: – sense collisions; – exponentially back off in time; – retransmit. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 83. Exponential back-off times time S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 84. Ethernet packet format preamble start frame source adrs dest adrs data payload length padding CRC S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 85. Ethernet performance • Quality-of-service tends to non-linearly decrease at high load levels. • Can’t guarantee real-time deadlines. However, may provide very good service at proper load levels. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 86. Fieldbus • Used for industrial control and instrumentation---factories, etc. • H1 standard based on 31.25 MB/s twisted pair medium. • High Speed Ethernet (HSE) standard based on 100 Mb/s Ethernet. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 87. Multiprocessors • Why multiprocessors? • CPUs and accelerators. • Multiprocessor performance analysis. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 88. Why multiprocessors? • Better cost/performance. – Match each CPU to its tasks or use custom logic (smaller, cheaper). – CPU cost is a non-linear function of performance. cost performance S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 89. Why multiprocessors? cont’d. • Better real-time performance. – Put time-critical functions on less-loaded processing elements. – Remember RMS utilization---extra CPU cycles must be reserved to meet deadlines. cost performance deadline deadline w. RMS overhead S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 90. Why multiprocessors? cont’d. • Using specialized processors or custom logic saves power. • Desktop uniprocessors are not power-efficient enough for battery- powered applications. [Aus04] © 2004 IEEE Computer Society S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 91. Why multiprocessors? cont’d. • Good for processing I/O in real-time. • May consume less energy. • May be better at streaming data. • May not be able to do all the work on even the largest single CPU. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 92. Accelerated systems • Use additional computational unit dedicated to some functions? – Hardwired logic. – Extra CPU. • Hardware/software co-design: joint design of hardware and software architectures. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 93. Accelerator vs. co-processor • A co-processor executes instructions. – Instructions are dispatched by the CPU. • An accelerator appears as a device on the bus. – The accelerator is controlled by registers. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 94. Accelerator implementations • Application-specific integrated circuit. • Field-programmable gate array (FPGA). • Standard component. – Example: graphics processor. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 95. System design tasks • Design a heterogeneous multiprocessor architecture. – Processing element (PE): CPU, accelerator, etc. • Program the system. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 96. Accelerated system design • First, determine that the system really needs to be accelerated. – How much faster is the accelerator on the core function? – How much data transfer overhead? • Design the accelerator itself. • Design CPU interface to accelerator. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 97. Accelerated system platforms • Several off-the-shelf boards are available for acceleration in PCs: – FPGA-based core; – PC bus interface. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 98. Accelerator/CPU interface • Accelerator registers provide control registers for CPU. • Data registers can be used for small data objects. • Accelerator may include special-purpose read/write logic. – Especially valuable for large data transfers. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 99. Accelerator speedup • Critical parameter is speedup: how much faster is the system with the accelerator? • Must take into account: – Accelerator execution time. – Data transfer time. – Synchronization with the master CPU. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 100. Accelerator execution time • Total accelerator execution time: – taccel = tin + tx + tout Data input Accelerated computation Data output S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 101. Accelerator speedup • Assume loop is executed n times. • Compare accelerated system to non- accelerated system: – S = n(tCPU - taccel) – = n[tCPU - (tin + tx + tout)] Execution time on CPU S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 102. System On Chip - SoC
  • 103. Agenda • Introduction . • What is SoC ? • SoC characteristics . • Benefits and drawbacks . • Solution . • Major SoC Applications . • Summary . S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 104. Introduction • Technological Advances – today’s chip can contains 100M transistors . – transistor gate lengths are now in term of nano meters . – approximately every 18 months the number of transistors on a chip doubles – Moore’s law . • The Consequences – components connected on a Printed Circuit Board can now be integrated onto single chip . – hence the development of System-On-Chip design . S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 105. Agenda • Introduction . • What is SoC ? • SoC characteristics . • Benefits and drawbacks . • Solution . • Major SoC Applications . • Summary . S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 106. What is SoC ? People A: The VLSI manufacturing technology advances has made possible to put millions of transistors on a single die. It enables designers to put systems- on-a-chip that move everything from the board onto the chip eventually. People B: SoC is a high performance microprocessor, since we can program and give instruction to the uP to do whatever you want to do. People C: SoC is the efforts to integrate heterogeneous or different types of silicon IPs on to the same chip, like memory, uP, random logics, and analog circuitry. All of the above are partially right, but not very accurate!!! S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 107. What is SoC ? SoC not only chip, but more on “system”. SoC = Chip + Software + Integration The SoC chip includes: Embedded processor ASIC Logics and analog circuitry Embedded memory The SoC Software includes: OS, compiler, simulator, firmware, driver, protocol stackIntegrated development environment (debugger, linker, ICE)Application interface (C/C++, assembly) The SoC Integration includes : The whole system solution Manufacture consultant Technical Supporting S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 108. Agenda • Introduction . • What is SoC ? • SoC characteristics . • Benefits and drawbacks . • Solution . • Major SoC Applications . • Summary . S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 109. System on Chip architecture Top Level Design Unit Block Design Integration and Synthesis Trial Netlists System Level Verification Timing Convergence & Verification Fabrication DVT DVT Prep 6 12 12 4 14 ?? 5 8 Time in Weeks Time to Mask order48 61 Unit Block Verification ASIC Typical Design Steps • Typical ASIC design can take up to two years to complete S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 110. System on Chip architecture Top Level Design Unit Block Design Integration and Synthesis Trial Netlists System Level Verification Timing Convergence & Verification Fabrication DVT DVT Prep 4 14 5 4 Time in Weeks Time to Mask order24 33 Unit Block Verification 4 2 • With increasing Complexity of IC’s and decreasing Geometry, IC Vendor steps of Placement, Layout and Fabrication are unlikely to be greatly reduced • In fact there is a greater risk that Timing Convergence steps will involve more iteration. • Need to reduce time before Vendor Steps. • Need to consider Layout issues up- front. SoC Typical Design Steps S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 111. System on Chip interconnection • Design reuse is facilitated if “standard” internal connection buses are used . • All cores connect to the bus via a standard interface . • Any-to-any connections easy but … – Not all connections are necessary . – Global clocking scheme . – Power consumption . • Standardization is being addressed by the Virtual Socket Interface Alliance (VSIA) S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 112. System on Chip interconnection • AMBA (Advanced Microcontroller Bus Architecture) is a collection of buses from ARM for satisfying a range of different criteria. • APB (Advanced Peripheral Bus): simple strobed- access bus with minimal interface complexity. Suitable for hosting peripherals. • ASB (Advanced System Bus): a multimaster synchronous system bus. • AHB (Advanced High Performance Bus): a high- throughput synchronous system backbone. Burst transfers and split transactions. S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 113. System on Chip cores • One solution to the design productivity gap is to make ASIC designs more standardized by reusing segments of previously manufactured chips. • These segments are known as “blocks”, “macros”, “cores” or “cells”. • The blocks can either be developed in-house or licensed from an IP company. • Cores are the basic building blocks . S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 114. System on Chip cores • Soft Macro – Reusable synthesizable RTL or netlist of generic library elements – User of the core is responsible for the implementation and layout • Firm Macro – Structurally and topologically optimized for performance and area through floor planning and placement – Exist as synthesized code or as a netlist of generic library elements • Hard Macro – Reusable blocks optimized for performance, power, size and mapped to a specific process technology – Exist as fully placed and routed netlist and as a fixed layout such as in GDSII format . S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 115. System on Chip cores Reusability portability flexibility Predictability, performance, time to market Soft core Firm core Hard core S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 116. System on Chip cores • Locating the required cores and associated contract discussions can be a lengthy process – Identification of IP vendors – Evaluation criteria – Comparative evaluation exercise – Choice of core – Contract negotiations • Reuse restrictions • Costs: license, royalty, tool costs – Core integration, simulation and verification S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 117. Agenda • Introduction . • What is SoC ? • SoC characteristics . • Benefits and drawbacks . • Solution . • Major SoC Applications . • Summary . S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 118. The Benefits • There are several benefits in integrating a large digital system into a single integrated circuit . • These include – Lower cost per gate . – Lower power consumption . – Faster circuit operation . – More reliable implementation . – Smaller physical size . – Greater design security . S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 119. The Drawbacks • The principle drawbacks of SoC design are associated with the design pressures imposed on today’s engineers , such as : – Time-to-market demands . – Exponential fabrication cost . – Increased system complexity . – Increased verification requirements . S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 120. Design gap S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 121. Agenda • Introduction . • What is SoC ? • SoC characteristics . • Benefits and drawbacks . • Solution . • Major SoC Applications . • Summary . S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 122. Solution is Design Re-use • Overcome complexity and verification issues by designing Intellectual Property (IP) to be re-usable . • Done on such a scale that a new industry has been developed. • Design activity is split into two groups: – IP Authors – producers . – IP Integrators – consumers . • IP Authors produce fully verified IP libraries – Thus making overall verification task more manageable • IP Integrators select, evaluate, integrate IP from multiple vendors – IP integrated onto Integration Platform designed with specific application in mind S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 123. Agenda • Introduction . • What is SoC ? • SoC characteristics . • Benefits and drawbacks . • Solution . • Major SoC Applications . • Summary . S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 124. Major SoC Applications • Speech Signal Processing . • Image and Video Signal Processing . • Information Technologies – PC interface (USB, PCI,PCI-Express, IDE,..etc) Computer peripheries (printer control, LCD monitor controller, DVD controller,.etc) . • Data Communication – Wireline Communication: 10/100 Based-T, xDSL, Gigabit Ethernet,.. Etc – Wireless communication: BlueTooth, WLAN, 2G/3G/4G, WiMax, UWB, …,etc S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 125. Agenda • Introduction . • What is SoC ? • SoC characteristics . • Benefits and drawbacks . • Solution . • Major SoC Applications . • Summary . S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems
  • 126. Summary • Technological advances mean that complete systems can now be implemented on a single chip . • The benefits that this brings are significant in terms of speed , area and power . • The drawbacks are that these systems are extremely complex requiring amounts of verification . • The solution is to design and verify re-useable IP . S. Rajalakshmi AP/ECE, RMKCET EC6703-Embedded and Real Time Systems