aboutsummaryrefslogtreecommitdiffstats
path: root/common/timing.cc
diff options
context:
space:
mode:
Diffstat (limited to 'common/timing.cc')
-rw-r--r--common/timing.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/common/timing.cc b/common/timing.cc
index 5eae6db3..f4c0d297 100644
--- a/common/timing.cc
+++ b/common/timing.cc
@@ -34,16 +34,19 @@ void TimingAnalyser::setup()
{
init_ports();
get_cell_delays();
- get_route_delays();
topo_sort();
setup_port_domains();
+ run();
+}
+
+void TimingAnalyser::run()
+{
reset_times();
+ get_route_delays();
walk_forward();
walk_backward();
compute_slack();
compute_criticality();
- print_fmax();
- print_report();
}
void TimingAnalyser::init_ports()