Skip to content

Commit 75d1ef9

Browse files
applied Alex's comments
1 parent d2a1632 commit 75d1ef9

File tree

5 files changed

+3
-15
lines changed

5 files changed

+3
-15
lines changed

vpr/src/draw/manual_moves.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ bool string_is_a_number(const std::string& block_id);
151151
*
152152
* Helper function used in place.cpp. The ManualMovesState variable are updated and
153153
* the manual_move_cost_summary_dialog is called to display the cost members to the user
154-
* in the UI and waits for the user to either ACCPET/REJECT the manual move.
154+
* in the UI and waits for the user to either ACCEPT/REJECT the manual move.
155155
*/
156156
e_move_result pl_do_manual_move(double d_cost, double d_timing, double d_bounding_box, e_move_result& move_outcome);
157157

vpr/src/place/RL_agent_util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void assign_current_move_generator(std::unique_ptr<MoveGenerator>& move_generato
4242
std::unique_ptr<MoveGenerator>& current_move_generator);
4343

4444
/**
45-
* @brief move the updated current_move_generator to its original move_Generator structure based on he placer_options and the agent state
45+
* @brief move the updated current_move_generator to its original move_Generator structure based on the placer_options and the agent state
4646
*/
4747
void update_move_generator(std::unique_ptr<MoveGenerator>& move_generator,
4848
std::unique_ptr<MoveGenerator>& move_generator2,

vpr/src/place/initial_noc_placment.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#define VTR_INITIAL_NOC_PLACMENT_H
44

55
#include "vpr_types.h"
6-
#include "vtr_vector_map.h"
76

87
/**
98
* @brief Randomly places NoC routers, then runs a quick simulated annealing
@@ -12,7 +11,7 @@
1211
* @param noc_opts NoC-related options. Used to calculate NoC-related costs.
1312
* @param placer_opts Contain the placement algorithm options including the seed.
1413
* @param blk_loc_registry Placement block location information. To be filled
15-
* with the location where pl_macro is placed.
14+
* with the location where pl_macro is placed.
1615
*/
1716
void initial_noc_placement(const t_noc_opts& noc_opts,
1817
const t_placer_opts& placer_opts,

vpr/src/util/vpr_utils.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -523,15 +523,6 @@ t_physical_tile_type_ptr physical_tile_type(t_pl_loc loc) {
523523
return device_ctx.grid.get_physical_type({loc.x, loc.y, loc.layer});
524524
}
525525

526-
//t_physical_tile_type_ptr physical_tile_type(ClusterBlockId blk) {
527-
// auto& place_ctx = g_vpr_ctx.placement();
528-
// auto& device_ctx = g_vpr_ctx.device();
529-
//
530-
// auto block_loc = place_ctx.block_locs[blk].loc;
531-
//
532-
// return device_ctx.grid.get_physical_type({block_loc.x, block_loc.y, block_loc.layer});
533-
//}
534-
535526
t_physical_tile_type_ptr physical_tile_type(AtomBlockId atom_blk) {
536527
auto& atom_look_up = g_vpr_ctx.atom().lookup;
537528
auto& block_locs = g_vpr_ctx.placement().block_locs();

vpr/src/util/vpr_utils.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ bool is_empty_type(t_logical_block_type_ptr type);
3131
//Returns the corresponding physical type given the logical type as parameter
3232
t_physical_tile_type_ptr physical_tile_type(t_pl_loc loc);
3333

34-
//t_physical_tile_type_ptr physical_tile_type(ClusterBlockId blk);
35-
3634
t_physical_tile_type_ptr physical_tile_type(AtomBlockId atom_blk);
3735

3836
t_physical_tile_type_ptr physical_tile_type(ParentBlockId blk_id, bool is_flat);

0 commit comments

Comments
 (0)