Type Definitions - 7.2 English - PG149

FIR Compiler LogiCORE IP Product Guide ( PG149)

Document ID
PG149
Release Date
2025-06-11
Version
7.2 English

The following table lists the C Model type definitions.

Table 1. Type Definitions
Field Name Description
General types
typedef double xip_real Scalar type alias
typedef unsigned integer xip_uint Integer type alias
typedef struct xip_complex Complex data type
typedef mpz_t xip_mpz MPIR (See The Multiple Precision Integers and Rationals (MPIR) Library): www.mpir.org/ integer type alias
typedef struct xip_mpz_complex Complex type based on xip_mpz
typedef int xip_status Result code from API functions
typedef struct _xip_fir_v7_2 xip_fir_v7_2 Handle type to refer to an instance of the model
typdef enum xip_fir_v7_2_pattern Defines enumerated values for all the advance channel patterns
Handler function signatures

typedef void (*xip_msg_handler)(void*

handle, int error,const char* msg)

Interface to a message handler function

typedef void (*xip_array_real_handler)

(const xip_array_real* data, void* handle,

void* opt_arg)

Interface to data packet handler function
Structures
typedef struct xip_fir_v7_2_config Model configuration structure (see Table 1)
typedef struct xip_fir_v7_2_cnfg_packet Configuration packet structure, (see Table 2)
typedef struct xip_fir_v7_2_rld_packet Reload packet structure (see Table 3)
Array types
typedef struct xip_array_uint See Dynamic Arrays
uct xip_array_real
typedef struct xip_array_complex
typedef struct xip_array_mpz