xaiefal
Loading...
Searching...
No Matches
xaiefal::XAieTile Class Reference

AI enigne tile. It defines AI engine tile operations. such as get resource within a tile, or get a module. More...

#include <xaiefal-base.hpp>

Public Member Functions

 XAieTile ()
 XAieTile (XAieDev &Dev, XAie_LocType Loc)
 ~XAieTile ()
XAie_LocType loc () const
throw std::invalid_argument (str)
 if (Mod==XAIE_CORE_MOD)
XAieMod & core ()
XAieMod & mem ()
XAieMod & pl ()
XAieRscStat getRscStat (const std::string &GName)
std::shared_ptr< XAieBroadcast > broadcast (XAieDevHdRscGroupWrapper &RGroup)
std::shared_ptr< XAieBroadcast > broadcast ()
std::shared_ptr< XAiePerfCounter > perfCounter (XAieDevHdRscGroupWrapper &RGroup)
std::shared_ptr< XAiePerfCounter > perfCounter ()
std::shared_ptr< XAieMdmPerfCounter > mdmPerfCounter (XAieDevHdRscGroupWrapper &RGroup)
std::shared_ptr< XAieMdmPerfCounter > mdmPerfCounter ()
std::shared_ptr< XAieStreamPortSelect > sswitchPort (XAieDevHdRscGroupWrapper &RGroup)
std::shared_ptr< XAieStreamPortSelect > sswitchPort ()

Data Fields

 else

Detailed Description

AI enigne tile. It defines AI engine tile operations. such as get resource within a tile, or get a module.

Constructor & Destructor Documentation

◆ XAieTile() [1/2]

xaiefal::XAieTile::XAieTile ( )
inline

◆ XAieTile() [2/2]

xaiefal::XAieTile::XAieTile ( XAieDev & Dev,
XAie_LocType Loc )
inline

◆ ~XAieTile()

xaiefal::XAieTile::~XAieTile ( )
inline

Member Function Documentation

◆ broadcast() [1/2]

std::shared_ptr< XAieBroadcast > xaiefal::XAieTile::broadcast ( )
inline

◆ broadcast() [2/2]

std::shared_ptr< XAieBroadcast > xaiefal::XAieTile::broadcast ( XAieDevHdRscGroupWrapper & RGroup)
inline

This function returns broadcast resource software object within a tile.

Parameters
RGroupresource group
Returns
broadcast channel software object pointer within a tile.

Please note that this function will not request hardware resource. After this function is called, in order to reserve the hardware resource, it will need to call reserve() function of the resource class.

◆ core()

XAieMod & xaiefal::XAieTile::core ( )
inline

This function returns core module reference.

Returns
core module reference

◆ getRscStat()

XAieRscStat xaiefal::XAieTile::getRscStat ( const std::string & GName)
inline

This function returns requested resource group resource statistics of the tile.

Parameters
GNameresource group name
Returns
resource group resource statistics

◆ if()

xaiefal::XAieTile::if ( Mod = = XAIE_CORE_MOD)
inline

◆ loc()

XAie_LocType xaiefal::XAieTile::loc ( ) const
inline

This function returns tile location

Returns
tile location

◆ mdmPerfCounter() [1/2]

std::shared_ptr< XAieMdmPerfCounter > xaiefal::XAieTile::mdmPerfCounter ( )
inline

◆ mdmPerfCounter() [2/2]

std::shared_ptr< XAieMdmPerfCounter > xaiefal::XAieTile::mdmPerfCounter ( XAieDevHdRscGroupWrapper & RGroup)
inline

This function returns MDM perfcounter software object within a SHIM tile.

Parameters
RGroupresource group
Returns
perfcounter software object pointer within a tile.

Please note that this function will not request hardware resource. After this function is called, in order to reserve the hardware resource, it will need to call reserve() function of the resource class.

◆ mem()

XAieMod & xaiefal::XAieTile::mem ( )
inline

This function returns memory module reference.

Returns
memory module reference

◆ perfCounter() [1/2]

std::shared_ptr< XAiePerfCounter > xaiefal::XAieTile::perfCounter ( )
inline

◆ perfCounter() [2/2]

std::shared_ptr< XAiePerfCounter > xaiefal::XAieTile::perfCounter ( XAieDevHdRscGroupWrapper & RGroup)
inline

This function returns perfcounter software object within a tile.

Parameters
RGroupresource group
Returns
perfcounter software object pointer within a tile.

Please note that this function will not request hardware resource. After this function is called, in order to reserve the hardware resource, it will need to call reserve() function of the resource class.

◆ pl()

XAieMod & xaiefal::XAieTile::pl ( )
inline

This function returns pl module reference.

Returns
pl module reference

◆ sswitchPort() [1/2]

std::shared_ptr< XAieStreamPortSelect > xaiefal::XAieTile::sswitchPort ( )
inline

◆ sswitchPort() [2/2]

std::shared_ptr< XAieStreamPortSelect > xaiefal::XAieTile::sswitchPort ( XAieDevHdRscGroupWrapper & RGroup)
inline

This function returns stream switch port select software object within a tile.

Parameters
RGroupresource group
Returns
stream switch port select software object pointer within a tile.

Please note that this function will not request hardware resource. After this function is called, in order to reserve the hardware resource, it will need to call reserve() function of the resource class.

◆ std::invalid_argument()

throw xaiefal::XAieTile::std::invalid_argument ( str )

Field Documentation

◆ else

xaiefal::XAieTile::else
Initial value:
{
return Mods[0]

The documentation for this class was generated from the following file: