slide1
Download
Skip this Video
Download Presentation
OMNISCIENT CODE GENERATION TM

Loading in 2 Seconds...

play fullscreen
1 / 18

OMNISCIENT CODE GENERATION TM - PowerPoint PPT Presentation


  • 127 Views
  • Uploaded on

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

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' OMNISCIENT CODE GENERATION TM' - sona


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
slide1

OMNISCIENT CODE GENERATIONTM

a whole-program compilation technology for superior code density and performance

introduction
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
Simplification
  • Compiler features Omniscient Code Generation™ (OCG)

A whole-program compilation technology

  • Extracts information from all modules simultaneously

Function call graph

Pointer reference graph

simplification2
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

simplification3
Simplification
  • Allows for inclusion of assembly code, if required

Account for memory usage of assembly code

Preserves C objects only used in assembly code

satisfaction
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

satisfaction1
Satisfaction
  • Bootloader available

Written in C code

Smaller than previous assembly versions

USB and serial

Is independent of application

satisfaction2
Satisfaction
  • Denser code better performance
migration
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
Integration
  • Easy Installation

Install PSoC Designer

Install HI-TECH compiler

This will download and install Service Pack 2

Will enable compiler in PSoC Designer

integration1
Integration
  • Easy Integration into PSoC Designer
  • From Project | Settings select C compiler: HI-TECH
integration2
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

}

}

satisfaction3
Satisfaction
  • Available in Lite mode
satisfaction4
Satisfaction
  • Lite mode features:

Free download

No memory restrictions

Supports all devices

Never expires

OCG disabled

Integrated with PSoC Express

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

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.

ad