diff --git a/vpr/src/pack/re_cluster_util.cpp b/vpr/src/pack/re_cluster_util.cpp index e194cf2fca9..d8e8271c028 100644 --- a/vpr/src/pack/re_cluster_util.cpp +++ b/vpr/src/pack/re_cluster_util.cpp @@ -212,7 +212,8 @@ bool pack_mol_in_existing_cluster(t_pack_molecule* molecule, std::unordered_set* new_clb_atoms, bool during_packing, t_clustering_data& clustering_data, - t_lb_router_data*& router_data) { + t_lb_router_data*& router_data, + bool enable_pin_feasibility_filter) { auto& helper_ctx = g_vpr_ctx.mutable_cl_helper(); auto& cluster_ctx = g_vpr_ctx.mutable_clustering(); @@ -241,7 +242,7 @@ bool pack_mol_in_existing_cluster(t_pack_molecule* molecule, E_DETAILED_ROUTE_FOR_EACH_ATOM, router_data, 0, - helper_ctx.enable_pin_feasibility_filter, + enable_pin_feasibility_filter, //false, helper_ctx.feasible_block_array_size, target_ext_pin_util, diff --git a/vpr/src/pack/re_cluster_util.h b/vpr/src/pack/re_cluster_util.h index b1c16e80b39..109fceabe4b 100644 --- a/vpr/src/pack/re_cluster_util.h +++ b/vpr/src/pack/re_cluster_util.h @@ -100,6 +100,7 @@ bool start_new_cluster_for_mol(t_pack_molecule* molecule, * @param clustering_data: A data structure containing helper data for the clustering process * (is updated if this function is called during packing, especially intra_lb_routing data member). * @param router_data: returns the intra logic block router data. + * @param enable_pin_feasibility_filter: do a pin couting based legality check (before or in place of intra-cluster routing check). */ bool pack_mol_in_existing_cluster(t_pack_molecule* molecule, int molecule_size, @@ -107,7 +108,8 @@ bool pack_mol_in_existing_cluster(t_pack_molecule* molecule, std::unordered_set* new_clb_atoms, bool during_packing, t_clustering_data& clustering_data, - t_lb_router_data*& router_data); + t_lb_router_data*& router_data, + bool enable_pin_feasibility_filter = true); /** * @brief A function that fix the clustered netlist if the move is performed