HAL  v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
hal::WaveEvent Struct Reference

#include </home/runner/work/hal/hal/plugins/simulator/netlist_simulator_controller/include/netlist_simulator_controller/wave_event.h>

Collaboration diagram for hal::WaveEvent:
Collaboration graph

Public Member Functions

bool operator== (const WaveEvent &other) const
 
bool operator< (const WaveEvent &other) const
 

Public Attributes

const Netaffected_net
 
BooleanFunction::Value new_value
 
u64 time
 
u64 id
 

Detailed Description

A single simulation event, i.e., the value that a net assumes at a given point in time.

Definition at line 36 of file wave_event.h.

Member Function Documentation

◆ operator<()

bool hal::WaveEvent::operator< ( const WaveEvent other) const
inline

Tests whether one event happened before the other.

Parameters
[in]other- Event to compare to.
Returns
true when this event happened before the other, false otherwise.

Definition at line 75 of file wave_event.h.

References id, and time.

◆ operator==()

bool hal::WaveEvent::operator== ( const WaveEvent other) const
inline

Tests whether two events are equal.

Parameters
[in]other- Event to compare to.
Returns
true when both events are equal, false otherwise.

Definition at line 64 of file wave_event.h.

References affected_net, new_value, and time.

Member Data Documentation

◆ affected_net

◆ id

u64 hal::WaveEvent::id

The unique ID of the event.

Definition at line 56 of file wave_event.h.

Referenced by operator<(), and hal::PYBIND11_PLUGIN().

◆ new_value

◆ time


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