Skip to content

Commit 30d9dbf

Browse files
add guard for set_noc_link_bandwidth_usages_ref call
1 parent a699e67 commit 30d9dbf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vpr/src/place/place.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,9 +439,11 @@ void try_place(const Netlist<>& net_list,
439439
NetCostHandler net_cost_handler = alloc_and_load_placement_structs(placer_opts, noc_opts, directs,
440440
num_directs, placer_state, noc_cost_handler);
441441

442+
#ifndef NO_GRAPHICS
442443
if (noc_cost_handler.has_value()) {
443444
set_noc_link_bandwidth_usages_ref(noc_cost_handler->get_link_bandwidth_usages());
444445
}
446+
#endif
445447

446448
ManualMoveGenerator manual_move_generator(placer_state);
447449

0 commit comments

Comments
 (0)