8 Base class for gate pins.
11 py_gate_base_pin.def(py::self == py::self, R"(
12 Check whether two pins are equal.
14 :returns: True if both pins are equal, False otherwise.
18 py_gate_base_pin.def(py::self != py::self, R"(
19 Check whether two pins are unequal.
21 :returns: True if both pins are unequal, False otherwise.
26 Python requires hash for set and dict container.
33 The ID of the gate pin. The ID is unique within a gate type.
39 Get the ID of the gate pin. The ID is unique within a gate type.
41 :returns: The ID of the pin.
52 Get the name of the pin.
54 :returns: The name of the pin.
59 The direction of the pin.
61 :type: hal_py.PinDirection
65 Get the direction of the pin.
67 :returns: The direction of the pin.
68 :rtype: hal_py.PinDirection
78 Get the type of the pin.
80 :returns: The type of the pin.
81 :rtype: hal_py.PinType
85 A tuple comprising the group of the pin as well as the index of the pin within the group.
87 :type: tuple(hal_py.GatePinGroup,int)
91 Get the group of the pin as well as the index of the pin within the group.
93 :returns: The group and the index of the pin.
94 :rtype: tuple(hal_py.GatePinGroup,int)
98 Base class for module pins.
101 py_module_base_pin.def(py::self == py::self, R"(
102 Check whether two pins are equal.
104 :returns: True if both pins are equal, False otherwise.
108 py_module_base_pin.def(py::self != py::self, R"(
109 Check whether two pins are unequal.
111 :returns: True if both pins are unequal, False otherwise.
116 Python requires hash for set and dict container.
123 The ID of the module pin. The ID is unique within a module.
129 Get the ID of the module pin. The ID is unique within a module.
131 :returns: The ID of the pin.
142 Get the name of the pin.
144 :returns: The name of the pin.
149 The direction of the pin.
151 :type: hal_py.PinDirection
155 Get the direction of the pin.
157 :returns: The direction of the pin.
158 :rtype: hal_py.PinDirection
164 :type: hal_py.PinType
168 Get the type of the pin.
170 :returns: The type of the pin.
171 :rtype: hal_py.PinType
175 A tuple comprising the group of the pin as well as the index of the pin within the group.
177 :type: tuple(hal_py.ModulePinGroup,int)
181 Get the group of the pin as well as the index of the pin within the group.
183 :returns: The group and the index of the pin.
184 :rtype: tuple(hal_py.ModulePinGroup,int)
void base_pin_init(py::module &m)
std::unique_ptr< T, py::nodelete > RawPtrWrapper
const Module * module(const Gate *g, const NodeBoxes &boxes)