void co_register_put(co_register reg,                      int32 value); 

Header File



This function puts a data value to a register object. This function must be called from within a process run function.


The arguments for co_register_put are as follows:

co_register reg

A pointer to a register object as passed on the process argument list.

int32 value

Specifies the value to be assigned to the register.

Return Value



If the register is wider than 32 bits, the data value is written into the least-significant bytes of the register and higher-order bytes are unchanged. If the register is smaller than 32 bits, the least-significant bytes of the value are written to the register until it is full.

    Practical FPGA Programming in C
    Practical FPGA Programming in C
    ISBN: 0131543180
    EAN: 2147483647
    Year: 2005
    Pages: 208 © 2008-2017.
    If you may any questions please contact us: