clean up writer format for bitstream

This commit is contained in:
tangxifan 2020-06-20 19:01:33 -06:00
parent 8b8d92d186
commit 3bcdd0e1d4
1 changed files with 2 additions and 2 deletions

View File

@ -101,10 +101,10 @@ void rec_write_block_bitstream_to_xml_file(std::fstream& fp,
fp << " net_name=\""; fp << " net_name=\"";
fp << net; fp << net;
fp << "\"/>"; fp << "\"/>";
fp << "\n";
path_counter++; path_counter++;
} }
fp << "\n";
write_tab_to_file(fp, hierarchy_level + 1); write_tab_to_file(fp, hierarchy_level + 1);
fp << "</input_nets>\n"; fp << "</input_nets>\n";
} }
@ -119,10 +119,10 @@ void rec_write_block_bitstream_to_xml_file(std::fstream& fp,
fp << " net_name=\""; fp << " net_name=\"";
fp << net; fp << net;
fp << "\"/>"; fp << "\"/>";
fp << "\n";
path_counter++; path_counter++;
} }
fp << "\n";
write_tab_to_file(fp, hierarchy_level + 1); write_tab_to_file(fp, hierarchy_level + 1);
fp << "</output_nets>\n"; fp << "</output_nets>\n";
} }