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>
|
|
|
|
#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 {
|
|
|
|
|
|
|
|
void write_verilog_module_to_file(std::fstream& fp,
|
|
|
|
const ModuleManager& module_manager,
|
|
|
|
const ModuleId& module_id,
|
2021-02-28 12:57:40 -06:00
|
|
|
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
|