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
|
|
|
|
*******************************************************************/
|
|
|
|
#include "vpr_context.h"
|
|
|
|
#include "openfpga_context.h"
|
2020-06-12 14:03:11 -05:00
|
|
|
#include "fabric_key.h"
|
2020-02-12 18:53:23 -06:00
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
|
|
|
|
/* begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
|
|
|
|
2020-07-06 17:42:33 -05:00
|
|
|
int build_device_module_graph(ModuleManager& module_manager,
|
|
|
|
DecoderLibrary& decoder_lib,
|
2021-10-08 17:25:37 -05:00
|
|
|
MemoryBankShiftRegisterBanks& blwl_sr_banks,
|
2020-07-06 17:42:33 -05:00
|
|
|
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
|