- Impulse C
Infobox programming language
name = Impulse C
paradigm =
year = 2003
designer =Impulse Accelerated Technologies
developer = Impulse Accelerated Technologies
latest_release_version = 2.20
latest_release_date = 2006-12-20
typing =
implementations =
dialects =
influenced_by =C Programming Language , [http://www.streams-c.lanl.gov/ Streams-C]
influenced =
operating_system = FPGA and related embedded processors
license = FPGA compiler sold and distributed by Impulse Accelerated Technologies
website = [http://www.ImpulseC.com www.ImpulseC.com]Impulse C is a subset of the
C programming language combined with a C-compatiblefunction library supportingparallel programming , in particular for programming of applications targeting FPGA devices. It is developed byImpulse Accelerated Technologies of Kirkland, Washington.Overview
Impulse C includes a
compiler and related function library intended for development of FPGA-based applications. Impulse C is compatible with standardANSI C , allowing standard C tools to be used for designing and debugging applications targeting FPGAs. The Impulse C compiler accepts a subset of C and generates FPGA hardware in the form of Hardware Description Language (HDL) files. Impulse C allows embedded systems designers and software programmers to target FPGA devices for C-language application acceleration.Impulse C is distinct from standard C in that it provides a parallel programming model for mixed processor and FPGA platforms. For this purpose, Impulse C includes extensions to C, in the form of functions and datatypes, allowing applications written in standard C to be mapped onto coarse-grained parallel architectures that may include standard processors along with programmable FPGA hardware.
The Impulse C tools include hardware/software co-simulation tools as well as C-to-RTL scheduling/optimizing technology used to map application elements to hardware via FPGA logic synthesis tools.
Programming model
Impulse C supports a variant of the
communicating sequential processes (CSP) programming model, while remaining compatible with standard C tools such as debuggers and profilers. Impulse C is designed for dataflow-oriented, streaming applications, but is also designed to support alternate programming models including the use of shared memory as a communication mechanism.In an Impulse C streaming application, hardware and software processes communicate primarily through buffered data streams that are implemented directly in hardware. This buffering of data, which is implemented using dual-clock FIFOs generated by the compiler, makes it possible to write parallel applications at a relatively high level of abstraction, without the cycle-by-cycle synchronization that would otherwise be required.
Using Impulse C, an application can be partitioned to create a multiple-process implementation that is partitioned into hardware and software components, or implemented entirely within an FPGA device. For example, an image filtering application could be described using Impulse C as a collection of parallel, pipelined processes, each of which has been described using one or more C subroutines.
On the software side of the application, for example in an embedded FPGA processor, Impulse C library functions are used to open and close data streams, read or write data on the streams and, if desired, send status messages or poll for results. For processor-to-FPGA communications, stream reads and writes can be specified as operations that take advantage of FPGA-specific, internal or external bus interfaces.
On the hardware side of the application, Impulse C library functions and other C statements are compiled to generate equivalent, parallel hardware implementations in the form of synthesizable HDL files. These files are processed by FPGA tools to create FPGA hardware bitmaps.
At the heart of the Impulse C streaming programming model are processes and streams. Processes are independently synchronized, concurrently executing segments of an application. Hardware processes are written using a subset of standard C and perform the work of an application by accepting data, performing computations and generating outputs. In a typical application, data flows from process to process by means of buffered streams, or in some cases by means of messages and/or shared memories. The characteristics of each stream, including the width and depth of the generated FIFOs, may be specified in the C application.
Applications
Impulse C is used for applications including
image processing anddigital signal processing onembedded system s, as well as for acceleration of high-performance computing applications including financialanalytics ,bioinformatics andscientific computing .Target platforms
Impulse C supports common FPGA-based processing platforms including the
Altera Nios II andXilinx 'sMicroBlaze andPowerPC .External links
* [http://www.eetimes.com/story/OEG20030929S0078 Startup Licenses Streams-C]
* [http://www.impulsec.com/ Impulse Accelerated Technologies]
Wikimedia Foundation. 2010.