2020-02-16 13:45:58 -06:00
|
|
|
#ifndef VERILOG_LUT_H
|
|
|
|
#define VERILOG_LUT_H
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Include header files that are required by function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
#include <fstream>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "circuit_library.h"
|
|
|
|
#include "module_manager.h"
|
2020-04-23 21:42:11 -05:00
|
|
|
#include "netlist_manager.h"
|
2020-02-16 13:45:58 -06:00
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
|
|
|
|
/* begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
|
|
|
|
2020-02-16 17:35:26 -06:00
|
|
|
void print_verilog_submodule_luts(const ModuleManager& module_manager,
|
2020-04-23 21:42:11 -05:00
|
|
|
NetlistManager& netlist_manager,
|
2020-02-16 13:45:58 -06:00
|
|
|
const CircuitLibrary& circuit_lib,
|
|
|
|
const std::string& submodule_dir,
|
|
|
|
const bool& use_explicit_port_map);
|
|
|
|
|
|
|
|
} /* end namespace openfpga */
|
|
|
|
|
|
|
|
#endif
|