File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ vtr::Matrix<float> calculate_routing_avail(e_rr_type rr_type) {
8585 // Calculate the number of available resources in each x/y channel
8686 VTR_ASSERT (rr_type == e_rr_type::CHANX || rr_type == e_rr_type::CHANY);
8787
88- auto & device_ctx = g_vpr_ctx.device ();
88+ const auto & device_ctx = g_vpr_ctx.device ();
8989 const auto & rr_graph = device_ctx.rr_graph ;
9090
9191 vtr::Matrix<float > avail ({{device_ctx.grid .width (), device_ctx.grid .height ()}}, 0 .);
Original file line number Diff line number Diff line change 66#include " net_cost_handler.h"
77#include " placer_state.h"
88
9+ /* *
10+ * @class RoutingChanUtilEstimator
11+ * @brief This class computes the net bounding boxes and estimates the routing channel utilization
12+ * for each CHANX/CHANY channel by smearing the estimated wirelength for each net across all channels
13+ * within its bounding box.
14+ */
915class RoutingChanUtilEstimator {
1016 public:
1117 RoutingChanUtilEstimator (const BlkLocRegistry& blk_loc_registry, bool cube_bb);
@@ -16,7 +22,6 @@ class RoutingChanUtilEstimator {
1622 std::unique_ptr<PlacerState> placer_state_;
1723 std::unique_ptr<NetCostHandler> net_cost_handler_;
1824 t_placer_opts placer_opts_;
19-
2025};
2126
2227vtr::Matrix<float > calculate_routing_avail (e_rr_type rr_type);
You can’t perform that action at this time.
0 commit comments