Merge pull request #257 from antmicro/enhanced_gsb_dump
GSB dump enhancement
This commit is contained in:
commit
fcfe143f2f
|
@ -181,7 +181,7 @@ jobs:
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
if: ${{ github.ref == 'refs/heads/master' || needs.change_detect.outputs.force_upload }}
|
if: ${{ (github.ref == 'refs/heads/master') || (needs.change_detect.outputs.force_upload == true) }}
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
|
|
|
@ -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)]
|
fp << "\t<" << rr_node_typename[rr_graph.node_type(cur_rr_node)]
|
||||||
<< " side=\"" << gsb_side_manager.to_string()
|
<< " side=\"" << gsb_side_manager.to_string()
|
||||||
<< "\" index=\"" << inode
|
<< "\" index=\"" << inode
|
||||||
|
<< "\" node_id=\"" << size_t(cur_rr_node)
|
||||||
<< "\" mux_size=\"" << get_rr_graph_configurable_driver_nodes(rr_graph, cur_rr_node).size()
|
<< "\" mux_size=\"" << get_rr_graph_configurable_driver_nodes(rr_graph, cur_rr_node).size()
|
||||||
<< "\">"
|
<< "\">"
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
@ -85,6 +86,7 @@ void write_rr_switch_block_to_xml(const std::string fname_prefix,
|
||||||
|
|
||||||
fp << "\t\t<driver_node type=\"" << rr_node_typename[rr_graph.node_type(driver_node)]
|
fp << "\t\t<driver_node type=\"" << rr_node_typename[rr_graph.node_type(driver_node)]
|
||||||
<< "\" side=\"" << chan_side_manager.to_string()
|
<< "\" side=\"" << chan_side_manager.to_string()
|
||||||
|
<< "\" node_id=\"" << size_t(driver_node)
|
||||||
<< "\" index=\"" << driver_node_index
|
<< "\" index=\"" << driver_node_index
|
||||||
<< "\" segment_id=\"" << size_t(des_segment_id)
|
<< "\" segment_id=\"" << size_t(des_segment_id)
|
||||||
<< "\"/>"
|
<< "\"/>"
|
||||||
|
@ -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)]
|
fp << "\t<" << rr_node_typename[rr_graph.node_type(cur_rr_node)]
|
||||||
<< " side=\"" << gsb_side_manager.to_string()
|
<< " side=\"" << gsb_side_manager.to_string()
|
||||||
<< "\" index=\"" << inode
|
<< "\" index=\"" << inode
|
||||||
|
<< "\" node_id=\"" << size_t(cur_rr_node)
|
||||||
<< "\" segment_id=\"" << size_t(src_segment_id)
|
<< "\" segment_id=\"" << size_t(src_segment_id)
|
||||||
<< "\" mux_size=\"" << driver_rr_edges.size()
|
<< "\" mux_size=\"" << driver_rr_edges.size()
|
||||||
<< "\">"
|
<< "\">"
|
||||||
|
@ -127,6 +130,7 @@ void write_rr_switch_block_to_xml(const std::string fname_prefix,
|
||||||
fp << "\t\t<driver_node type=\"" << rr_node_typename[rr_graph.node_type(cur_rr_node)]
|
fp << "\t\t<driver_node type=\"" << rr_node_typename[rr_graph.node_type(cur_rr_node)]
|
||||||
<< "\" side=\"" << oppo_side.to_string()
|
<< "\" side=\"" << oppo_side.to_string()
|
||||||
<< "\" index=\"" << rr_gsb.get_node_index(rr_graph, cur_rr_node, oppo_side.get_side(), IN_PORT)
|
<< "\" index=\"" << rr_gsb.get_node_index(rr_graph, cur_rr_node, oppo_side.get_side(), IN_PORT)
|
||||||
|
<< "\" node_id=\"" << size_t(cur_rr_node)
|
||||||
<< "\" segment_id=\"" << size_t(src_segment_id)
|
<< "\" segment_id=\"" << size_t(src_segment_id)
|
||||||
<< "\"/>"
|
<< "\"/>"
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
@ -144,6 +148,7 @@ void write_rr_switch_block_to_xml(const std::string fname_prefix,
|
||||||
fp << "\t\t<driver_node type=\"" << rr_node_typename[OPIN]
|
fp << "\t\t<driver_node type=\"" << rr_node_typename[OPIN]
|
||||||
<< "\" side=\"" << driver_side.to_string()
|
<< "\" side=\"" << driver_side.to_string()
|
||||||
<< "\" index=\"" << driver_node_index
|
<< "\" index=\"" << driver_node_index
|
||||||
|
<< "\" node_id=\"" << size_t(driver_rr_node)
|
||||||
<< "\" grid_side=\"" << grid_side.to_string()
|
<< "\" grid_side=\"" << grid_side.to_string()
|
||||||
<<"\"/>"
|
<<"\"/>"
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
@ -152,6 +157,7 @@ void write_rr_switch_block_to_xml(const std::string fname_prefix,
|
||||||
fp << "\t\t<driver_node type=\"" << rr_node_typename[rr_graph.node_type(driver_rr_node)]
|
fp << "\t\t<driver_node type=\"" << rr_node_typename[rr_graph.node_type(driver_rr_node)]
|
||||||
<< "\" side=\"" << driver_side.to_string()
|
<< "\" side=\"" << driver_side.to_string()
|
||||||
<< "\" index=\"" << driver_node_index
|
<< "\" index=\"" << driver_node_index
|
||||||
|
<< "\" node_id=\"" << size_t(driver_rr_node)
|
||||||
<< "\" segment_id=\"" << size_t(des_segment_id)
|
<< "\" segment_id=\"" << size_t(des_segment_id)
|
||||||
<< "\"/>"
|
<< "\"/>"
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
|
Loading…
Reference in New Issue