diff --git a/libopenfpga/libpcf/src/io/pcf_reader.h b/libopenfpga/libpcf/src/io/pcf_reader.h new file mode 100644 index 000000000..06ce09469 --- /dev/null +++ b/libopenfpga/libpcf/src/io/pcf_reader.h @@ -0,0 +1,20 @@ +#ifndef PCF_READER_H +#define PCF_READER_H +/******************************************************************** + * Include header files required by the data structure definition + *******************************************************************/ +#include +#include +#include +#include +#include "pcf_data.h" + +/* Begin namespace openfpga */ +namespace openfpga { + +/* Parse a .pcf file through a stream, return an object which contains all the data */ +PcfData read_pcf(const char* fname); + +} /* End namespace openfpga*/ + +#endif