TestbenchWriter Documentation

Class Referenced By...

Classes Referenced in Header File

Classes Referenced in Code File

public Declarations

Constructors

  • TestbenchWriter(bool activate, bool doAppend, int dumpmode, char* filebase, char* base2=NULL, int id=0, char* fileext=NULL)
  • TestbenchWriter()

Destructor

  • ~TestbenchWriter()

Functions

  • void startItem(const TestbenchInterface* dest, const char* desc)
  • void addComponent(const TestbenchInterface* dest)
  • void finishItem(bool asComment=false)
  • void logitem(const TestbenchInterface* dest, const char* desc)
  • void logUnsignedInteger(int dat, const char* desc)
  • void logUnsignedIntegerAsComment(int dat, const char* desc)
  • void logDoubleAsComment(double dat, const char* desc)
  • void logStringData(const char* dat, const char* desc)
  • void logCommentHeader(const char* desc)
  • void logCommentHeader(const TestbenchInterface* dest, const char* desc)
  • void logValueAsComment(const TestbenchInterface* dest)

protected Declarations

Data Items

bool active

private Declarations

Data Items

FILE* istream
bool logopen
long itemcount
bool itemstarted
char itemnum[15]
char dstart[10]
char dsize[10]
char dlab[250]
char dval[32768]
char desccpy[250]
int valsize
int labsize
int dsizeleng
int datastart
int itemsize
int datastartchk
int descsize

Functions

  • void startitemlog(int seqnum)
  • void enditemlog()
  • int getStringLength(const char* str)
  • int getStringLengthAndCopy(const char* str, char* dest, int limit)