CO_PROCESS_CONFIG


 co_error co_process_config(co_process process,                            co_attribute attribute,                            const char *val); 

Header File

co.h

Description

This function configures attributes of a process. The co_attribute argument specifies which attribute of the process to configure. This function must be called from within the configuration function of your application.

Arguments

The arguments for co_process_config are as follows:

co_process process

A pointer to a process created using co_process_create.

co_attribute attribute

The attribute whose value is being set.

const char *val

The value to assign to the attribute.


Return Value

Currently, this function always returns co_err_none.

Notes

The only possible value of attribute at this time is co_loc (hardware location). The val argument specifies the value of the given attribute. Currently, since there is only one attribute to configure, val always specifies the name of the process hardware location.

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



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

    Similar book on Amazon

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