@@ -175,7 +175,7 @@ GreedySeedSelector::GreedySeedSelector(const AtomNetlist& atom_netlist,
175
175
const LogicalModels& models,
176
176
const PreClusterTimingManager& pre_cluster_timing_manager)
177
177
: seed_mols_(prepacker.molecules().begin(), prepacker.molecules().end()) {
178
- // Seed atoms list is initialized with all atoms in the atom netlist.
178
+ // Seed molecule list is initialized with all molecule in the netlist.
179
179
180
180
// Pre-compute the criticality of each atom
181
181
// Default criticalities set to zero (e.g. if not timing driven)
@@ -188,8 +188,8 @@ GreedySeedSelector::GreedySeedSelector(const AtomNetlist& atom_netlist,
188
188
}
189
189
}
190
190
191
- // Maintain a lookup table of the seed gain for each atom . This will be
192
- // used to sort the seed atoms .
191
+ // Maintain a lookup table of the seed gain for each molecule . This will be
192
+ // used to sort the seed molecules .
193
193
// Initially all gains are zero.
194
194
vtr::vector<PackMoleculeId, float > molecule_gains (seed_mols_.size (), 0 .f );
195
195
@@ -236,20 +236,20 @@ GreedySeedSelector::GreedySeedSelector(const AtomNetlist& atom_netlist,
236
236
237
237
// Set the starting seed index (the index of the first molecule to propose).
238
238
// The index of the first seed to propose is the first molecule in the
239
- // seed atoms vector (i.e. the one with the highest seed gain).
239
+ // seed molecules vector (i.e. the one with the highest seed gain).
240
240
seed_index_ = 0 ;
241
241
}
242
242
243
243
PackMoleculeId GreedySeedSelector::get_next_seed (const ClusterLegalizer& cluster_legalizer) {
244
244
while (seed_index_ < seed_mols_.size ()) {
245
- // Get the current seed atom at the seed index and increment the
245
+ // Get the current seed molecule at the seed index and increment the
246
246
// seed index.
247
247
// All previous seed indices have been either proposed already or
248
248
// are already clustered. This process assumes that once an atom
249
249
// is clustered it will never become unclustered.
250
250
PackMoleculeId seed_molecule_id = seed_mols_[seed_index_++];
251
251
252
- // If this atom has been clustered, it cannot be proposed as a seed.
252
+ // If this molecule has been clustered, it cannot be proposed as a seed.
253
253
// Skip to the next seed.
254
254
if (cluster_legalizer.is_mol_clustered (seed_molecule_id)) {
255
255
continue ;
@@ -258,7 +258,7 @@ PackMoleculeId GreedySeedSelector::get_next_seed(const ClusterLegalizer& cluster
258
258
}
259
259
260
260
// If the previous loop does not return a molecule, it implies that all
261
- // atoms have been clustered or have already been proposed as a seed.
261
+ // molecule have been clustered or have already been proposed as a seed.
262
262
// Return nullptr to signify that there are no further seeds.
263
263
return PackMoleculeId::INVALID ();
264
264
}
0 commit comments