Skip to content

Commit e8ea974

Browse files
author
Nathan Shreve
committed
Moved parse_lookahead_data.py
1 parent 0826ad7 commit e8ea974

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

vpr/src/route/lookahead_profiler.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,9 @@ void LookaheadProfiler::record(int iteration,
6666
if (iteration < 1)
6767
return;
6868

69-
RRNodeId source_inode = branch_inodes.back();
69+
RRNodeId source_inode = branch_inodes.back(); // Not necessarily an actual SOURCE node.
7070
RRNodeId sink_inode = branch_inodes.front();
7171

72-
VTR_ASSERT(rr_graph.node_type(source_inode) == SOURCE);
7372
VTR_ASSERT(rr_graph.node_type(sink_inode) == SINK);
7473

7574
/* Get sink node attributes (atom block name, atom block model, cluster type, tile dimensions) */

vpr/src/route/lookahead_profiler.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ class LookaheadProfiler {
2727
* @param router_lookahead
2828
* @param net_id
2929
* @param net_list
30-
* @param branch_inodes A path from a sink to its source, as a vector of nodes.
30+
* @param branch_inodes A backwards path of nodes, starting at a sink.
3131
*
3232
* @warning
33-
* branch_inodes must be a backwards path, from a sink node to a source node.
33+
* branch_inodes must be a backwards path, starting at a sink node.
3434
*/
3535
void record(int iteration,
3636
int target_net_pin_index,

0 commit comments

Comments
 (0)