2020-02-13 18:35:29 -06:00
|
|
|
#ifndef BUILD_ROUTING_MODULES_H
|
|
|
|
#define BUILD_ROUTING_MODULES_H
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Include header files that are required by function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
#include "circuit_library.h"
|
2022-10-06 19:08:50 -05:00
|
|
|
#include "decoder_library.h"
|
|
|
|
#include "device_rr_gsb.h"
|
2020-02-13 18:35:29 -06:00
|
|
|
#include "module_manager.h"
|
2022-10-06 19:08:50 -05:00
|
|
|
#include "mux_library.h"
|
|
|
|
#include "vpr_context.h"
|
|
|
|
#include "vpr_device_annotation.h"
|
2020-02-13 18:35:29 -06:00
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
|
|
|
|
/* begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
|
|
|
|
2022-10-06 19:08:50 -05:00
|
|
|
void build_flatten_routing_modules(
|
|
|
|
ModuleManager& module_manager, DecoderLibrary& decoder_lib,
|
|
|
|
const DeviceContext& device_ctx, const VprDeviceAnnotation& device_annotation,
|
|
|
|
const DeviceRRGSB& device_rr_gsb, const CircuitLibrary& circuit_lib,
|
|
|
|
const e_config_protocol_type& sram_orgz_type,
|
|
|
|
const CircuitModelId& sram_model, const bool& verbose);
|
2020-02-13 18:35:29 -06:00
|
|
|
|
2022-10-06 19:08:50 -05:00
|
|
|
void build_unique_routing_modules(
|
|
|
|
ModuleManager& module_manager, DecoderLibrary& decoder_lib,
|
|
|
|
const DeviceContext& device_ctx, const VprDeviceAnnotation& device_annotation,
|
|
|
|
const DeviceRRGSB& device_rr_gsb, const CircuitLibrary& circuit_lib,
|
|
|
|
const e_config_protocol_type& sram_orgz_type,
|
|
|
|
const CircuitModelId& sram_model, const bool& verbose);
|
2020-02-13 18:35:29 -06:00
|
|
|
|
|
|
|
} /* end namespace openfpga */
|
|
|
|
|
|
|
|
#endif
|