Skip to content

Commit c616254

Browse files
fix failure in vtr_reg_strong/strong_graphics_commands
1 parent d923d75 commit c616254

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

vpr/src/base/read_options.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,7 @@ argparse::ArgumentParser create_arg_parser(const std::string& prog_name, t_optio
13771377
" * set_nets <int>\n"
13781378
" Sets the net drawing state\n"
13791379
" * set_cpd <int>\n"
1380-
" Sets the criticla path delay drawing state\n"
1380+
" Sets the critical path delay drawing state\n"
13811381
" * set_routing_util <int>\n"
13821382
" Sets the routing utilization drawing state\n"
13831383
" * set_clip_routing_util <int>\n"

vpr/src/place/place.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,6 @@ void try_place(const Netlist<>& net_list,
9595

9696
Placer placer(net_list, placer_opts, analysis_opts, noc_opts, directs, place_delay_model, cube_bb, is_flat, /*quiet=*/false);
9797

98-
#ifndef NO_GRAPHICS
99-
if (placer.noc_cost_handler().has_value()) {
100-
get_draw_state_vars()->set_noc_link_bandwidth_usages_ref(placer.noc_cost_handler()->get_link_bandwidth_usages());
101-
}
102-
#endif
103-
104-
const int width_fac = placer_opts.place_chan_width;
105-
init_draw_coords((float)width_fac, placer.placer_state().blk_loc_registry());
106-
10798
placer.place();
10899

109100
free_placement_structs();

vpr/src/place/placer.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,17 @@ Placer::Placer(const Netlist<>& net_list,
9494
blk_loc_registry.place_sync_external_block_connections(block_id);
9595
}
9696

97+
if (!quiet) {
98+
#ifndef NO_GRAPHICS
99+
if (noc_cost_handler_.has_value()) {
100+
get_draw_state_vars()->set_noc_link_bandwidth_usages_ref(noc_cost_handler_->get_link_bandwidth_usages());
101+
}
102+
#endif
103+
104+
const int width_fac = placer_opts.place_chan_width;
105+
init_draw_coords((float)width_fac, placer_state_.blk_loc_registry());
106+
}
107+
97108
// Allocate here because it goes into timing critical code where each memory allocation is expensive
98109
pb_gpin_lookup_ = IntraLbPbPinLookup(device_ctx.logical_block_types);
99110
// Enables fast look-up of atom pins connect to CLB pins

vpr/src/place/placer.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ class Placer {
8686

8787
std::unique_ptr<PlacementAnnealer> annealer_;
8888

89-
90-
9189
t_timing_analysis_profile_info pre_place_timing_stats_;
9290
t_timing_analysis_profile_info pre_quench_timing_stats_;
9391
t_timing_analysis_profile_info post_quench_timing_stats_;

0 commit comments

Comments
 (0)