diff --git a/libs/libpcf/src/base/repack_design_constraints.cpp b/libs/libpcf/src/base/repack_design_constraints.cpp index 75ad0b5ec..220a2d41c 100644 --- a/libs/libpcf/src/base/repack_design_constraints.cpp +++ b/libs/libpcf/src/base/repack_design_constraints.cpp @@ -69,9 +69,11 @@ std::string RepackDesignConstraints::find_constrained_pin_net( return constrained_net_name; } -openfpga::BasicPort RepackDesignConstraints::net_pin(const std::string& net) const { +openfpga::BasicPort RepackDesignConstraints::net_pin( + const std::string& net) const { openfpga::BasicPort constrained_pin; - for (const RepackDesignConstraintId& design_constraint : design_constraints()) { + for (const RepackDesignConstraintId& design_constraint : + design_constraints()) { if (net == repack_design_constraint_nets_[design_constraint]) { constrained_pin = pin(design_constraint); break; diff --git a/openfpga/src/repack/repack.cpp b/openfpga/src/repack/repack.cpp index d7047d608..42e0d0bbc 100644 --- a/openfpga/src/repack/repack.cpp +++ b/openfpga/src/repack/repack.cpp @@ -614,8 +614,9 @@ static void add_lb_router_nets( } else if (design_constraints.unconstrained_net(constrained_net_name)) { constrained_atom_net_id = atom_net_id; /* Skip for the net which has been constrained on other pins */ - if (atom_net_id && design_constraints.net_pin( - atom_ctx.nlist.net_name(atom_net_id)).is_valid()) { + if (atom_net_id && + design_constraints.net_pin(atom_ctx.nlist.net_name(atom_net_id)) + .is_valid()) { VTR_LOGV(verbose, "Skip net '%s' on pin '%s[%d]' during repacking since it has " "been constrained to another pin\n",