Skip to content

Commit f8ed27a

Browse files
committed
[lib] debugging
1 parent f9bfe6d commit f8ed27a

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

libs/librrgraph/src/io/gen/rr_graph_uxsdcxx.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4021,7 +4021,6 @@ inline void write_node(T &in, std::ostream &os, Context &context){
40214021
os << "<loc";
40224022
os << " layer=\"" << in.get_node_loc_layer(child_context) << "\"";
40234023
os << " ptc=\"" << in.get_node_loc_ptc(child_context) << "\"";
4024-
VTR_LOG("RR graph writer io ptc: %s\n", in.get_node_loc_ptc(child_context));
40254024
if((bool)in.get_node_loc_side(child_context))
40264025
os << " side=\"" << lookup_loc_side[(int)in.get_node_loc_side(child_context)] << "\"";
40274026
if((bool)in.get_node_loc_twist(child_context))

libs/librrgraph/src/io/rr_graph_uxsdcxx_serializer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -713,8 +713,8 @@ class RrGraphSerializer final : public uxsd::RrGraphBase<RrGraphContextTypes> {
713713
}
714714

715715
inline const char* get_node_loc_ptc(const t_rr_node& node) final {
716-
// VTR_LOG("RR graph writer ptc: %s\n", rr_graph_builder_->node_ptc_nums_to_string(node.id()).c_str());
717-
return rr_graph_builder_->node_ptc_nums_to_string(node.id()).c_str();
716+
std::string ret = rr_graph_builder_->node_ptc_nums_to_string(node.id());
717+
return ret.c_str();
718718
}
719719
inline int get_node_loc_layer(const t_rr_node& node) final {
720720
return rr_graph_->node_layer(node.id());

libs/libvtrcapnproto/gen/rr_graph_uxsdcxx.capnp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Input file: /home/xifan/github/vtr-verilog-to-routing/libs/librrgraph/src/io/rr_graph.xsd
77
# md5sum of input file: f935bdbc0ff49d1ba93705b68f1db6dc
88

9-
@0xd574e99855680699;
9+
@0xf6fcbf56b4532db5;
1010
using Cxx = import "/capnp/c++.capnp";
1111
$Cxx.namespace("ucap");
1212

0 commit comments

Comments
 (0)