File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -384,11 +384,6 @@ void GreedyCandidateSelector::update_connection_gain_values(
384
384
/* This function is called when the connection_gain values on the net net_id
385
385
*require updating. */
386
386
387
- // Atom Context used to lookup the atom pb.
388
- // TODO: Should investigate this. Using the atom pb in this class is very
389
- // strange.
390
- const AtomContext& atom_ctx = g_vpr_ctx.atom ();
391
-
392
387
int num_internal_connections, num_open_connections, num_stuck_connections;
393
388
num_internal_connections = num_open_connections = num_stuck_connections = 0 ;
394
389
@@ -397,6 +392,8 @@ void GreedyCandidateSelector::update_connection_gain_values(
397
392
/* may wish to speed things up by ignoring clock nets since they are high fanout */
398
393
for (AtomPinId pin_id : atom_netlist_.net_pins (net_id)) {
399
394
AtomBlockId blk_id = atom_netlist_.pin_block (pin_id);
395
+ // TODO: Should investigate this. Using the atom pb bimap through is_atom_blk_in_cluster_block
396
+ // in this class is very strange
400
397
if (cluster_legalizer.get_atom_cluster (blk_id) == legalization_cluster_id
401
398
&& cluster_legalizer.is_atom_blk_in_cluster_block (blk_id, clustered_blk_id)) {
402
399
num_internal_connections++;
You can’t perform that action at this time.
0 commit comments