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

a group of PlacementUnits More...

#include <PlacementInfo.h>

Public Member Functions

 ClusterUnit (int id)
 
 ~ClusterUnit ()
 
int getWeight ()
 
int getBRAMNum ()
 
int getDSPNum ()
 
void addPlacementUnit (PlacementInfo::PlacementUnit *curPU)
 
std::vector< PlacementInfo::PlacementUnit * > & getUnits ()
 
int getId ()
 

Private Attributes

std::vector< PlacementInfo::PlacementUnit * > PUs
 
int totalWeight
 
int totalBRAMNum
 
int totalDSPNum
 
int id
 

Detailed Description

a group of PlacementUnits

record the rought resource demand and PlacementUnits inside it. Usually used for initial processing (initial placement.)

Definition at line 2488 of file PlacementInfo.h.

Constructor & Destructor Documentation

◆ ClusterUnit()

PlacementInfo::ClusterUnit::ClusterUnit ( int  id)
inline

Definition at line 2491 of file PlacementInfo.h.

◆ ~ClusterUnit()

PlacementInfo::ClusterUnit::~ClusterUnit ( )
inline

Definition at line 2498 of file PlacementInfo.h.

Member Function Documentation

◆ addPlacementUnit()

void PlacementInfo::ClusterUnit::addPlacementUnit ( PlacementInfo::PlacementUnit curPU)
inline

Definition at line 2512 of file PlacementInfo.h.

Referenced by ClusterPlacer::createClockBasedClusterUnits(), ClusterPlacer::createLongPathClusterUnits(), ClusterPlacer::createSinglePUClusterUnits(), and ClusterPlacer::createUserDefinedClusterBasedClusterUnits().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getBRAMNum()

int PlacementInfo::ClusterUnit::getBRAMNum ( )
inline

Definition at line 2503 of file PlacementInfo.h.

◆ getDSPNum()

int PlacementInfo::ClusterUnit::getDSPNum ( )
inline

Definition at line 2507 of file PlacementInfo.h.

◆ getId()

int PlacementInfo::ClusterUnit::getId ( )
inline

◆ getUnits()

std::vector<PlacementInfo::PlacementUnit *>& PlacementInfo::ClusterUnit::getUnits ( )
inline

Definition at line 2520 of file PlacementInfo.h.

Referenced by ClusterPlacer::createClockBasedClusterUnits().

Here is the caller graph for this function:

◆ getWeight()

int PlacementInfo::ClusterUnit::getWeight ( )
inline

Definition at line 2499 of file PlacementInfo.h.

Member Data Documentation

◆ id

int PlacementInfo::ClusterUnit::id
private

Definition at line 2533 of file PlacementInfo.h.

Referenced by getId().

◆ PUs

std::vector<PlacementInfo::PlacementUnit *> PlacementInfo::ClusterUnit::PUs
private

Definition at line 2531 of file PlacementInfo.h.

Referenced by addPlacementUnit(), ClusterUnit(), and getUnits().

◆ totalBRAMNum

int PlacementInfo::ClusterUnit::totalBRAMNum
private

Definition at line 2532 of file PlacementInfo.h.

Referenced by addPlacementUnit(), ClusterUnit(), and getBRAMNum().

◆ totalDSPNum

int PlacementInfo::ClusterUnit::totalDSPNum
private

Definition at line 2532 of file PlacementInfo.h.

Referenced by addPlacementUnit(), ClusterUnit(), and getDSPNum().

◆ totalWeight

int PlacementInfo::ClusterUnit::totalWeight
private

Definition at line 2532 of file PlacementInfo.h.

Referenced by addPlacementUnit(), ClusterUnit(), and getWeight().


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