Execution Functions - Execution Functions - 6.0 English - PG141

DDS Compiler LogiCORE IP Product Guide (PG141)

Document_ID
PG141
Release_Date
2024-12-11
Version
6.0 English

The runtime functions of the C model are described in the following figure.

Table 1. Execution Functions
Name Return Arguments Description
xip_dds_v6_0_reset xip_dds_v6_0_status Pointer to C model (xip_dds_v6_0) Resets the internal state of the core to power-on state.
xip_dds_v6_0_config_do xip_dds_v6_0_status Pointer to C model, pointer to config_pkt to input to C model Writes config pkt to C model internal storage. This does not prompt execution of the C model, but the config data is picked up on the next xip_dds_v6_0_ data_do call
xip_dds_v6_0_data_do xip_dds_v6_0_status

Pointer to C model,

Pointer to input data structure,

Pointer to output data structure,

Number of samples, number of channels, number of fields input and number of fields output

The function which prompts execution of the C model. The number of samples, channels and fields must match the size of the array passed or an error is returned.
xip_array_real_set_data xip_status Pointer to array structure, the value to be written, the sample, channel and field to be written to Used to populate the input data structure.
xip_array_real_get_data xip_status Pointer to the array structure, pointer of real type (returned value), sample, channel and field to be read Used to read the output (or input) data structure.