HAL  v4.5.0-283-g3f42a39fa
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
hal::ctv::Layout Struct Reference

#include </home/runner/work/hal/hal/plugins/clock_tree_viewer/include/clock_tree_viewer/clock_tree_layout.h>

Collaboration diagram for hal::ctv::Layout:
Collaboration graph

Public Attributes

std::vector< Node > nodes
 
std::vector< Edge > edges
 
std::vector< u32 > gates_without_coordinates
 
std::size_t omitted_edges = 0
 

Detailed Description

The gates of a clock tree at their coordinates, and what had to be left out for lack of them.

Definition at line 73 of file clock_tree_layout.h.

Member Data Documentation

◆ edges

std::vector<Edge> hal::ctv::Layout::edges

The connections between two gates that both have coordinates.

Definition at line 79 of file clock_tree_layout.h.

Referenced by hal::ctv::build_layout(), and hal::ClockTreeScene::setLayout().

◆ gates_without_coordinates

std::vector<u32> hal::ctv::Layout::gates_without_coordinates

The IDs of the gates that have no usable coordinates, sorted. They are not drawn.

Definition at line 82 of file clock_tree_layout.h.

Referenced by hal::ctv::build_layout().

◆ nodes

std::vector<Node> hal::ctv::Layout::nodes

The gates that have coordinates, sorted by gate ID.

Definition at line 76 of file clock_tree_layout.h.

Referenced by hal::ctv::build_layout(), hal::ctv::resolve_style(), and hal::ClockTreeScene::setLayout().

◆ omitted_edges

std::size_t hal::ctv::Layout::omitted_edges = 0

The number of connections that are not drawn because one of their gates has no coordinates.

Definition at line 85 of file clock_tree_layout.h.

Referenced by hal::ctv::build_layout().


The documentation for this struct was generated from the following file: