Software - Embedded Software Development Hardware and...

Info iconThis preview shows pages 1–15. Sign up to view the full content.

View Full Document Right Arrow Icon
Embedded Software Development
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Hardware and software architectures Hardware and software are intimately related: software doesn’t run without hardware; how much hardware you need can be largely determined by the software requirements: Speed; Memory size; Interconnection bandwidth.
Background image of page 2
Software design techniques Want to develop as much code as possible on a standard platform: friendlier programming environment; easier debugging. May need to devise software stubs to allow testing of software elements without the full hardware/software platform.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Host/target design Use a host system to prepare software for target system: target system host system
Background image of page 4
Cross-platform development environment The embedded computing system is usually tightly resource constrained. A PC or workstation is commonly used for development purpose Cross compiler: compiles code on host for target system. Cross debugger: displays target state, allows target system to be controlled.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Pop quiz John bought 1000 shares of a stock at price of 10$/share. He then sold the stock at 11$/ share. Later the stock price rises and he bought back another 1000 shares at 12$/share. Finally he sold the stocks at 14$/ share. How much did he earn financially in these transactions? What are the two major objectives of embedded software compilation? List three software abstraction models.
Background image of page 6
Embedded Software Compilation compile assemble HLL assembly link executable load
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The Compiler Compilation = translation + optimization Compiler determines quality of code: use of CPU resources; memory access scheduling; code size.
Background image of page 8
Basic compilation phases HLL parsing, symbol table machine-independent optimizations machine-dependent optimizations assembly
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Models of programs Source code is not a good representation for programs: clumsy; leaves much information implicit. Compilers derive intermediate representations to manipulate and optimize the program. Data flow graph Control data flow graph
Background image of page 10
Data Flow Graph Definition A directed graph that shows the data dependencies between a number of functions G=(V,E) Nodes (V) Representing operation Each node having input/output data ports Arces (E): connections between the output ports and input ports
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Data Flow Graph Construction a ac b b x 2 4 2 1 - + - = a ac b b x 2 4 2 2 - - - =
Background image of page 12
-1 + - x / ** sqrt x x b 4 c a 2 - / X 1 X 2 a ac b b x 2 4 2 1 - + - = a ac b b x 2 4 2 2 - - - =
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Data flow graph construction original code: x <= a + b; y <= a * c; z <= x + d; x <= y - d; x <= x + c; a b + * + + y x z x - x
Background image of page 14
Image of page 15
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 57

Software - Embedded Software Development Hardware and...

This preview shows document pages 1 - 15. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online