From 079a502153582a4b8d5f6bb5699d4a557930ae00 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Wed, 27 Jul 2022 10:36:00 -0700 Subject: [PATCH] [lib] developing pcf reader --- libopenfpga/libpcf/src/io/pcf_reader.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 libopenfpga/libpcf/src/io/pcf_reader.h 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