![]() |
HAL
|
#include <endpoint.h>
Public Member Functions | |
bool | operator== (const Endpoint &other) const |
bool | operator!= (const Endpoint &other) const |
Gate * | get_gate () const |
GatePin * | get_pin () const |
Net * | get_net () const |
bool | is_source_pin () const |
bool | is_destination_pin () const |
Friends | |
class | NetlistInternalManager |
An endpoint comprises the pin of a gate, the respective gate, and the connected net.
Definition at line 42 of file endpoint.h.
Gate * hal::Endpoint::get_gate | ( | ) | const |
Get the gate associated with the endpoint.
Definition at line 23 of file endpoint.cpp.
Referenced by hal::dataflow::Result::create_modules(), hal::endpoint_init(), hal::netlist_utils::get_complex_gate_chain(), hal::netlist_utils::get_gate_chain(), operator==(), and hal::TEST_F().
Net * hal::Endpoint::get_net | ( | ) | const |
Get the net associated with the endpoint.
Definition at line 33 of file endpoint.cpp.
Referenced by hal::endpoint_init(), operator==(), hal::netlist_utils::remove_buffers(), and hal::TEST_F().
GatePin * hal::Endpoint::get_pin | ( | ) | const |
Get the pin associated with the endpoint.
Definition at line 28 of file endpoint.cpp.
Referenced by hal::endpoint_init(), hal::netlist_utils::get_complex_gate_chain(), operator==(), hal::netlist_utils::remove_buffers(), and hal::TEST_F().
bool hal::Endpoint::is_destination_pin | ( | ) | const |
Checks whether the pin of the endpoint is a destination (input) pin.
Definition at line 38 of file endpoint.cpp.
Referenced by hal::endpoint_init(), hal::Net::is_a_destination(), and operator==().
bool hal::Endpoint::is_source_pin | ( | ) | const |
Checks whether the pin of the endpoint is a source (output) pin.
Definition at line 43 of file endpoint.cpp.
Referenced by hal::endpoint_init(), and hal::Net::is_a_source().
bool hal::Endpoint::operator!= | ( | const Endpoint & | other | ) | const |
Check whether two endpoints are unequal.
[in] | other | - The endpoint to compare against. |
Definition at line 18 of file endpoint.cpp.
bool hal::Endpoint::operator== | ( | const Endpoint & | other | ) | const |
Check whether two endpoints are equal.
[in] | other | - The endpoint to compare against. |
Definition at line 13 of file endpoint.cpp.
References get_gate(), get_net(), get_pin(), and is_destination_pin().
|
friend |
Definition at line 97 of file endpoint.h.