Merge branch 'placeconstr2'
This commit is contained in:
commit
a08b71c676
@ -273,6 +273,16 @@ struct CellInfo : ArchCellInfo
|
|||||||
|
|
||||||
// cell_port -> bel_pin
|
// cell_port -> bel_pin
|
||||||
std::unordered_map<IdString, IdString> pins;
|
std::unordered_map<IdString, IdString> pins;
|
||||||
|
|
||||||
|
// placement constraints
|
||||||
|
CellInfo *constr_parent;
|
||||||
|
std::vector<CellInfo*> constr_children;
|
||||||
|
const int UNCONSTR = INT_MIN;
|
||||||
|
int constr_x = UNCONSTR; // this.x - parent.x
|
||||||
|
int constr_y = UNCONSTR; // this.y - parent.y
|
||||||
|
int constr_z = UNCONSTR; // this.z - parent.z
|
||||||
|
bool constr_abs_z = false; // parent.z := 0
|
||||||
|
// parent.[xyz] := 0 when (constr_parent == nullptr)
|
||||||
};
|
};
|
||||||
|
|
||||||
struct DeterministicRNG
|
struct DeterministicRNG
|
||||||
|
Loading…
Reference in New Issue
Block a user