Type Definitions - Type Definitions - 7.2 English - PG149

FIR Compiler LogiCORE IP Product Guide (PG149)

Document_ID
PG149
Release_Date
2026-07-22
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 struct xip_f32_union Single precision floating point union for IEEE 754 bit-field access to sign, exponent, and mantissa
typedef mpz_t xip_mpz MPIR (refer to 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 (refer to Table 1)
typedef struct xip_fir_v7_2_cnfg_packet Configuration packet structure (refer to Table 2)
typedef struct xip_fir_v7_2_rld_packet Reload packet structure (refer to Table 3)
Array Types
typedef struct xip_array_uint Refer to Dynamic Arrays
uct xip_array_real
typedef struct xip_array_complex
typedef struct xip_array_mpz