7 py::class_<Endpoint, RawPtrWrapper<Endpoint>> py_endpoint(m,
"Endpoint", R
"(
8 An endpoint comprises the pin of a gate, the respective gate, and the connected net.
12 The gate associated with the endpoint.
17 py_endpoint.def(py::self == py::self, R"(
18 Check whether two endpoints are equal.
20 :returns: True if both endpoints are equal, False otherwise.
24 py_endpoint.def(py::self != py::self, R"(
25 Check whether two endpoints are unequal.
27 :returns: True if both endpoints are unequal, False otherwise.
32 Get the gate associated with the endpoint.
39 The pin associated with the endpoint.
45 Get pin associated with the endpoint.
48 :rtype: hal_py.GatePin
52 The net associated with the endpoint.
58 Get the net associated with the endpoint.
65 True if the pin of the endpoint is a source (output) pin, False otherwise.
71 Checks whether the pin of the endpoint is a source (output) pin.
73 :returns: True if the endpoint is an source (output) pin, False otherwise.
78 True if the pin of the endpoint is a destination (input) pin, False otherwise.
84 Checks whether the pin of the endpoint is a destination (input) pin.
86 :returns: True if the endpoint is an destination (input) pin, False otherwise.
GatePin * get_pin() const
bool is_source_pin() const
bool is_destination_pin() const
void endpoint_init(py::module &m)
const Module * module(const Gate *g, const NodeBoxes &boxes)