Skip to content

Commit c0b2cc9

Browse files
sfkhalidvaughnbetz
authored andcommitted
Add comment to describe loop that fills in constraints object for writing out XML
1 parent 649d616 commit c0b2cc9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

vpr/src/base/vpr_constraints_writer.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ void setup_vpr_floorplan_constraints(VprConstraints& constraints, int expand, bo
4545
ClusterAtomsLookup atoms_lookup;
4646

4747
int part_id = 0;
48+
/*
49+
* For each cluster block, create a partition filled with the atoms that are currently in the cluster.
50+
* The PartitionRegion will be the location of the block in current placement, modified by the expansion factor.
51+
* The subtile can also optionally be set in the PartitionRegion, based on the value passed in by the user.
52+
*/
4853
for (auto blk_id : cluster_ctx.clb_nlist.blocks()) {
4954
std::string part_name;
5055
part_name = cluster_ctx.clb_nlist.block_name(blk_id);

0 commit comments

Comments
 (0)