1212
1313#include " VprTimingGraphResolver.h"
1414
15- void generate_setup_timing_stats (const std::string& prefix, const SetupTimingInfo& timing_info, const AnalysisDelayCalculator& delay_calc, const t_analysis_opts& analysis_opts, bool is_flat) {
15+ void generate_setup_timing_stats (const std::string& prefix,
16+ const SetupTimingInfo& timing_info,
17+ const AnalysisDelayCalculator& delay_calc,
18+ const t_analysis_opts& analysis_opts,
19+ bool is_flat,
20+ const BlkLocRegistry& blk_loc_registry) {
1621 auto & timing_ctx = g_vpr_ctx.timing ();
1722 auto & atom_ctx = g_vpr_ctx.atom ();
1823
1924 print_setup_timing_summary (*timing_ctx.constraints , *timing_info.setup_analyzer (), " Final " , analysis_opts.write_timing_summary );
2025
21- VprTimingGraphResolver resolver (atom_ctx.nlist , atom_ctx.lookup , *timing_ctx.graph , delay_calc, is_flat);
26+ VprTimingGraphResolver resolver (atom_ctx.nlist , atom_ctx.lookup , *timing_ctx.graph , delay_calc, is_flat, blk_loc_registry );
2227 resolver.set_detail_level (analysis_opts.timing_report_detail );
2328
2429 tatum::TimingReporter timing_reporter (resolver, *timing_ctx.graph , *timing_ctx.constraints );
@@ -32,13 +37,18 @@ void generate_setup_timing_stats(const std::string& prefix, const SetupTimingInf
3237 timing_reporter.report_unconstrained_setup (prefix + " report_unconstrained_timing.setup.rpt" , *timing_info.setup_analyzer ());
3338}
3439
35- void generate_hold_timing_stats (const std::string& prefix, const HoldTimingInfo& timing_info, const AnalysisDelayCalculator& delay_calc, const t_analysis_opts& analysis_opts, bool is_flat) {
40+ void generate_hold_timing_stats (const std::string& prefix,
41+ const HoldTimingInfo& timing_info,
42+ const AnalysisDelayCalculator& delay_calc,
43+ const t_analysis_opts& analysis_opts,
44+ bool is_flat,
45+ const BlkLocRegistry& blk_loc_registry) {
3646 auto & timing_ctx = g_vpr_ctx.timing ();
3747 auto & atom_ctx = g_vpr_ctx.atom ();
3848
3949 print_hold_timing_summary (*timing_ctx.constraints , *timing_info.hold_analyzer (), " Final " );
4050
41- VprTimingGraphResolver resolver (atom_ctx.nlist , atom_ctx.lookup , *timing_ctx.graph , delay_calc, is_flat);
51+ VprTimingGraphResolver resolver (atom_ctx.nlist , atom_ctx.lookup , *timing_ctx.graph , delay_calc, is_flat, blk_loc_registry );
4252 resolver.set_detail_level (analysis_opts.timing_report_detail );
4353
4454 tatum::TimingReporter timing_reporter (resolver, *timing_ctx.graph , *timing_ctx.constraints );
0 commit comments