Compilers for Scenix SX Processors

SXC Compiler

The CCS SXC Compiler C compiler is based on original K&R and is fully optimized for use on these unique parts. Built-in functions make coding the software very easy. The integrated C development environment provides developers a fast method to produce efficient code from an easily maintainable high level language.

 

Note: The compiler, although based on a 6 year old product, is presently in a Beta test state. Purchases made during this period will include one year of updates.

 
Compiler Features
Syntax and Functions
Download
Price List

This integrated C development environment gives developers the capability to quickly produce very efficient code from an easily maintainable high level language. The compiler includes built in functions to access the SX hardware such as SET_TIMER1 to write a value to timer 1. Discrete I/O is handled by describing the port characteristics in a PRAGMA. Functions such as INPUT and OUTPUT_HIGH will properly maintain the tri-state registers. Variables including structures may be directly mapped to memory such as I/O ports to best represent the hardware structure in C. The microcontroller clock speed may be specified in a PRAGMA to permit built in functions to delay for a given number of microseconds or milliseconds. Serial I/O functions allow standard functions such as GETC and PRINTF to be used for RS-232 like I/O. The standard C operators and the special built in functions are optimized to produce very efficient code for the bit and I/O functions.

 

Functions may be implemented inline or separate. Function parameters are passed in reusable registers. Inline functions with reference parameters are implemented efficiently with no memory overhead.

 

During the linking process the program structure including the call tree is analyzed. Functions that call one another frequently are grouped together in the same page. Calls across pages are handled automatically by the tool transparent to the user. Functions may be implemented inline or separate. RAM is allocated efficiently done by using the call tree to determine how locations can be re-used. Constant strings and tables are saved in the device ROM.

 

The output hex and debug files are selectable and compatible with popular emulators & programmers for source level debugging.

 

Built-In Functions/Syntax

 

The compiler includes built-in functions to access the Scenix hardware. Functions such as input() and output_high() will properly maintain the tri-state registers. Variables including structures may be directly mapped to memory such as I/O ports to best represent the hardware structure in C. Click here for SXC syntax and functions.

Compiler Features

 

The CCS C Compiler features provide ample function for your development needs, including: standard C pre-processor directives, operators & statements, built-in libraries, source code drivers and much more. Click here for SXC compiler features.

Examples

 

The CCS C Compiler includes a library with dozens of examples, and new examples are added regularly. Includes Serial EEPROMS, RTC, PWM, I2C, ADC and Timers.

Devices Supported

 

The following devices are supported by the SXC compiler: SX20AC/SS, SX28AC/SS, SX28AC/SS-G, SX28AC/DP-G, SX48BD, SX48BD-G and SX52BD.

Download

 

The CCS C Compiler software gives the user access to the latest version of the SXC compiler. Please visit the download page for current information.

Current Software Pricing

 

SXC Compiler PricingView current compiler pricing and select the compiler of your choice.