[FPGA-Bitstream] Remove version numbers when ``--no_time_stamp`` is enabled
This commit is contained in:
parent
c2c827ee10
commit
a9e6b7c12e
|
@ -33,11 +33,12 @@ void report_architecture_bitstream_distribution_xml_file_head(std::fstream& fp,
|
|||
|
||||
fp << "<!-- " << std::endl;
|
||||
fp << "\t- Report Architecture Bitstream Distribution" << std::endl;
|
||||
fp << "\t- Version: " << openfpga::VERSION << std::endl;
|
||||
|
||||
if (include_time_stamp) {
|
||||
auto end = std::chrono::system_clock::now();
|
||||
std::time_t end_time = std::chrono::system_clock::to_time_t(end);
|
||||
/* Note that version is also a type of time stamp */
|
||||
fp << "\t- Version: " << openfpga::VERSION << std::endl;
|
||||
fp << "\t- Date: " << std::ctime(&end_time) ;
|
||||
}
|
||||
|
||||
|
|
|
@ -35,11 +35,12 @@ void write_fabric_bitstream_text_file_head(std::fstream& fp,
|
|||
valid_file_stream(fp);
|
||||
|
||||
fp << "// Fabric bitstream" << std::endl;
|
||||
fp << "// Version: " << openfpga::VERSION << std::endl;
|
||||
|
||||
if (include_time_stamp) {
|
||||
auto end = std::chrono::system_clock::now();
|
||||
std::time_t end_time = std::chrono::system_clock::to_time_t(end);
|
||||
/* Note that version is also a type of time stamp */
|
||||
fp << "// Version: " << openfpga::VERSION << std::endl;
|
||||
fp << "// Date: " << std::ctime(&end_time);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,11 +35,12 @@ void write_io_mapping_xml_file_head(std::fstream& fp,
|
|||
|
||||
fp << "<!--" << std::endl;
|
||||
fp << "\t- I/O mapping" << std::endl;
|
||||
fp << "\t- Version: " << openfpga::VERSION << std::endl;
|
||||
|
||||
if (include_time_stamp) {
|
||||
auto end = std::chrono::system_clock::now();
|
||||
std::time_t end_time = std::chrono::system_clock::to_time_t(end);
|
||||
/* Note that version is also a type of time stamp */
|
||||
fp << "\t- Version: " << openfpga::VERSION << std::endl;
|
||||
fp << "\t- Date: " << std::ctime(&end_time) ;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<!--
|
||||
- Report Architecture Bitstream Distribution
|
||||
- Version: 1.0.3764-dev+dd400579-dirty
|
||||
- Version: 1.0.3764-dev+4a89d175
|
||||
-->
|
||||
|
||||
<block name="fpga_top" number_of_bits="527">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// Fabric bitstream
|
||||
// Version: 1.0.3764-dev+dd400579-dirty
|
||||
// Version: 1.0.3764-dev+4a89d175
|
||||
// Bitstream length: 527
|
||||
// Bitstream width (LSB -> MSB): 1
|
||||
1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<!--
|
||||
- I/O mapping
|
||||
- Version: 1.0.3764-dev+dd400579-dirty
|
||||
- Version: 1.0.3764-dev+4a89d175
|
||||
-->
|
||||
|
||||
<io_mapping>
|
||||
|
|
Loading…
Reference in New Issue