Skip to content

Commit d867d54

Browse files
committed
formatting
1 parent f1203c9 commit d867d54

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

vpr/src/base/vpr_context.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ struct TimingContext : public Context {
116116

117117
/* Represents whether or not VPR should fail if timing constraints aren't met. */
118118
bool terminate_if_timing_fails = false;
119-
120119
};
121120

122121
namespace std {

vpr/src/timing/timing_util.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -603,9 +603,9 @@ std::vector<HistogramBucket> create_hold_slack_histogram(const tatum::HoldTiming
603603
}
604604

605605
void print_hold_timing_summary(const tatum::TimingConstraints& constraints, const tatum::HoldTimingAnalyzer& hold_analyzer, std::string prefix) {
606-
auto& timing_ctx = g_vpr_ctx.timing();
606+
auto& timing_ctx = g_vpr_ctx.timing();
607607

608-
auto hold_worst_neg_slack = sec_to_nanosec(find_hold_worst_negative_slack(hold_analyzer));
608+
auto hold_worst_neg_slack = sec_to_nanosec(find_hold_worst_negative_slack(hold_analyzer));
609609
auto hold_total_neg_slack = sec_to_nanosec(find_hold_total_negative_slack(hold_analyzer));
610610

611611
VTR_LOG("%shold Worst Negative Slack (hWNS): %g ns\n", prefix.c_str(), hold_worst_neg_slack);
@@ -659,9 +659,9 @@ void print_hold_timing_summary(const tatum::TimingConstraints& constraints, cons
659659
* adds details about the negative slack to a string that will be printed when VPR throws an error.
660660
*/
661661
if (timing_ctx.terminate_if_timing_fails && (hold_worst_neg_slack < 0 || hold_total_neg_slack < 0) && prefix == "Final ") {
662-
std::string msg = "\nDesign did not meet timing constraints.\nTiming failed and terminate_if_timing_fails set -- exiting";
663-
VPR_FATAL_ERROR(VPR_ERROR_TIMING, msg.c_str());
664-
}
662+
std::string msg = "\nDesign did not meet timing constraints.\nTiming failed and terminate_if_timing_fails set -- exiting";
663+
VPR_FATAL_ERROR(VPR_ERROR_TIMING, msg.c_str());
664+
}
665665
}
666666

667667
/*

vpr/src/util/vpr_utils.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2021,5 +2021,4 @@ void print_timing_stats(std::string name,
20212021
current.num_full_setup_updates - past.num_full_setup_updates,
20222022
current.num_full_hold_updates - past.num_full_hold_updates,
20232023
current.num_full_setup_hold_updates - past.num_full_setup_hold_updates);
2024-
20252024
}

0 commit comments

Comments
 (0)