Software Hardware Co-Design Defense Embedded Systems
Software Hardware Co-Design Defense Embedded Systems
1
Overview
RTOS Options
2
Defense Embedded System
3
What Is an Defense Embedded System?
Characteristics
Application specific - Optimize for cost, area, power, and performance
Digital signal processing - Signals are represented digitally
Reactive - Reacts to changes in the system’s environment
Real-time - Compute certain tasks before deadline
Include requirements that span:
Performance , Reliability , Maintainability, Security
5
GIG - An Example of Defense Embedded System
“Will provide the joint and coalition war fighter with a single, end-to-
end information system capability… allowing users to access shared
data and applications regardless of location, and is supported by a
robust network/information-centric infrastructure.”
6
Defense Embedded Systems: Complexity Issues
7
Design Challenges
Complexity
HW/SW co-design
Secure
Ease of use
8
Research Topics in Defense Embedded Systems
Power Management
Battery life, reliability and thermal issues, energy harvesting
Coupled with sensor networks
HW/SW co-design, very limited information processing and
computing
Energy management
Adaptation to Applications and Environment
Reconfigurable and adaptive Systems
Embedded Software
Security in Embedded Systems
physical attack
Attack through network
9
COTS
10
COMMERCIAL OFF-THE-SHELF (COTS)
11
COMMERCIAL OFF-THE-SHELF (COTS)
Examples:
Software:
Operating Systems (UNIX, Windows/NT, OS2)
Databases (Oracle, Sybase)
Graphics Packages (GIS)
Hardware:
Busses (VME, PCI, cPCI,CAN)
Processors (TI,Motorola, HP, Sun, Intel)
Disk Drives (Western Digital, Red Rock)
Peripherals
12
COMMERCIAL OFF-THE-SHELF (COTS)
13
COMMERCIAL OFF-THE-SHELF (COTS)
14
COMMERCIAL OFF-THE-SHELF (COTS)
15
Co-Design
16
Co-design Definition and Key Concepts
Co-design
The meeting of system-level objectives by exploiting the trade-
offs between hardware and software in a system through their
concurrent design
Key concepts
Concurrent: hardware and software developed at the same
time on parallel paths
Integrated: interaction between hardware and software
development to produce design meeting performance criteria
and functional specs
17
Motivations for Co-design
18
Motivations for Co-design
19
Categories of Co-design Problems
21
A Model of the Current Hardware/Software Design Process
DOD-STD-2167A
HWCI
HW Development Testing
Fabric.
Detailed
Design
Prelim.
Design
Hardware
Require.
Sys/HW
Analysis
Require.
Analysis
System System Operation.
Concepts Integ. and Testing and
Sys/SW test Eval.
Require.
Analysis Software
Require.
Analysis Prelim.
Design
Detailed
Design
Coding,
Unit test.,
SW Development Integ. test CSCI
Testing
22
Current Hardware/Software Design Process
23
Incorrect Assumptions in Current Hardware/Software Design Process
24
Directions of the HW/SW Co-Design Process
Integrated Modeling Substrate
HWCI
HW Development Testing
Fabric.
Detailed
Design
Prelim.
Design
Hardware
Require.
Sys/HW
Analysis
Require.
Analysis Operation.
System System
Concepts
Integrated Modeling Substrate Integ. and Testing and
Sys/SW test Evaluation
Require.
Analysis Software
Require.
Analysis Prelim.
Design
Detailed
Design
Coding,
Unit test.,
SW Development Integ. test CSCI
Testing
25
Requirements for the Ideal Co-design Environment
26
Requirements for the Ideal Co-design Environment
27
Typical Co-design Process
System
FSM- Description Concurrent processes
directed graphs (Functional) Programming languages
SW HW
Another
HW/SW Software Interface Hardware
Synthesis Synthesis Synthesis
partition
28
RTOS
29
RTOS
Three groups
Small, fast, proprietary kernels
Real-time extensions to commercial operating systems
Research operating systems
30
RTOS
31
RTOS
32
Common RTOS Features
Utilities
Bootstrapping support
“Headless” operation
Display not necessary
APIs (Application Programming Interfaces)
Multiple threads and/or processes
Mutex /semaphore support with priority inheritance support
Timers/clock
Graphics support
Device drivers
Network protocol stack
33
RTOS Considerations
End-to-end latency:
E.g. worst-case, average-case, variance, distribution
Can involve multiple hops (across nodes, links, switches
and routers)
Behavior in the presence or absence of failures
Jitter
Throughput:
How many X can be processed?
How many messages can be transmitted?
Survivability:
How many faults can be tolerated before system failures?
What functionality gets compromised?
35
Metrics in Real-Time Systems (2/2)
Security:
Can the system’s integrity be compromised?
Can violations be detected?
Safety:
Is the system “safe”?
Can the system get into an ‘unsafe’ state? Has it been
‘certified’?
Maintainability:
How does one fix problems?
How does the system get upgraded?
Dynamism and Adaptability:
What happens when the system mission changes?
What happens when individual elements fail?
Can the system reconfigure itself dynamically?
36
Emerging RTOS Requirements
37
Examples of RTOS
sumamaheswaran@bel.co.in
39