![]() |
PandA-2024.02
|
This class models a single variation of a signal in vcd. More...
#include <sig_variation.hpp>
Public Member Functions | |
| sig_variation (unsigned long long ts=0, std::string val="", unsigned long long d=std::numeric_limits< decltype(sig_variation::duration)>::max()) | |
| constructor More... | |
Data Fields | |
| unsigned long long | time_stamp |
| time stamp of the variation More... | |
| std::string | value |
| new value of the signal. More... | |
| unsigned long long | duration |
| time duration of the value. More... | |
This class models a single variation of a signal in vcd.
Definition at line 46 of file sig_variation.hpp.
| sig_variation::sig_variation | ( | unsigned long long | ts = 0, |
| std::string | val = "", |
||
| unsigned long long | d = std::numeric_limits<decltype(sig_variation::duration)>::max() |
||
| ) |
constructor
Definition at line 41 of file sig_variation.cpp.
| unsigned long long sig_variation::duration |
time duration of the value.
it's the difference between the time_stamp of the next variation (if any) and the current
Definition at line 63 of file sig_variation.hpp.
| unsigned long long sig_variation::time_stamp |
time stamp of the variation
Definition at line 51 of file sig_variation.hpp.
Referenced by operator!=(), operator<(), operator<=(), operator==(), operator>(), and operator>=().
| std::string sig_variation::value |
new value of the signal.
it's a string because it can have non-binary values like X or Z
Definition at line 57 of file sig_variation.hpp.
Referenced by is_exec(), is_start(), and var_has_value_ones().
1.8.13