Endpoint¶
-
class
hal_py.
Endpoint
¶ An endpoint comprises the pin of a gate, the respective gate, and the connected net.
-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
-
destination_pin
¶ True if the pin of the endpoint is a destination (input) pin, False otherwise.
Type: bool
-
gate
¶ The gate associated with the endpoint.
Type: hal_py.Gate
-
get_gate
(self: hal_py.Endpoint) → hal::Gate¶ Get the gate associated with the endpoint.
Returns: The gate. Return type: hal_py.Gate
-
get_net
(self: hal_py.Endpoint) → hal::Net¶ Get the net associated with the endpoint.
Returns: The net. Return type: hal_py.Net
-
get_pin
(self: hal_py.Endpoint) → hal::GatePin¶ Get pin associated with the endpoint.
Returns: The pin. Return type: hal_py.GatePin
-
is_destination_pin
(self: hal_py.Endpoint) → bool¶ Checks whether the pin of the endpoint is a destination (input) pin.
Returns: True if the endpoint is an destination (input) pin, False otherwise. Return type: bool
-
is_source_pin
(self: hal_py.Endpoint) → bool¶ Checks whether the pin of the endpoint is a source (output) pin.
Returns: True if the endpoint is an source (output) pin, False otherwise. Return type: bool
-
net
¶ The net associated with the endpoint.
Type: hal_py.Net
-
pin
¶ The pin associated with the endpoint.
Type: hal_py.GatePin
-