Software - Embedded Software Development Hardware and...

Info icon This preview shows pages 1–14. Sign up to view the full content.

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

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

View Full Document Right 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.
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.
Image of page 3

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

View Full Document Right Arrow Icon
Host/target design Use a host system to prepare software for target system: target system host system
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.
Image of page 5

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

View Full Document Right 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.
Image of page 6
Embedded Software Compilation HLL compile assembly assemble HLL HLL assembly assembly link executable load
Image of page 7

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

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

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

View Full Document Right 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
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
Image of page 11

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

View Full Document Right Arrow Icon
Data Flow Graph Construction a ac b b x 2 4 2 1 - + - = a ac b b x 2 4 2 2 - - - =
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 - - - =
Image of page 13

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

View Full Document Right Arrow Icon
Image of page 14
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern