From 3bcdd0e1d446f5b4bd1811302e0e64d910568ddf Mon Sep 17 00:00:00 2001 From: tangxifan Date: Sat, 20 Jun 2020 19:01:33 -0600 Subject: [PATCH] clean up writer format for bitstream --- libopenfpga/libfpgabitstream/src/arch_bitstream_writer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libopenfpga/libfpgabitstream/src/arch_bitstream_writer.cpp b/libopenfpga/libfpgabitstream/src/arch_bitstream_writer.cpp index 2e4e81054..17a3bc9cf 100644 --- a/libopenfpga/libfpgabitstream/src/arch_bitstream_writer.cpp +++ b/libopenfpga/libfpgabitstream/src/arch_bitstream_writer.cpp @@ -101,10 +101,10 @@ void rec_write_block_bitstream_to_xml_file(std::fstream& fp, fp << " net_name=\""; fp << net; fp << "\"/>"; + fp << "\n"; path_counter++; } - fp << "\n"; write_tab_to_file(fp, hierarchy_level + 1); fp << "\n"; } @@ -119,10 +119,10 @@ void rec_write_block_bitstream_to_xml_file(std::fstream& fp, fp << " net_name=\""; fp << net; fp << "\"/>"; + fp << "\n"; path_counter++; } - fp << "\n"; write_tab_to_file(fp, hierarchy_level + 1); fp << "\n"; }