From 4f7e8020a878d4f202c420558aeb70676099e406 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Wed, 17 Jun 2020 00:08:28 -0600 Subject: [PATCH] minor fix on the format of arch bitstream writer --- .../src/fpga_bitstream/arch_bitstream_writer.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/openfpga/src/fpga_bitstream/arch_bitstream_writer.cpp b/openfpga/src/fpga_bitstream/arch_bitstream_writer.cpp index 3006a6db6..6b3afdf4b 100644 --- a/openfpga/src/fpga_bitstream/arch_bitstream_writer.cpp +++ b/openfpga/src/fpga_bitstream/arch_bitstream_writer.cpp @@ -84,13 +84,13 @@ void rec_write_block_bitstream_to_xml_file(std::fstream& fp, /* Output input/output nets if there are any */ if (false == bitstream_manager.block_input_net_ids(block).empty()) { fp << "\t\n"; - fp << "\t\t\n"; + fp << "\t\t"; for (const AtomNetId& net : bitstream_manager.block_input_net_ids(block)) { if (false == atom_ctx.nlist.valid_net_id(net)) { - fp << " unmapped"; + fp << "\tunmapped"; } else { VTR_ASSERT_SAFE(true == atom_ctx.nlist.valid_net_id(net)); - fp << " " << atom_ctx.nlist.net_name(net); + fp << "\t" << atom_ctx.nlist.net_name(net); } } fp << "\n"; @@ -99,13 +99,13 @@ void rec_write_block_bitstream_to_xml_file(std::fstream& fp, if (false == bitstream_manager.block_output_net_ids(block).empty()) { fp << "\t\n"; - fp << "\t\t\n"; + fp << "\t\t"; for (const AtomNetId& net : bitstream_manager.block_output_net_ids(block)) { if (false == atom_ctx.nlist.valid_net_id(net)) { - fp << " unmapped"; + fp << "\tunmapped"; } else { VTR_ASSERT_SAFE(true == atom_ctx.nlist.valid_net_id(net)); - fp << " " << atom_ctx.nlist.net_name(net); + fp << "\t" << atom_ctx.nlist.net_name(net); } } fp << "\n";