[lib] developing pcf reader

This commit is contained in:
tangxifan 2022-07-27 10:36:00 -07:00
parent d197010ba3
commit 079a502153
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
#ifndef PCF_READER_H
#define PCF_READER_H
/********************************************************************
* Include header files required by the data structure definition
*******************************************************************/
#include <stddef.h>
#include <array>
#include <map>
#include <fstream>
#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