2020-02-16 13:04:03 -06:00
|
|
|
#ifndef VERILOG_MODULE_WRITER_H
|
|
|
|
#define VERILOG_MODULE_WRITER_H
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Include header files that are required by function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
#include <fstream>
|
2022-10-06 19:08:50 -05:00
|
|
|
|
2020-02-16 13:04:03 -06:00
|
|
|
#include "module_manager.h"
|
2021-02-28 12:57:40 -06:00
|
|
|
#include "verilog_port_types.h"
|
2020-02-16 13:04:03 -06:00
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
|
|
|
|
/* begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
|
|
|
|
2022-10-06 19:08:50 -05:00
|
|
|
void write_verilog_module_to_file(
|
|
|
|
std::fstream& fp, const ModuleManager& module_manager,
|
|
|
|
const ModuleId& module_id, const bool& use_explicit_port_map,
|
|
|
|
const e_verilog_default_net_type& default_net_type);
|
2020-02-16 13:04:03 -06:00
|
|
|
|
|
|
|
} /* end namespace openfpga */
|
|
|
|
|
|
|
|
#endif
|