AMF-Placer
2.0
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
PackedControlSet stores the data of a combination of FFs within one control set (clock enable/preset-reset/clock) that can be packed in a site. More...
#include <ParallelCLBPacker.h>
Public Member Functions | |
PackedControlSet () | |
PackedControlSet (const PackedControlSet &anotherControlSet) | |
Construct a new Packed Control Set object by cloning another one. More... | |
PackedControlSet & | operator= (const PackedControlSet &anotherControlSet) |
undate a new Packed Control Set object by cloning another one More... | |
~PackedControlSet () | |
unsigned int | getSize () const |
Get the the number of FFs in this control set. More... | |
const std::vector< DesignInfo::DesignCell * > & | getFFs () const |
get the FFs in this PackedControlSet More... | |
void | reset () |
clear the control set information in this PackedControlSet (only when there is no FF in this set) More... | |
void | addFF (DesignInfo::DesignCell *curFF) |
add a FF into this PackedControlSet and check the compatibility More... | |
void | removeXthFF (int i) |
remove a specify i-th FF from this PackedControlSet More... | |
void | updateCSID () |
int | findFF (DesignInfo::DesignCell *curFF) const |
find the index in the list for a given FF cell pointer More... | |
int | getCSId () const |
get the control set id of this PackedControlSet. More... | |
void | setCSId (int _CSId) |
set the control set id of this PackedControlSet. More... | |
DesignInfo::DesignNet * | getCLK () const |
DesignInfo::DesignNet * | getSR () const |
DesignInfo::DesignNet * | getCE () const |
DesignInfo::DesignCellType | getFFType () const |
bool | compatibleWith (int inputCSId) const |
check whether this PackedControlSet can be compatible with a given control set ID More... | |
void | setMustMainSlots () |
bool | isMustMainSlots () |
Private Attributes | |
int | CSId = -1 |
DesignInfo::DesignNet * | CLK = nullptr |
DesignInfo::DesignNet * | SR = nullptr |
DesignInfo::DesignNet * | CE = nullptr |
DesignInfo::DesignCellType | FFType |
std::vector< DesignInfo::DesignCell * > | FFs |
bool | mustMainSlots = false |
PackedControlSet stores the data of a combination of FFs within one control set (clock enable/preset-reset/clock) that can be packed in a site.
Definition at line 131 of file ParallelCLBPacker.h.
|
inline |
Definition at line 134 of file ParallelCLBPacker.h.
|
inline |
Construct a new Packed Control Set object by cloning another one.
anotherControlSet |
Definition at line 144 of file ParallelCLBPacker.h.
|
inline |
Definition at line 195 of file ParallelCLBPacker.h.
|
inline |
add a FF into this PackedControlSet and check the compatibility
curFF | a given FF cell |
Definition at line 235 of file ParallelCLBPacker.h.
|
inline |
check whether this PackedControlSet can be compatible with a given control set ID
inputCSId | the id of the target control set |
Definition at line 367 of file ParallelCLBPacker.h.
|
inline |
find the index in the list for a given FF cell pointer
curFF | a given FF cell |
Definition at line 302 of file ParallelCLBPacker.h.
|
inline |
Definition at line 348 of file ParallelCLBPacker.h.
Referenced by operator=(), and PackedControlSet().
|
inline |
Definition at line 336 of file ParallelCLBPacker.h.
Referenced by operator=(), and PackedControlSet().
|
inline |
get the control set id of this PackedControlSet.
The control set determines whether two FFs can be packed.
Definition at line 319 of file ParallelCLBPacker.h.
Referenced by operator=(), and PackedControlSet().
|
inline |
get the FFs in this PackedControlSet
Definition at line 212 of file ParallelCLBPacker.h.
Referenced by operator=(), and PackedControlSet().
|
inline |
Definition at line 354 of file ParallelCLBPacker.h.
Referenced by operator=(), and PackedControlSet().
|
inline |
Get the the number of FFs in this control set.
Definition at line 202 of file ParallelCLBPacker.h.
Referenced by operator=(), and PackedControlSet().
|
inline |
Definition at line 342 of file ParallelCLBPacker.h.
Referenced by operator=(), and PackedControlSet().
|
inline |
Definition at line 379 of file ParallelCLBPacker.h.
|
inline |
undate a new Packed Control Set object by cloning another one
anotherControlSet |
Definition at line 172 of file ParallelCLBPacker.h.
|
inline |
remove a specify i-th FF from this PackedControlSet
i | a specified index of the FF to be removed |
Definition at line 267 of file ParallelCLBPacker.h.
|
inline |
clear the control set information in this PackedControlSet (only when there is no FF in this set)
Definition at line 221 of file ParallelCLBPacker.h.
|
inline |
set the control set id of this PackedControlSet.
The control set determines whether two FFs can be packed.
_CSId | the id of the target control set |
Definition at line 331 of file ParallelCLBPacker.h.
|
inline |
Definition at line 374 of file ParallelCLBPacker.h.
|
inline |
Definition at line 275 of file ParallelCLBPacker.h.
Referenced by removeXthFF().
|
private |
Definition at line 388 of file ParallelCLBPacker.h.
Referenced by addFF(), getCE(), operator=(), PackedControlSet(), reset(), and updateCSID().
|
private |
Definition at line 386 of file ParallelCLBPacker.h.
Referenced by addFF(), getCLK(), operator=(), PackedControlSet(), reset(), and updateCSID().
|
private |
Definition at line 385 of file ParallelCLBPacker.h.
Referenced by addFF(), compatibleWith(), getCE(), getCLK(), getCSId(), getFFType(), getSR(), operator=(), PackedControlSet(), reset(), setCSId(), and updateCSID().
|
private |
Definition at line 390 of file ParallelCLBPacker.h.
Referenced by addFF(), findFF(), getFFs(), getSize(), operator=(), PackedControlSet(), removeXthFF(), reset(), and updateCSID().
|
private |
Definition at line 389 of file ParallelCLBPacker.h.
Referenced by addFF(), getFFType(), operator=(), and PackedControlSet().
|
private |
Definition at line 391 of file ParallelCLBPacker.h.
Referenced by isMustMainSlots(), and setMustMainSlots().
|
private |
Definition at line 387 of file ParallelCLBPacker.h.
Referenced by addFF(), getSR(), operator=(), PackedControlSet(), reset(), and updateCSID().