2020-02-12 21:25:05 -06:00
|
|
|
#ifndef BUILD_GRID_MODULE_UTILS_H
|
|
|
|
#define BUILD_GRID_MODULE_UTILS_H
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Include header files that are required by function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
/* Headers from readarch library */
|
|
|
|
#include "physical_types.h"
|
|
|
|
|
|
|
|
#include "openfpga_interconnect_types.h"
|
|
|
|
#include "module_manager.h"
|
2021-03-13 21:05:18 -06:00
|
|
|
#include "vpr_device_annotation.h"
|
2020-02-12 21:25:05 -06:00
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
|
|
|
|
/* begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
|
|
|
|
2020-12-04 19:50:13 -06:00
|
|
|
std::vector<e_side> find_grid_module_pin_sides(t_physical_tile_type_ptr grid_type_descriptor,
|
|
|
|
const e_side& border_side);
|
2020-02-12 21:25:05 -06:00
|
|
|
|
|
|
|
void add_grid_module_net_connect_pb_graph_pin(ModuleManager& module_manager,
|
|
|
|
const ModuleId& grid_module,
|
|
|
|
const ModuleId& child_module,
|
|
|
|
const size_t& child_instance,
|
2021-03-13 21:05:18 -06:00
|
|
|
const VprDeviceAnnotation& vpr_device_annotation,
|
2020-02-12 21:25:05 -06:00
|
|
|
t_physical_tile_type_ptr grid_type_descriptor,
|
|
|
|
t_pb_graph_pin* pb_graph_pin,
|
|
|
|
const e_side& border_side,
|
|
|
|
const enum e_pin2pin_interc_type& pin2pin_interc_type);
|
|
|
|
|
|
|
|
} /* end namespace openfpga */
|
|
|
|
|
|
|
|
#endif
|