1 / 18

OMNISCIENT CODE GENERATION TM

OMNISCIENT CODE GENERATION TM a whole-program compilation technology for superior code density and performance. Introduction. Migration Quickly port code from other compilers Integration Easily fit into the PSoC Designer™ framework Simplification Write simple, portable ANSI source code

sona
Télécharger la présentation

OMNISCIENT CODE GENERATION TM

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OMNISCIENT CODE GENERATIONTM 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. Simplification • 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

  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 • Use PSoC Device Editor as usual to create your program: #include <m8c.h> // 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 } }

  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 GENERATIONTM 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.

More Related