ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
VCD.h File Reference
#include "etiss/Misc.h"
#include <fstream>
#include <iostream>
#include <vector>
Include dependency graph for VCD.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  etiss::interfaces::VCD
 
class  etiss::interfaces::VCD::Signal
 

Namespaces

namespace  etiss
 forwards: include/jit/*
 
namespace  etiss::interfaces
 

Macros

#define ETISS_INTERFACES_VCD_DECLARE(LOG, VAR, WIDTH)
 macro to add a TraceableField to a VCD instance.
 

Macro Definition Documentation

◆ ETISS_INTERFACES_VCD_DECLARE

#define ETISS_INTERFACES_VCD_DECLARE (   LOG,
  VAR,
  WIDTH 
)
Value:
{ \
(VAR).vcd = &(LOG); \
(LOG).declare((VAR), ETISS_TOSTRING(VAR), WIDTH, (VAR).errval); \
}
#define ETISS_TOSTRING(X)
Definition Misc.h:39

macro to add a TraceableField to a VCD instance.

Attention
only works with TraceableField variables e.g. etiss::interfaces::VCD cpuLog("cpu.vcd"); TraceableField<int> var; ETISS_INTERFACES_VCD_DECLARE(cpuLog,var)

in above example the output wire will be named "var"

Definition at line 33 of file VCD.h.