SlideShare a Scribd company logo
1 of 126
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

Antenna PARAMETERS
Antenna PARAMETERSAntenna PARAMETERS
Antenna PARAMETERSAJAL A J
 
microwave-engineering
microwave-engineeringmicrowave-engineering
microwave-engineeringATTO RATHORE
 
Microwave propagation in ferrites 23
Microwave propagation in ferrites 23Microwave propagation in ferrites 23
Microwave propagation in ferrites 23HIMANSHU DIWAKAR
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction SetDr. Pankaj Zope
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller pptRahul Kumar
 
Introduction to embedded systems
Introduction to embedded systemsIntroduction to embedded systems
Introduction to embedded systemsApurva Zope
 
Unit 1 embedded systems and applications
Unit 1 embedded systems and applicationsUnit 1 embedded systems and applications
Unit 1 embedded systems and applicationsDr.YNM
 
Unit 4 ec8702 - ad hoc and wireless sensor networks unit -4 mr.darwin nesaku...
Unit  4 ec8702 - ad hoc and wireless sensor networks unit -4 mr.darwin nesaku...Unit  4 ec8702 - ad hoc and wireless sensor networks unit -4 mr.darwin nesaku...
Unit 4 ec8702 - ad hoc and wireless sensor networks unit -4 mr.darwin nesaku...Darwin Nesakumar
 
Basic functions & types of RTOS ES
Basic functions & types of  RTOS ESBasic functions & types of  RTOS ES
Basic functions & types of RTOS ESJOLLUSUDARSHANREDDY
 
Two cavity klystron
Two cavity klystronTwo cavity klystron
Two cavity klystronabhikalmegh
 
Introduction to embedded systems
Introduction to embedded systemsIntroduction to embedded systems
Introduction to embedded systemsEslamSaid16
 
L8 understanding-atmega328 p-1
L8 understanding-atmega328 p-1L8 understanding-atmega328 p-1
L8 understanding-atmega328 p-1rsamurti
 
Microwave engineering basics
Microwave engineering basicsMicrowave engineering basics
Microwave engineering basicsAJAL A J
 
Introduction to Embedded Systems I : Chapter 1
Introduction to Embedded Systems I : Chapter 1Introduction to Embedded Systems I : Chapter 1
Introduction to Embedded Systems I : Chapter 1Moe Moe Myint
 
Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded SystemsJoy Dutta
 

What's hot (20)

Antenna PARAMETERS
Antenna PARAMETERSAntenna PARAMETERS
Antenna PARAMETERS
 
microwave-engineering
microwave-engineeringmicrowave-engineering
microwave-engineering
 
Microwave propagation in ferrites 23
Microwave propagation in ferrites 23Microwave propagation in ferrites 23
Microwave propagation in ferrites 23
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller ppt
 
CMOS LOGIC STRUCTURES
CMOS LOGIC STRUCTURESCMOS LOGIC STRUCTURES
CMOS LOGIC STRUCTURES
 
Introduction to embedded systems
Introduction to embedded systemsIntroduction to embedded systems
Introduction to embedded systems
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
Unit 1 embedded systems and applications
Unit 1 embedded systems and applicationsUnit 1 embedded systems and applications
Unit 1 embedded systems and applications
 
Unit 4 ec8702 - ad hoc and wireless sensor networks unit -4 mr.darwin nesaku...
Unit  4 ec8702 - ad hoc and wireless sensor networks unit -4 mr.darwin nesaku...Unit  4 ec8702 - ad hoc and wireless sensor networks unit -4 mr.darwin nesaku...
Unit 4 ec8702 - ad hoc and wireless sensor networks unit -4 mr.darwin nesaku...
 
Basic functions & types of RTOS ES
Basic functions & types of  RTOS ESBasic functions & types of  RTOS ES
Basic functions & types of RTOS ES
 
ARM Processors
ARM ProcessorsARM Processors
ARM Processors
 
Two cavity klystron
Two cavity klystronTwo cavity klystron
Two cavity klystron
 
Introduction to embedded systems
Introduction to embedded systemsIntroduction to embedded systems
Introduction to embedded systems
 
L8 understanding-atmega328 p-1
L8 understanding-atmega328 p-1L8 understanding-atmega328 p-1
L8 understanding-atmega328 p-1
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Microwave engineering basics
Microwave engineering basicsMicrowave engineering basics
Microwave engineering basics
 
Introduction to Embedded Systems I : Chapter 1
Introduction to Embedded Systems I : Chapter 1Introduction to Embedded Systems I : Chapter 1
Introduction to Embedded Systems I : Chapter 1
 
Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded Systems
 

Similar to EC6703 unit-4

Token engineering presentation 5 13-18
Token engineering presentation 5 13-18Token engineering presentation 5 13-18
Token engineering presentation 5 13-18Michael 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 GreavesSatya Harish
 
EC8791 Requirement-Specifications-Quality assurance techniques
EC8791 Requirement-Specifications-Quality assurance techniquesEC8791 Requirement-Specifications-Quality assurance techniques
EC8791 Requirement-Specifications-Quality assurance techniquesRajalakshmiSermadurai
 
IC Design Physical Verification
IC Design Physical VerificationIC Design Physical Verification
IC Design Physical VerificationIRJET 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 networkDeepak Shankar
 
Introduction to Modeling and Simulations.ppt
Introduction to Modeling and Simulations.pptIntroduction to Modeling and Simulations.ppt
Introduction to Modeling and Simulations.pptQasimAli493018
 
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 ArchitectureEditor IJCATR
 
System design techniques and networks
System design techniques and networksSystem design techniques and networks
System design techniques and networksRAMPRAKASHT1
 
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.pptxamansharma1723
 
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 ModelAlessio 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 designAmbuj 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 copyUiuc 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 AnalysisDeepak 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

More from RajalakshmiSermadurai (15)

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
 
EC8791 UML-model train controller
EC8791 UML-model train controllerEC8791 UML-model train controller
EC8791 UML-model train controller
 
Ec8791 unit 5 processes and operating systems
Ec8791 unit 5 processes and operating systemsEc8791 unit 5 processes and operating systems
Ec8791 unit 5 processes and operating systems
 
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

IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 

Recently uploaded (20)

IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 

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