CO_SIGNAL_CREATE


 co_signal co_signal_create(const char *name); 

Header File

co.h

Description

This function creates a signal. Signals created using co_signal_create are subsequently used to connect processes. This function must be called from within the configuration function of your application.

Arguments

The argument for co_signal_create is as follows:

const char *name

A programmer-defined name. This name may be any text string. It is used to identify the signal externally, such as when using the Application Monitor.


Return Value

A pointer to the created signal. This return value may subsequently be used as an argument to the function co_process_create.

Notes

Signal names, as specified in the first argument to co_signal_create, must be unique across the application when using the Application Monitor.

In simulation, the function prints an error and terminates the application if it is called from outside the configuration function.



    Practical FPGA Programming in C
    Practical FPGA Programming in C
    ISBN: 0131543180
    EAN: 2147483647
    Year: 2005
    Pages: 208

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net