OMNISCIENT CODE GENERATION
This presentation is the property of its rightful owner.
Sponsored Links
1 / 18

OMNISCIENT CODE GENERATION TM PowerPoint PPT Presentation


  • 96 Views
  • Uploaded on
  • Presentation posted in: General

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

Download Presentation

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


OMNISCIENT CODE GENERATIONTM

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

  • Satisfaction

    Advanced features help to complete projects sooner


Simplification

  • Compiler features Omniscient Code Generation™ (OCG)

    A whole-program compilation technology

  • Extracts information from all modules simultaneously

    Function call graph

    Pointer reference graph


Simplification


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


Simplification

  • Allows for inclusion of assembly code, if required

    Account for memory usage of assembly code

    Preserves C objects only used in assembly code


Simplification


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


Satisfaction

  • Bootloader available

    Written in C code

    Smaller than previous assembly versions

    USB and serial

    Is independent of application


Satisfaction

  • Denser code better performance


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


Integration

  • Easy Installation

    Install PSoC Designer

    Install HI-TECH compiler

    This will download and install Service Pack 2

    Will enable compiler in PSoC Designer


Integration

  • Easy Integration into PSoC Designer

  • From Project | Settings select C compiler: HI-TECH


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

}

}


Satisfaction

  • Available in Lite mode


Satisfaction

  • Lite mode features:

    Free download

    No memory restrictions

    Supports all devices

    Never expires

    OCG disabled

    Integrated with PSoC Express


Conclusion

  • A painless transition

  • Works with the tools you know

  • Simplify writing your code

  • Get outstanding results sooner


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.


  • Login