diff --git a/inou/locator/traverse_lg.cpp b/inou/locator/traverse_lg.cpp index 0bb86dd2a..ec2fdff46 100644 --- a/inou/locator/traverse_lg.cpp +++ b/inou/locator/traverse_lg.cpp @@ -107,18 +107,14 @@ void Traverse_lg::travers(Eprp_var& var) { void Traverse_lg::remove_lib_loc_from_orig_lg(Lgraph* orig_lg) { /* This is to remove loc and source file information from nodes having source files like Reg.scala * These files are like liberty files and we never mark DT on these files for Eval*/ - fmt::print("\n\n BEFORE running remove_lib_loc_from_orig_lg \n\n"); - orig_lg->dump(true); for (auto node : orig_lg->fast(true)) { if(node.has_loc()){ auto fname = node.get_source(); - if (fname == "Reg.scala") { + if ( (fname == "Reg.scala") || (fname == "Interrupts.scala") || (fname == "Mux.scala") ) { node.del_source(); } } } - fmt::print("\n\n AFTER running remove_lib_loc_from_orig_lg \n\n"); - orig_lg->dump(true); } void Traverse_lg::debug_function(Lgraph* lg) { @@ -1889,9 +1885,12 @@ float Traverse_lg::get_matching_weight(const absl::flat_hash_set