OpenFPGA/openfpga/src/fabric/build_decoder_modules.h

38 lines
1.5 KiB
C
Raw Normal View History

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
*******************************************************************/
#include "circuit_library.h"
2020-05-25 23:15:16 -05:00
#include "decoder_library.h"
#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);
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