[code] format

This commit is contained in:
tangxifan 2023-01-14 23:05:42 -08:00
parent 4242c39b01
commit 2a0e512ac9
1 changed files with 11 additions and 7 deletions

View File

@ -614,17 +614,21 @@ static void add_lb_router_nets(
} else if (design_constraints.unconstrained_net(constrained_net_name)) { } else if (design_constraints.unconstrained_net(constrained_net_name)) {
constrained_atom_net_id = atom_net_id; constrained_atom_net_id = atom_net_id;
/* Skip for the net which has been constrained on other pins */ /* Skip for the net which has been constrained on other pins */
if (atom_net_id && !design_constraints.unconstrained_net(atom_ctx.nlist.net_name(atom_net_id))) { if (atom_net_id && !design_constraints.unconstrained_net(
atom_ctx.nlist.net_name(atom_net_id))) {
VTR_LOGV(verbose, VTR_LOGV(verbose,
"Skip net '%s' on pin '%s[%d]' during repacking since it has been constrained to another pin\n", "Skip net '%s' on pin '%s[%d]' during repacking since it has "
atom_ctx.nlist.net_name(atom_net_id).c_str(), source_pb_pin->port->name, "been constrained to another pin\n",
source_pb_pin->pin_number); atom_ctx.nlist.net_name(atom_net_id).c_str(),
source_pb_pin->port->name, source_pb_pin->pin_number);
continue; continue;
} }
VTR_LOGV(verbose, VTR_LOGV(verbose,
"Follow the same mapping results for net '%s' on pin '%s[%d]' during repacking (constrained net name is %s)\n", "Follow the same mapping results for net '%s' on pin '%s[%d]' "
atom_ctx.nlist.net_name(atom_net_id).c_str(), source_pb_pin->port->name, "during repacking (constrained net name is %s)\n",
source_pb_pin->pin_number, constrained_net_name.c_str()); atom_ctx.nlist.net_name(atom_net_id).c_str(),
source_pb_pin->port->name, source_pb_pin->pin_number,
constrained_net_name.c_str());
} }
/* Bypass unmapped pins. There are 4 conditions to consider /* Bypass unmapped pins. There are 4 conditions to consider