From 6933ff51e92b13eb9aaaacbf57bef6e230a9813b Mon Sep 17 00:00:00 2001 From: tangxifan Date: Sat, 1 Feb 2020 22:38:21 -0700 Subject: [PATCH] net delay adopt RRGraph object, compile with no errors --- vpr/src/timing/net_delay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vpr/src/timing/net_delay.cpp b/vpr/src/timing/net_delay.cpp index a2cbc73a3..1bebb173d 100644 --- a/vpr/src/timing/net_delay.cpp +++ b/vpr/src/timing/net_delay.cpp @@ -29,7 +29,7 @@ * associated with that node. The map will be used to store delays while * * traversing the nodes of the route tree in load_one_net_delay_recurr. */ -static std::unordered_map inode_to_Tdel_map; +static std::unordered_map inode_to_Tdel_map; /*********************** Subroutines local to this module ********************/ @@ -107,7 +107,7 @@ static void load_one_net_delay(vtr::vector& net_delay, Clu } auto& cluster_ctx = g_vpr_ctx.clustering(); - int inode; + RRNodeId inode; t_rt_node* rt_root = traceback_to_route_tree(net_id); // obtain the root of the tree constructed from the traceback load_new_subtree_R_upstream(rt_root); // load in the resistance values for the route tree