AMF-Placer  2.0
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
DeviceInfo::DeviceTile Class Reference

A tile is a combination of sites. More...

#include <DeviceInfo.h>

Inheritance diagram for DeviceInfo::DeviceTile:
Collaboration diagram for DeviceInfo::DeviceTile:

Public Member Functions

 DeviceTile (std::string &name, std::string &tileType, DeviceInfo *device, int id)
 Construct a new Device Tile object. More...
 
 ~DeviceTile ()
 
void addChildSite (DeviceElement *sitePtr)
 
std::vector< DeviceSite * > & getChildrenSites ()
 
std::string & getTileType ()
 
int getTileIdX ()
 
int getTileIdY ()
 
- Public Member Functions inherited from DeviceInfo::DeviceElement
 DeviceElement (std::string &name, DeviceElement *parentPtr, DeviceElementType type, int id)
 
 DeviceElement (std::string &name, DeviceElementType type, int id)
 
virtual ~DeviceElement ()
 
std::string & getName ()
 
DeviceElementgetParentPtr ()
 
DeviceElementType getElementType ()
 
int getElementIdInParent ()
 

Private Attributes

std::string tileType
 
std::vector< DeviceSite * > childrenSites
 
DeviceInfodevice
 
int tileIdX = -1
 
int tileIdY = -1
 

Detailed Description

A tile is a combination of sites.

Definition at line 415 of file DeviceInfo.h.

Constructor & Destructor Documentation

◆ DeviceTile()

DeviceInfo::DeviceTile::DeviceTile ( std::string &  name,
std::string &  tileType,
DeviceInfo device,
int  id 
)
inline

Construct a new Device Tile object.

Parameters
namethe tile name in the input file
tileTypea string indicating the type of the tile
device
id

Definition at line 426 of file DeviceInfo.h.

◆ ~DeviceTile()

DeviceInfo::DeviceTile::~DeviceTile ( )
inline

Definition at line 436 of file DeviceInfo.h.

Member Function Documentation

◆ addChildSite()

void DeviceInfo::DeviceTile::addChildSite ( DeviceInfo::DeviceElement sitePtr)

Definition at line 459 of file DeviceInfo.cc.

Referenced by DeviceInfo::addSite().

Here is the caller graph for this function:

◆ getChildrenSites()

std::vector<DeviceSite *>& DeviceInfo::DeviceTile::getChildrenSites ( )
inline

Definition at line 441 of file DeviceInfo.h.

Referenced by DeviceInfo::addSite().

Here is the caller graph for this function:

◆ getTileIdX()

int DeviceInfo::DeviceTile::getTileIdX ( )
inline

Definition at line 450 of file DeviceInfo.h.

◆ getTileIdY()

int DeviceInfo::DeviceTile::getTileIdY ( )
inline

Definition at line 455 of file DeviceInfo.h.

◆ getTileType()

std::string& DeviceInfo::DeviceTile::getTileType ( )
inline

Definition at line 445 of file DeviceInfo.h.

Referenced by DeviceInfo::addTile().

Here is the caller graph for this function:

Member Data Documentation

◆ childrenSites

std::vector<DeviceSite *> DeviceInfo::DeviceTile::childrenSites
private

Definition at line 462 of file DeviceInfo.h.

Referenced by getChildrenSites().

◆ device

DeviceInfo* DeviceInfo::DeviceTile::device
private

Definition at line 463 of file DeviceInfo.h.

◆ tileIdX

int DeviceInfo::DeviceTile::tileIdX = -1
private

Definition at line 464 of file DeviceInfo.h.

Referenced by DeviceTile(), and getTileIdX().

◆ tileIdY

int DeviceInfo::DeviceTile::tileIdY = -1
private

Definition at line 465 of file DeviceInfo.h.

Referenced by DeviceTile(), and getTileIdY().

◆ tileType

std::string DeviceInfo::DeviceTile::tileType
private

Definition at line 461 of file DeviceInfo.h.

Referenced by getTileType().


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