|
HAL
v4.5.0-299-g9ee015483
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
|
#include </home/runner/work/hal/hal/plugins/clock_tree_extractor/include/clock_tree_extractor/clock_tree.h>

Public Member Functions | |
| ~ClockTree () | |
| ClockTree (const ClockTree &)=delete | |
| ClockTree & | operator= (const ClockTree &)=delete |
| ClockTree (ClockTree &&)=delete | |
| ClockTree & | operator= (ClockTree &&)=delete |
| Result< std::vector< std::pair< const void *, PtrType > > > | get_neighbors (const void *ptr, igraph_neimode_t direction) const |
| Result< std::unique_ptr< ClockTree > > | get_subtree (const void *ptr, bool parent) const |
| Result< igraph_int_t > | get_vertex_from_ptr (const void *ptr) const |
| Result< std::pair< const void *, PtrType > > | get_ptr_from_vertex (igraph_int_t vertex) const |
| Result< std::vector< igraph_int_t > > | get_vertices_from_ptrs (const std::vector< const void * > &ptrs) const |
| Result< std::vector< std::pair< const void *, PtrType > > > | get_ptrs_from_vertices (const std::vector< igraph_int_t > &vertices) const |
| std::vector< const Gate * > | get_gates () const |
| std::vector< const Net * > | get_nets () const |
| const std::unordered_map< const void *, PtrType > & | get_all () const |
| const Netlist * | get_netlist () const |
| const igraph_t * | get_igraph () const |
| const std::vector< Diagnostic > & | get_diagnostics () const |
| const std::unordered_set< igraph_int_t > & | get_roots () const |
Static Public Member Functions | |
| static Result< std::unique_ptr< ClockTree > > | from_netlist (const Netlist *netlist) |
Definition at line 90 of file clock_tree.h.
| hal::cte::ClockTree::~ClockTree | ( | ) |
Definition at line 153 of file clock_tree.cpp.
|
delete |
|
delete |
|
static |
Definition at line 158 of file clock_tree.cpp.
References ERR, hal::ff, hal::cte::GATE, hal::Gate::get_fan_in_endpoints(), hal::Netlist::get_gates(), hal::Net::get_id(), hal::Net::get_num_of_sources(), hal::Net::get_sources(), id, hal::cte::is_buffer(), hal::cte::is_connected_to_control_pin(), hal::cte::is_delay(), hal::cte::is_ff(), hal::Net::is_global_input_net(), hal::cte::is_inverter(), hal::cte::is_latch(), log_error, log_warning, hal::cte::NET, net, OK, and type.
Referenced by hal::PYBIND11_PLUGIN().
| const std::unordered_map< const void *, PtrType > & hal::cte::ClockTree::get_all | ( | ) | const |
Definition at line 709 of file clock_tree.cpp.
| const std::vector< Diagnostic > & hal::cte::ClockTree::get_diagnostics | ( | ) | const |
Definition at line 719 of file clock_tree.cpp.
Referenced by hal::PYBIND11_PLUGIN().
| std::vector< const Gate * > hal::cte::ClockTree::get_gates | ( | ) | const |
Definition at line 679 of file clock_tree.cpp.
References hal::cte::GATE, and type.
Referenced by hal::ctv::build_layout(), and hal::PYBIND11_PLUGIN().
| const igraph_t * hal::cte::ClockTree::get_igraph | ( | ) | const |
Definition at line 729 of file clock_tree.cpp.
Referenced by hal::cte::export_dot().
| Result< std::vector< std::pair< const void *, PtrType > > > hal::cte::ClockTree::get_neighbors | ( | const void * | ptr, |
| igraph_neimode_t | direction | ||
| ) | const |
Definition at line 735 of file clock_tree.cpp.
References direction, ERR, and OK.
Referenced by hal::ctv::build_layout().
| const Netlist * hal::cte::ClockTree::get_netlist | ( | ) | const |
Definition at line 714 of file clock_tree.cpp.
Referenced by hal::PYBIND11_PLUGIN().
| std::vector< const Net * > hal::cte::ClockTree::get_nets | ( | ) | const |
Definition at line 694 of file clock_tree.cpp.
References hal::cte::NET, and type.
Referenced by hal::PYBIND11_PLUGIN().
| Result< std::pair< const void *, PtrType > > hal::cte::ClockTree::get_ptr_from_vertex | ( | igraph_int_t | vertex | ) | const |
Definition at line 631 of file clock_tree.cpp.
Referenced by hal::cte::export_dot(), and hal::cte::recover_branches().
| Result< std::vector< std::pair< const void *, PtrType > > > hal::cte::ClockTree::get_ptrs_from_vertices | ( | const std::vector< igraph_int_t > & | vertices | ) | const |
Definition at line 661 of file clock_tree.cpp.
| const std::unordered_set< igraph_int_t > & hal::cte::ClockTree::get_roots | ( | ) | const |
Definition at line 724 of file clock_tree.cpp.
Referenced by hal::cte::recover_branches().
| Result< std::unique_ptr< ClockTree > > hal::cte::ClockTree::get_subtree | ( | const void * | ptr, |
| bool | parent | ||
| ) | const |
Definition at line 479 of file clock_tree.cpp.
| Result< igraph_int_t > hal::cte::ClockTree::get_vertex_from_ptr | ( | const void * | ptr | ) | const |
Definition at line 620 of file clock_tree.cpp.
| Result< std::vector< igraph_int_t > > hal::cte::ClockTree::get_vertices_from_ptrs | ( | const std::vector< const void * > & | ptrs | ) | const |
Definition at line 642 of file clock_tree.cpp.