2020-02-12 19:28:50 -06:00
|
|
|
#ifndef BUILD_DECODER_MODULES_H
|
|
|
|
#define BUILD_DECODER_MODULES_H
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Include header files that are required by function declaration
|
|
|
|
*******************************************************************/
|
2022-10-06 19:08:50 -05:00
|
|
|
#include "circuit_library.h"
|
2020-05-25 23:15:16 -05:00
|
|
|
#include "decoder_library.h"
|
2022-10-06 19:08:50 -05:00
|
|
|
#include "module_manager.h"
|
2020-02-12 19:28:50 -06:00
|
|
|
#include "mux_library.h"
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
|
|
|
|
/* begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
|
|
|
|
2020-05-25 23:15:16 -05:00
|
|
|
ModuleId build_frame_memory_decoder_module(ModuleManager& module_manager,
|
|
|
|
const DecoderLibrary& decoder_lib,
|
|
|
|
const DecoderId& decoder);
|
|
|
|
|
2020-05-30 19:14:36 -05:00
|
|
|
ModuleId build_bl_memory_decoder_module(ModuleManager& module_manager,
|
|
|
|
const DecoderLibrary& decoder_lib,
|
|
|
|
const DecoderId& decoder);
|
|
|
|
|
|
|
|
ModuleId build_wl_memory_decoder_module(ModuleManager& module_manager,
|
|
|
|
const DecoderLibrary& decoder_lib,
|
|
|
|
const DecoderId& decoder);
|
|
|
|
|
2020-02-12 19:28:50 -06:00
|
|
|
void build_mux_local_decoder_modules(ModuleManager& module_manager,
|
|
|
|
const MuxLibrary& mux_lib,
|
|
|
|
const CircuitLibrary& circuit_lib);
|
|
|
|
|
|
|
|
} /* end namespace openfpga */
|
|
|
|
|
|
|
|
#endif
|