[Tool] Remove unnecessary new line in bitstream file

This commit is contained in:
tangxifan 2021-06-04 20:07:42 -06:00
parent c30be6e95e
commit 618b04568f
1 changed files with 4 additions and 2 deletions

View File

@ -37,7 +37,7 @@ void write_fabric_bitstream_text_file_head(std::fstream& fp) {
fp << "// Fabric bitstream" << std::endl;
fp << "// Version: " << openfpga::VERSION << std::endl;
fp << "// Date: " << std::ctime(&end_time) << std::endl;
fp << "// Date: " << std::ctime(&end_time);
}
/********************************************************************
@ -163,7 +163,9 @@ int write_config_chain_fabric_bitstream_to_text_file(std::fstream& fp,
for (const auto& region_bitstream : regional_bitstreams) {
fp << region_bitstream[ibit];
}
fp << std::endl;
if (ibit < regional_bitstream_max_size - 1) {
fp << std::endl;
}
}
return status;