From 02967f2870bc0bb870105f512e786dd4b1a280d6 Mon Sep 17 00:00:00 2001 From: Maciej Kurc Date: Mon, 1 Mar 2021 16:08:56 +0100 Subject: [PATCH] Added writing rr graph node indices to GSB dump. Signed-off-by: Maciej Kurc --- openfpga/src/annotation/write_xml_device_rr_gsb.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/openfpga/src/annotation/write_xml_device_rr_gsb.cpp b/openfpga/src/annotation/write_xml_device_rr_gsb.cpp index 63c5454a7..8aa8fb3b6 100644 --- a/openfpga/src/annotation/write_xml_device_rr_gsb.cpp +++ b/openfpga/src/annotation/write_xml_device_rr_gsb.cpp @@ -60,6 +60,7 @@ void write_rr_switch_block_to_xml(const std::string fname_prefix, fp << "\t<" << rr_node_typename[rr_graph.node_type(cur_rr_node)] << " side=\"" << gsb_side_manager.to_string() << "\" index=\"" << inode + << "\" node_id=\"" << size_t(cur_rr_node) << "\" mux_size=\"" << get_rr_graph_configurable_driver_nodes(rr_graph, cur_rr_node).size() << "\">" << std::endl; @@ -85,6 +86,7 @@ void write_rr_switch_block_to_xml(const std::string fname_prefix, fp << "\t\t" @@ -116,6 +118,7 @@ void write_rr_switch_block_to_xml(const std::string fname_prefix, fp << "\t<" << rr_node_typename[rr_graph.node_type(cur_rr_node)] << " side=\"" << gsb_side_manager.to_string() << "\" index=\"" << inode + << "\" node_id=\"" << size_t(cur_rr_node) << "\" segment_id=\"" << size_t(src_segment_id) << "\" mux_size=\"" << driver_rr_edges.size() << "\">" @@ -126,7 +129,8 @@ void write_rr_switch_block_to_xml(const std::string fname_prefix, SideManager oppo_side = gsb_side_manager.get_opposite(); fp << "\t\t" << std::endl; @@ -144,6 +148,7 @@ void write_rr_switch_block_to_xml(const std::string fname_prefix, fp << "\t\t" << std::endl; @@ -152,6 +157,7 @@ void write_rr_switch_block_to_xml(const std::string fname_prefix, fp << "\t\t" << std::endl;