OpenFPGA/openfpga/src/utils/pb_graph_utils.h

31 lines
958 B
C++

#ifndef PB_GRAPH_UTILS_H
#define PB_GRAPH_UTILS_H
/********************************************************************
* Include header files that are required by function declaration
*******************************************************************/
#include <string>
#include <vector>
#include "physical_types.h"
/********************************************************************
* Function declaration
*******************************************************************/
/* begin namespace openfpga */
namespace openfpga {
std::vector<t_pb_graph_pin*> pb_graph_pin_inputs(
t_pb_graph_pin* pb_graph_pin, t_interconnect* selected_interconnect);
t_interconnect* pb_graph_pin_interc(t_pb_graph_pin* pb_graph_pin,
t_mode* selected_mode);
bool is_pb_graph_pins_share_interc(const t_pb_graph_pin* pinA,
const t_pb_graph_pin* pinB);
} /* end namespace openfpga */
#endif