Public Member Functions | Static Public Member Functions

RZ Class Reference

List of all members.

Public Member Functions

 RZ (int _x0, int _y0, int _height, Device *dev, bool rev)
 RZ (string rz_id, int _x0, int _y0, int _height, Device *dev, bool rev)
 RZ (const RZ &rz)
int getX0 (void)
int getY0 (void)
int getHeight (void)
map< RBType, int > getConstrainedResourcesCount (void)
vector< vector< pair< RBType,
ResourceConstraint > > > * 
getResourcesArrayPtr (void)
int getRZCost (void) const
bool isReversed (void)
string getID (void) const
DevicegetDevicePtr (void)
RZExtensionReturnValue extendRZ (void)
void updateConstrainedResources ()
void printRZ (void)
void info (void) const
int computeBitstreamSize (void)
bool constrainsColumn (Coordinates c)
void computeCost (void)
void generateUCF (string taskname)
void generateUCF (string taskname, string pblock_name, ofstream &file)
bool operator== (const RZ &rz) const
bool operator!= (const RZ &rz) const
int horizontalDistance (const RZ &other)
int verticalDistance (const RZ &other)
bool isOverlappingRZ (const RZ &other)
bool overlapsRZInSet (vector< RZ > &rzs)
void addCompatibleTask (string task)
void setNbIncompatibleTasks (int nbTasks)
int getNbIncompatibleTasks (void)
vector< string > getCompatibleTaskVector (void)
void clearCompatibleTasks (void)
void setResourceWastage (double val)
bool isResourcePositionOK (InterfaceLocation loc)
void setResourcesArray (vector< vector< pair< RBType, ResourceConstraint > > > &vec)
bool areColumnsIdentical (int col1, int col2)
bool isColumnIdenticallyConstrained (int col)
void setID (string)

Static Public Member Functions

static void setTaskCorrelationCost (double c)
static void setRZShapeCost (double c)
static void setInternalFragmentationCost (double c)
static void setMinimumDistanceBetweenRZs (int val)

Constructor & Destructor Documentation

RZ::RZ ( const RZ rz  )  [inline]

Copy constructor


Member Function Documentation

int RZ::computeBitstreamSize ( void   ) 

Returns bitstream size in words depending on the constrained resources and on the device model

void RZ::computeCost ( void   ) 

Computes cost associated with the reconfigurable zone. It is composed of two parts: application compliance (number of tasks that can be hosted by the RZ and RZ shape (rectangular zones prefered to weird shapes). RZ shape cost is related to the number of right angles inside the RZ.

RZExtensionReturnValue RZ::extendRZ ( void   ) 

This method extends the current RZ size. Extension can be done on the right or left side depending on the boolean parameter.

void RZ::generateUCF ( string  taskname  ) 

Generates the constraint file (.ucf) related to the RZ

int RZ::getX0 ( void   ) 

Getters and setters

void RZ::info ( void   )  const

Displays information about the RZ.

void RZ::printRZ ( void   ) 

Displays a string representation of the RZ. Displays the model upside down in order to comply with PlanAhead floorplanning view.

void RZ::updateConstrainedResources ( void   ) 

Computes the resources associated with the given RZ using our specific FPGA hardware architecture models. Translates CLBs into their Slices equivalent.


The documentation for this class was generated from the following files:
 All Classes Files Functions Enumerations