PandA-2024.02
Public Member Functions | Data Fields
sig_variation Struct Reference

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...
 

Detailed Description

This class models a single variation of a signal in vcd.

Author
Pietro Fezzardi pietr.nosp@m.ofez.nosp@m.zardi.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Definition at line 46 of file sig_variation.hpp.

Constructor & Destructor Documentation

◆ sig_variation()

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

Author
Pietro Fezzardi pietr.nosp@m.ofez.nosp@m.zardi.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Definition at line 41 of file sig_variation.cpp.

Field Documentation

◆ duration

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.

◆ time_stamp

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>=().

◆ value

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().


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

Generated on Mon Feb 12 2024 13:04:03 for PandA-2024.02 by doxygen 1.8.13