2020-02-12 18:53:23 -06:00
|
|
|
#ifndef BUILD_DEVICE_MODULE_H
|
|
|
|
#define BUILD_DEVICE_MODULE_H
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Include header files that are required by function declaration
|
|
|
|
*******************************************************************/
|
2020-06-12 14:03:11 -05:00
|
|
|
#include "fabric_key.h"
|
2022-10-06 19:08:50 -05:00
|
|
|
#include "openfpga_context.h"
|
|
|
|
#include "vpr_context.h"
|
2020-02-12 18:53:23 -06:00
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
|
|
|
|
/* begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
|
|
|
|
2022-10-06 19:08:50 -05:00
|
|
|
int build_device_module_graph(
|
|
|
|
ModuleManager& module_manager, DecoderLibrary& decoder_lib,
|
|
|
|
MemoryBankShiftRegisterBanks& blwl_sr_banks,
|
|
|
|
const OpenfpgaContext& openfpga_ctx, const DeviceContext& vpr_device_ctx,
|
|
|
|
const bool& frame_view, const bool& compress_routing,
|
|
|
|
const bool& duplicate_grid_pin, const FabricKey& fabric_key,
|
|
|
|
const bool& generate_random_fabric_key, const bool& verbose);
|
2020-02-12 18:53:23 -06:00
|
|
|
|
|
|
|
} /* end namespace openfpga */
|
|
|
|
|
|
|
|
#endif
|