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