2020-01-16 13:32:29 -06:00
|
|
|
#ifndef WRITE_XML_OPENFPGA_ARCH_H
|
|
|
|
#define WRITE_XML_OPENFPGA_ARCH_H
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Include header files that are required by function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
#include <string>
|
2022-10-06 19:08:50 -05:00
|
|
|
|
2022-10-06 20:08:57 -05:00
|
|
|
#include "bitstream_setting.h"
|
2020-01-16 13:32:29 -06:00
|
|
|
#include "openfpga_arch.h"
|
2022-10-06 20:08:57 -05:00
|
|
|
#include "simulation_setting.h"
|
2020-01-16 13:32:29 -06:00
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
2022-10-06 19:08:50 -05:00
|
|
|
void write_xml_openfpga_arch(const char* xml_fname,
|
2020-01-16 21:22:56 -06:00
|
|
|
const openfpga::Arch& openfpga_arch);
|
2020-01-16 13:32:29 -06:00
|
|
|
|
2022-10-06 19:08:50 -05:00
|
|
|
void write_xml_openfpga_simulation_settings(
|
|
|
|
const char* xml_fname,
|
|
|
|
const openfpga::SimulationSetting& openfpga_sim_setting);
|
2021-02-01 19:01:42 -06:00
|
|
|
|
2022-10-06 19:08:50 -05:00
|
|
|
void write_xml_openfpga_bitstream_settings(
|
|
|
|
const char* fname,
|
|
|
|
const openfpga::BitstreamSetting& openfpga_bitstream_setting);
|
2020-06-10 16:10:19 -05:00
|
|
|
|
2020-01-16 13:32:29 -06:00
|
|
|
#endif
|