Skip to content

[Infra] Cleaned Up Header Files in Place Folder #3055

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion vpr/src/place/compressed_grid.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "physical_types.h"

#include "vtr_assert.h"
#include "vtr_geometry.h"
#include "vtr_flat_map.h"

struct t_compressed_block_grid {
Expand Down
1 change: 1 addition & 0 deletions vpr/src/place/grid_tile_lookup.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "grid_tile_lookup.h"
#include "globals.h"
#include "physical_types_util.h"

GridTileLookup::GridTileLookup()
Expand Down
7 changes: 5 additions & 2 deletions vpr/src/place/grid_tile_lookup.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#ifndef VPR_SRC_PLACE_GRID_TILE_LOOKUP_H_
#define VPR_SRC_PLACE_GRID_TILE_LOOKUP_H_

#include "place_util.h"
#include "globals.h"
#include <vector>
#include "physical_types.h"
#include "vtr_ndmatrix.h"

class Region;

/**
* @class GridTileLookup
Expand Down
5 changes: 0 additions & 5 deletions vpr/src/place/initial_noc_placement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,8 @@
#include "noc_place_checkpoint.h"
#include "place_constraints.h"

#include "sat_routing.h"

#include "vtr_math.h"
#include "vtr_time.h"

#include <queue>

/**
* @brief Evaluates whether a NoC router swap should be accepted or not.
* If delta cost is non-positive, the move is always accepted. If the cost
Expand Down
1 change: 0 additions & 1 deletion vpr/src/place/move_transactions.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#define VPR_MOVE_TRANSACTIONS_H

#include "vpr_types.h"
#include "clustered_netlist_utils.h"

class BlkLocRegistry;
class GridBlock;
Expand Down
3 changes: 0 additions & 3 deletions vpr/src/place/move_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
#include "place_macro.h"
#include "vtr_random.h"

#include "draw_debug.h"
#include "draw.h"

#include "place_constraints.h"
#include "placer_state.h"
#include "PlacerCriticalities.h"
Expand Down
4 changes: 2 additions & 2 deletions vpr/src/place/noc_place_checkpoint.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef VTR_ROUTERPLACEMENTCHECKPOINT_H
#define VTR_ROUTERPLACEMENTCHECKPOINT_H

class NocCostHandler;

/**
* @brief NoC router placement checkpoint
*
Expand All @@ -20,6 +18,8 @@ class NocCostHandler;
#include "vpr_types.h"
#include "place_util.h"

class NocCostHandler;

/**
* @brief A NoC router placement checkpoint
*
Expand Down
2 changes: 0 additions & 2 deletions vpr/src/place/place_checkpoint.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
#ifndef PLACE_CHECKPOINT_H
#define PLACE_CHECKPOINT_H

#include "vtr_util.h"
#include "vpr_types.h"
#include "vtr_vector_map.h"
#include "place_util.h"
#include "globals.h"
#include "timing_info.h"

#include "place_delay_model.h"
Expand Down
2 changes: 1 addition & 1 deletion vpr/src/place/place_constraints.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Created on: Mar. 1, 2021
* Author: khalid88
*/
#include "globals.h"
#include "move_transactions.h"
#include "region.h"
#include "clustered_netlist_utils.h"
#include "partition_region.h"
#include "place_macro.h"
#include "grid_tile_lookup.h"
Expand Down
4 changes: 0 additions & 4 deletions vpr/src/place/place_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
#ifndef PLACE_UTIL_H
#define PLACE_UTIL_H

#include <string>

#include "vpr_types.h"
#include "vtr_util.h"
#include "vtr_vector_map.h"
#include "globals.h"

/**
Expand Down
1 change: 0 additions & 1 deletion vpr/src/place/placement_log_printer.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#pragma once

#include <cstddef>
#include <vector>

#include "timing_info_fwd.h"
Expand Down
5 changes: 5 additions & 0 deletions vpr/src/place/placer_breakpoint.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#include "placer_breakpoint.h"
#include "breakpoint_state_globals.h"
#include "draw.h"
#include "draw_debug.h"
#include "draw_global.h"
#include "vtr_expr_eval.h"

//map of the available move types and their corresponding type number
std::map<int, std::string> available_move_types = {
Expand Down
4 changes: 0 additions & 4 deletions vpr/src/place/placer_breakpoint.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@

#pragma once

#include "globals.h"
#include "vpr_types.h"
#include "move_utils.h"
#include "breakpoint.h"
#include "draw.h"

//transforms the vector moved_blocks to a vector of ints and adds it in glob_breakpoint_state
void transform_blocks_affected(const t_pl_blocks_to_be_moved& blocksAffected);
Expand Down