Presentation is loading. Please wait.

Presentation is loading. Please wait.

OMNISCIENT CODE GENERATION TM a whole-program compilation technology for superior code density and performance.

Similar presentations


Presentation on theme: "OMNISCIENT CODE GENERATION TM a whole-program compilation technology for superior code density and performance."— Presentation transcript:

1 OMNISCIENT CODE GENERATION TM a whole-program compilation technology for superior code density and performance

2 Introduction Migration Quickly port code from other compilers Integration Easily fit into the PSoC Designer™ framework Simplification Write simple, portable ANSI source code Satisfaction Advanced features help to complete projects sooner

3 Simplification Compiler features Omniscient Code Generation™ (OCG) A whole-program compilation technology Extracts information from all modules simultaneously Function call graph Pointer reference graph

4 Simplification

5 Allows for simpler coding without sacrificing quality of generated code Eliminates non-standard qualifiers & options Optimizes pointer variables Less context-switching overhead Customizes the functionality of printf routine

6 Simplification Allows for inclusion of assembly code, if required Account for memory usage of assembly code Preserves C objects only used in assembly code

7 Simplification

8 Satisfaction Many additional features allow you to complete your project faster 24-bit integer types 24-bit floating-point types Use of MAC instructions If two available, used in main-line and interrupt code Bit (boolean) variables

9 Satisfaction Bootloader available Written in C code Smaller than previous assembly versions USB and serial Is independent of application

10 Satisfaction Denser code better performance Comparative code sizes for ts057.c Target ChipCompiler OCG Code size (bytes) ∆% PSoC ImageCraft no11957 PSoC HI-TECH C PRO for the PSoC Mixed Signal Array yes % 8-bit STD compilerno bitPRO compiler yes

11 Migration Compiler is ANSI compliant Makes writing and porting code much easier Compiler is compatible with code written for Imagecraft compiler C and assembly level Supports Imagecraft pragmas Supports assembly-level directives

12 Integration Easy Installation Install PSoC Designer Install HI-TECH compiler This will download and install Service Pack 2 Will enable compiler in PSoC Designer

13 Integration Easy Integration into PSoC Designer From Project | Settings select C compiler: HI-TECH

14 Integration #include // part specific data #include "PSoCAPI.h" // PSoC API definitions void main() { LED_1_Start(); LED_1_Switch(1); // Turn on LED while(1) { LED_1_Invert(); // Flash LED } Use PSoC Device Editor as usual to create your program:

15 Satisfaction Available in Lite mode

16 Satisfaction Lite mode features: Free download No memory restrictions Supports all devices Never expires OCG disabled Integrated with PSoC Express

17 Conclusion A painless transition Works with the tools you know Simplify writing your code Get outstanding results sooner

18 OMNISCIENT CODE GENERATION TM a whole-program compilation technology for superior code density and performance PSoC and the Cypress logo are registered trademarks of Cypress Semiconductor Corp. PSoC Designer and PSoC Express are trademark of Cypress Semiconductor Corp.


Download ppt "OMNISCIENT CODE GENERATION TM a whole-program compilation technology for superior code density and performance."

Similar presentations


Ads by Google