Skip to content

Commit 84622b8

Browse files
committed
[ap draw] post rebase changes
1 parent f2613df commit 84622b8

File tree

3 files changed

+3
-18
lines changed

3 files changed

+3
-18
lines changed

vpr/src/analytical_place/ap_draw_manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void APDrawManager::update_graphics(unsigned int iteration, enum APDrawType draw
4141
} else {
4242
msg = "Analytical Placement";
4343
}
44-
update_screen(ScreenUpdatePriority::MAJOR, msg.c_str(), ANALYTICAL_PLACEMENT, nullptr);
44+
update_screen(ScreenUpdatePriority::MAJOR, msg.c_str(), e_pic_type::ANALYTICAL_PLACEMENT, nullptr);
4545
#else
4646
(void)iteration;
4747
(void)draw_type;

vpr/src/analytical_place/global_placer.cpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -461,21 +461,6 @@ PartialPlacement SimPLGlobalPlacer::place() {
461461
*density_manager_,
462462
pre_cluster_timing_manager_);
463463

464-
<<<<<<< HEAD
465-
<<<<<<< HEAD
466-
update_screen(ScreenUpdatePriority::MAJOR, "Global Placement Complete", e_pic_type::ANALYTICAL_PLACEMENT, nullptr);
467-
=======
468-
469-
#ifndef NO_GRAPHICS
470-
// Final display of the last iteration's placement
471-
get_draw_state_vars()->set_ap_partial_placement_ref(p_placement);
472-
update_screen(ScreenUpdatePriority::MAJOR, "Global Placement Complete", ANALYTICAL_PLACEMENT, nullptr);
473-
get_draw_state_vars()->clear_ap_partial_placement_ref();
474-
#endif
475-
>>>>>>> dc6e76ac9 ([draw ap] ap draw working with the rest of the draw)
476-
=======
477-
478-
>>>>>>> 5b2a7c445 ([ap draw] drawing manager)
479464
// Return the placement from the final iteration.
480465
return best_p_placement;
481466
}

vpr/src/draw/draw.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ void update_screen(ScreenUpdatePriority priority,
313313
state_change = true;
314314

315315
if (draw_state->show_graphics) {
316-
if (pic_on_screen_val == ANALYTICAL_PLACEMENT) {
316+
if (pic_on_screen_val == e_pic_type::ANALYTICAL_PLACEMENT) {
317317
set_initial_world_ap();
318318
} else {
319319
set_initial_world();
@@ -672,7 +672,7 @@ void act_on_mouse_press(ezgl::application* app, GdkEventButton* event, double x,
672672
* fanins and fanouts are highlighted when you click on a block *
673673
* attached to them. */
674674

675-
if (get_draw_state_vars()->pic_on_screen == ANALYTICAL_PLACEMENT) {
675+
if (get_draw_state_vars()->pic_on_screen == e_pic_type::ANALYTICAL_PLACEMENT) {
676676
// No selection in analytical placement mode yet
677677
return;
678678
}

0 commit comments

Comments
 (0)