Uncomment out negative slack messages during update_budget(), make verbose

This commit is contained in:
Eddie Hung 2018-07-21 12:47:09 -07:00
parent 31c9fd28fe
commit e44dc25f09

View File

@ -223,16 +223,18 @@ void update_budget(Context *ctx)
// HACK HACK HACK // HACK HACK HACK
// Post-update check // Post-update check
// if (user.budget < 0) if (ctx->verbose) {
// log_warning("port %s.%s, connected to net '%s', has negative " if (user.budget < 0)
// "timing budget of %fns\n", log_warning("port %s.%s, connected to net '%s', has negative "
// user.cell->name.c_str(ctx), user.port.c_str(ctx), net.first.c_str(ctx), "timing budget of %fns\n",
// ctx->getDelayNS(user.budget)); user.cell->name.c_str(ctx), user.port.c_str(ctx), net.first.c_str(ctx),
// if (ctx->verbose) ctx->getDelayNS(user.budget));
// log_info("port %s.%s, connected to net '%s', has " else
// "timing budget of %fns\n", log_info("port %s.%s, connected to net '%s', has "
// user.cell->name.c_str(ctx), user.port.c_str(ctx), net.first.c_str(ctx), "timing budget of %fns\n",
// ctx->getDelayNS(user.budget)); user.cell->name.c_str(ctx), user.port.c_str(ctx), net.first.c_str(ctx),
ctx->getDelayNS(user.budget));
}
} }
} }
} }