Skip to content

Commit 63cd34c

Browse files
committed
add pin counting filter option to pack_mol_in_existing_cluster
1 parent b04f8c5 commit 63cd34c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

vpr/src/pack/re_cluster_util.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@ bool pack_mol_in_existing_cluster(t_pack_molecule* molecule,
212212
std::unordered_set<AtomBlockId>* new_clb_atoms,
213213
bool during_packing,
214214
t_clustering_data& clustering_data,
215-
t_lb_router_data*& router_data) {
215+
t_lb_router_data*& router_data,
216+
bool enable_pin_feasibility_filter) {
216217
auto& helper_ctx = g_vpr_ctx.mutable_cl_helper();
217218
auto& cluster_ctx = g_vpr_ctx.mutable_clustering();
218219

@@ -241,7 +242,7 @@ bool pack_mol_in_existing_cluster(t_pack_molecule* molecule,
241242
E_DETAILED_ROUTE_FOR_EACH_ATOM,
242243
router_data,
243244
0,
244-
helper_ctx.enable_pin_feasibility_filter,
245+
enable_pin_feasibility_filter,
245246
//false,
246247
helper_ctx.feasible_block_array_size,
247248
target_ext_pin_util,

vpr/src/pack/re_cluster_util.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ bool pack_mol_in_existing_cluster(t_pack_molecule* molecule,
107107
std::unordered_set<AtomBlockId>* new_clb_atoms,
108108
bool during_packing,
109109
t_clustering_data& clustering_data,
110-
t_lb_router_data*& router_data);
110+
t_lb_router_data*& router_data
111+
bool enable_pin_feasibility_filter);
111112

112113
/**
113114
* @brief A function that fix the clustered netlist if the move is performed

0 commit comments

Comments
 (0)