24 #include "../../../Common/FileIO.h"
25 #include "../../../Common/str.h"
31 ifstream fin (filename, ifstream::binary);
33 throw runtime_error(
string(
"Could not open file: \"").append(filename).append(
"\" .\n"));
34 log(
"Reading Xilinx UltraScale bitstream from file \"" + filename +
"\"");
41 throw runtime_error(
string(
"Unknown Xilinx UltraScale file format tried to be read.\n"));
43 log(
"Xilinx UltraScale bitstream file \"" + filename +
"\" read successfully.");
void readBitstream(std::string)
bool stringEndsWith(std::string checkedString)
Returns false. End of recursion for template.