aiengine: xaiegbl_sinit.c File Reference

| aiengine Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List

xaiegbl_sinit.c File Reference

## Overview

This file contains the global look up configuration function for the AIE device.

    MODIFICATION HISTORY:

    Ver   Who     Date     Changes

    1.0  Naresh  03/14/2018  Initial creation
    1.1  Naresh  06/18/2018  Updated code to be inline with standalone driver
    1.2  Naresh  07/11/2018  Updated copyright info
    1.3  Nishad  12/05/2018  Renamed ME attributes to AIE

XAieGbl_Config | XAieGbl_ConfigTable [XPAR_AIE_NUM_INSTANCES]
| The configuration table for each AIE device. More...
XAieGbl_Config * | XAieGbl_LookupConfig (u16 DeviceId)
| Looks up the device configuration based on the unique device ID. More...

## Function Documentation

XAieGbl_Config* XAieGbl_LookupConfig | ( | u16 | DeviceId | ) |

Looks up the device configuration based on the unique device ID.

A table contains the configuration info for each device in the system.

Parameters

  DeviceId | is the unique identifier for a device.

Returns
  A pointer to the XAieGbl configuration structure for the specified device, or NULL if the device was not found.

Note
  None.

Referenced by main().

## Variable Documentation

XAieGbl_Config XAieGbl_ConfigTable[XPAR_AIE_NUM_INSTANCES]

The configuration table for each AIE device.

XAIE_BASE_ARRAY_ADDR_OFFSET macro defines the AI Engine's base address offset value.