Skip to content

Commit 4218cad

Browse files
sfkhalidvaughnbetz
authored andcommitted
Commented ClusterAtomsLookup class
1 parent c0b2cc9 commit 4218cad

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

vpr/src/base/clustered_netlist_utils.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ class ClusteredPinAtomPinsLookup {
2727
vtr::vector<AtomPinId, ClusterPinId> atom_pin_connected_cluster_pin_;
2828
};
2929

30+
/*
31+
* This lookup is used to see which atoms are in each cluster block.
32+
* Getting the atoms inside of a cluster is an order k lookup.
33+
* The data is initialized automatically upon creation of the object.
34+
* The class should only be used after the clustered netlist is created.
35+
*/
3036
class ClusterAtomsLookup {
3137
public:
3238
ClusterAtomsLookup();
@@ -36,6 +42,7 @@ class ClusterAtomsLookup {
3642
void init_lookup();
3743

3844
private:
45+
//Store the atom ids of the atoms inside each cluster
3946
vtr::vector<ClusterBlockId, std::vector<AtomBlockId>> cluster_atoms;
4047
};
4148
#endif

0 commit comments

Comments
 (0)