AMF-Placer
2.0
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
A control set is a combination of CLK, CE and SR signal. It could be nullptr (not related to control set) More...
#include <DesignInfo.h>
Public Member Functions | |
ControlSetInfo (DesignInfo::DesignCell *curFF, int id) | |
Construct a new Control Set Info object with signals of a given FF and a given ID. More... | |
~ControlSetInfo () | |
bool | compatibleWith (DesignInfo::DesignCell *curFF) |
check if a FF is compatible with the control set More... | |
void | setControlSetInfoAs (DesignInfo::DesignCell *curFF) |
Set the control set information accoridng to a given FF. More... | |
DesignInfo::DesignNet * | getCLK () const |
DesignInfo::DesignNet * | getSR () const |
DesignInfo::DesignNet * | getCE () const |
DesignInfo::DesignCellType | getFFType () const |
const int | getId () const |
Get the Id of the control set (each control set will have a unique Id) More... | |
void | addFF (DesignInfo::DesignCell *curFF) |
add a FF into the set of FFs which are compatible to this control set More... | |
std::vector< DesignInfo::DesignCell * > & | getFFs () |
get the set of FFs which are compatible to this control set More... | |
void | display () |
Private Attributes | |
DesignInfo::DesignNet * | CLK = nullptr |
DesignInfo::DesignNet * | SR = nullptr |
DesignInfo::DesignNet * | CE = nullptr |
DesignInfo::DesignCellType | FFType |
std::vector< DesignInfo::DesignCell * > | FFs |
int | id = -1 |
A control set is a combination of CLK, CE and SR signal. It could be nullptr (not related to control set)
Definition at line 1151 of file DesignInfo.h.
|
inline |
Construct a new Control Set Info object with signals of a given FF and a given ID.
curFF | FF to extract control set signal |
id | assign an Id for this combination |
Definition at line 1160 of file DesignInfo.h.
|
inline |
Definition at line 1166 of file DesignInfo.h.
|
inline |
add a FF into the set of FFs which are compatible to this control set
curFF |
Definition at line 1288 of file DesignInfo.h.
Referenced by DesignInfo::updateFFControlSets().
|
inline |
check if a FF is compatible with the control set
check all the control signals of the FF are identical to those of control set respectively. Only those FFs compatible to the same control set can be packed in one Half CLB block in CLB site.
curFF | a given FF |
Definition at line 1178 of file DesignInfo.h.
|
inline |
Definition at line 1303 of file DesignInfo.h.
Referenced by ParallelCLBPacker::PackingCLBSite::addCarry().
|
inline |
Definition at line 1264 of file DesignInfo.h.
Referenced by ParallelCLBPacker::PackedControlSet::addFF(), and InitialPacker::PackedControlSet::addFF().
|
inline |
Definition at line 1256 of file DesignInfo.h.
Referenced by ParallelCLBPacker::PackedControlSet::addFF(), InitialPacker::PackedControlSet::addFF(), ParallelCLBPacker::PackingCLBSite::SiteBELMapping::addLUTFFPair(), ParallelCLBPacker::PackingCLBSite::PackingCLBCluster::addToFFSet(), ParallelCLBPacker::PackingCLBSite::SiteBELMapping::canDirectConnectInSlot(), and ParallelCLBPacker::PackingCLBSite::PackingCLBCluster::compatibleInOneHalfCLB().
|
inline |
get the set of FFs which are compatible to this control set
Definition at line 1298 of file DesignInfo.h.
|
inline |
Definition at line 1269 of file DesignInfo.h.
Referenced by ParallelCLBPacker::PackingCLBSite::PackingCLBCluster::compatibleInOneHalfCLB().
|
inline |
Get the Id of the control set (each control set will have a unique Id)
Definition at line 1278 of file DesignInfo.h.
Referenced by ParallelCLBPacker::PackedControlSet::addFF(), InitialPacker::PackedControlSet::addFF(), ParallelCLBPacker::PackingCLBSite::PackingCLBCluster::addFFGroup(), ParallelCLBPacker::PackingCLBSite::SiteBELMapping::addLUTFFPair(), ParallelCLBPacker::PackingCLBSite::PackingCLBCluster::addToFFSet(), and ParallelCLBPacker::PackingCLBSite::SiteBELMapping::canDirectConnectInSlot().
|
inline |
Definition at line 1260 of file DesignInfo.h.
Referenced by ParallelCLBPacker::PackedControlSet::addFF(), InitialPacker::PackedControlSet::addFF(), ParallelCLBPacker::PackingCLBSite::SiteBELMapping::addLUTFFPair(), ParallelCLBPacker::PackingCLBSite::PackingCLBCluster::addToFFSet(), ParallelCLBPacker::PackingCLBSite::SiteBELMapping::canDirectConnectInSlot(), and ParallelCLBPacker::PackingCLBSite::PackingCLBCluster::compatibleInOneHalfCLB().
|
inline |
Set the control set information accoridng to a given FF.
curFF | target FF to extract control set signal |
Definition at line 1222 of file DesignInfo.h.
Referenced by ControlSetInfo().
|
private |
Definition at line 1318 of file DesignInfo.h.
Referenced by compatibleWith(), display(), getCE(), and setControlSetInfoAs().
|
private |
Definition at line 1316 of file DesignInfo.h.
Referenced by compatibleWith(), display(), getCLK(), and setControlSetInfoAs().
|
private |
Definition at line 1320 of file DesignInfo.h.
Referenced by addFF(), ControlSetInfo(), and getFFs().
|
private |
Definition at line 1319 of file DesignInfo.h.
Referenced by compatibleWith(), display(), getFFType(), and setControlSetInfoAs().
|
private |
Definition at line 1321 of file DesignInfo.h.
Referenced by getId().
|
private |
Definition at line 1317 of file DesignInfo.h.
Referenced by compatibleWith(), display(), getSR(), and setControlSetInfoAs().