@@ -398,8 +398,8 @@ std::map<t_logical_block_type_ptr, size_t> do_clustering(const t_packer_opts& pa
398
398
* Since some of the primitives might fail legality, this structure temporarily
399
399
* stores PartitionRegion information while the cluster is packed*/
400
400
PartitionRegion temp_cluster_pr;
401
+ NocGroupId temp_cluster_noc_grp_id = NocGroupId::INVALID ();
401
402
402
- #if 0
403
403
start_new_cluster (helper_ctx.cluster_placement_stats , helper_ctx.primitives_list ,
404
404
clb_index, istart,
405
405
num_used_type_instances,
@@ -413,8 +413,7 @@ std::map<t_logical_block_type_ptr, size_t> do_clustering(const t_packer_opts& pa
413
413
packer_opts.enable_pin_feasibility_filter ,
414
414
balance_block_type_utilization,
415
415
packer_opts.feasible_block_array_size ,
416
- temp_cluster_pr);
417
- #endif // //00000000000000000000000000000000000000000000000000
416
+ temp_cluster_pr, temp_cluster_noc_grp_id);
418
417
419
418
// initial molecule in cluster has been processed
420
419
cluster_stats.num_molecules_processed ++;
@@ -497,7 +496,6 @@ std::map<t_logical_block_type_ptr, size_t> do_clustering(const t_packer_opts& pa
497
496
break ;
498
497
}
499
498
500
- #if 0
501
499
try_fill_cluster (packer_opts,
502
500
cur_cluster_placement_stats_ptr,
503
501
prev_molecule,
@@ -520,12 +518,12 @@ std::map<t_logical_block_type_ptr, size_t> do_clustering(const t_packer_opts& pa
520
518
router_data,
521
519
target_ext_pin_util,
522
520
temp_cluster_pr,
521
+ temp_cluster_noc_grp_id,
523
522
block_pack_status,
524
523
clustering_data.unclustered_list_head ,
525
524
unclustered_list_head_size,
526
525
net_output_feeds_driving_block_input,
527
526
primitive_candidate_block_types);
528
- #endif // //////000000000000000
529
527
530
528
i++;
531
529
0 commit comments