2020-02-12 18:53:23 -06:00
|
|
|
#ifndef BUILD_ESSENTIAL_MODULES_H
|
|
|
|
#define BUILD_ESSENTIAL_MODULES_H
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Include header files that are required by function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
#include "circuit_library.h"
|
|
|
|
#include "module_manager.h"
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
|
|
|
|
/* begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
|
|
|
|
2022-10-06 19:08:50 -05:00
|
|
|
void build_essential_modules(ModuleManager& module_manager,
|
2020-02-12 18:53:23 -06:00
|
|
|
const CircuitLibrary& circuit_lib);
|
|
|
|
|
2022-10-06 19:08:50 -05:00
|
|
|
void build_user_defined_modules(ModuleManager& module_manager,
|
2020-02-12 18:53:23 -06:00
|
|
|
const CircuitLibrary& circuit_lib);
|
|
|
|
|
|
|
|
void build_constant_generator_modules(ModuleManager& module_manager);
|
|
|
|
|
2022-10-06 19:08:50 -05:00
|
|
|
void rename_primitive_module_port_names(ModuleManager& module_manager,
|
2020-02-12 18:53:23 -06:00
|
|
|
const CircuitLibrary& circuit_lib);
|
|
|
|
|
|
|
|
} /* end namespace openfpga */
|
|
|
|
|
|
|
|
#endif
|