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

BEL(Basic Element of Logic), the smallest undividable element. More...

#include <DeviceInfo.h>

Inheritance diagram for DeviceInfo::DeviceBEL:
Collaboration diagram for DeviceInfo::DeviceBEL:

Public Member Functions

 DeviceBEL (std::string &name, std::string &BELType, DeviceElement *parentPtr, int id)
 Construct a new Device BEL object. More...
 
 ~DeviceBEL ()
 
void setSite (DeviceElement *parentPtr)
 
DeviceSitegetSite ()
 
std::string & getBELType ()
 
- 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 BELType
 BEL Type recorded by a string (for flexibility) More...
 
DeviceSitesite = nullptr
 

Detailed Description

BEL(Basic Element of Logic), the smallest undividable element.

Definition at line 113 of file DeviceInfo.h.

Constructor & Destructor Documentation

◆ DeviceBEL()

DeviceInfo::DeviceBEL::DeviceBEL ( std::string &  name,
std::string &  BELType,
DeviceElement parentPtr,
int  id 
)
inline

Construct a new Device BEL object.

Parameters
namethe name of the BEL in the device
BELTypea string to indicate the type of element, determined by device input file
parentPtrparent site of the BEL. A site is the combination of a group of BELs
id

Definition at line 124 of file DeviceInfo.h.

Here is the call graph for this function:

◆ ~DeviceBEL()

DeviceInfo::DeviceBEL::~DeviceBEL ( )
inline

Definition at line 130 of file DeviceInfo.h.

Member Function Documentation

◆ getBELType()

std::string& DeviceInfo::DeviceBEL::getBELType ( )
inline

Definition at line 139 of file DeviceInfo.h.

Referenced by DeviceInfo::addBEL().

Here is the caller graph for this function:

◆ getSite()

DeviceSite* DeviceInfo::DeviceBEL::getSite ( )
inline

Definition at line 135 of file DeviceInfo.h.

◆ setSite()

void DeviceInfo::DeviceBEL::setSite ( DeviceElement parentPtr)

Definition at line 437 of file DeviceInfo.cc.

Referenced by DeviceBEL().

Here is the caller graph for this function:

Member Data Documentation

◆ BELType

std::string DeviceInfo::DeviceBEL::BELType
private

BEL Type recorded by a string (for flexibility)

TODO: replace this way by integer type id

Definition at line 151 of file DeviceInfo.h.

Referenced by getBELType().

◆ site

DeviceSite* DeviceInfo::DeviceBEL::site = nullptr
private

Definition at line 152 of file DeviceInfo.h.

Referenced by getSite().


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