File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,14 @@ struct RoutingMetrics {
69
69
* File-scope variables
70
70
*/
71
71
72
- // Run-time flag to control when router debug information is printed
73
- // Note only enables debug output if compiled with VTR_ENABLE_DEBUG_LOGGING defined
74
- // f_router_debug is used to stop the router when a breakpoint is reached. When a breakpoint is reached, this flag is set to true.
72
+ /* *
73
+ * @brief Run-time flag to control when router debug information is printed
74
+ * Note only enables debug output if compiled with VTR_ENABLE_DEBUG_LOGGING defined
75
+ * f_router_debug is used to stop the router when a breakpoint is reached. When a breakpoint is reached, this flag is set to true.
76
+ *
77
+ * In addition f_router_debug is used to print additional debug information during routing, for instance lookahead expected costs
78
+ * information.
79
+ */
75
80
bool f_router_debug = false ;
76
81
77
82
// Count the number of times the router has failed
Original file line number Diff line number Diff line change @@ -143,6 +143,9 @@ float ExtendedMapLookahead::get_chan_ipin_delays(RRNodeId to_node) const {
143
143
auto & device_ctx = g_vpr_ctx.device ();
144
144
auto & rr_graph = device_ctx.rr_nodes ;
145
145
146
+ e_rr_type to_type = rr_graph.node_type (to_node);
147
+ VTR_ASSERT (to_type == SINK);
148
+
146
149
auto to_tile_type = device_ctx.grid [rr_graph.node_xlow (to_node)][rr_graph.node_ylow (to_node)].type ;
147
150
auto to_tile_index = to_tile_type->index ;
148
151
Original file line number Diff line number Diff line change @@ -198,6 +198,10 @@ util::Cost_Entry util::Expansion_Cost_Entry::get_median_entry() const {
198
198
/* find median by binning the delays of all entries and then chosing the bin
199
199
* with the largest number of entries */
200
200
201
+ // This is code that needs to be revisited. For the time being, if the median entry
202
+ // method calculation is used an assertion is thrown.
203
+ VTR_ASSERT_MSG (false , " Get median entry calculation method is not implemented!" );
204
+
201
205
int num_bins = 10 ;
202
206
203
207
/* find entries with smallest and largest delays */
You can’t perform that action at this time.
0 commit comments