[lib] add pcf writer

This commit is contained in:
tangxifan 2022-07-27 11:18:30 -07:00
parent 73c0349832
commit ae3ec75a24
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
#ifndef PCF_WRITER_H
#define PCF_WRITER_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 {
/* Write a .pcf file from an object */
int write_pcf(const char* fname,
const PcfData& pcf_data);
} /* End namespace openfpga*/
#endif