Logo Search packages:      
Sourcecode: verilator version File versions  Download package

verilated.h File Reference


Detailed Description

Verilator: Common include for all Verilated C files.

This file is included automatically by Verilator at the top of all C++ files it generates. It contains standard macros and classes required by the Verilated code.

Code available from: http://www.veripool.org/verilator

Definition in file verilated.h.

#include "verilatedos.h"
#include <cassert>
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include <cstring>

Go to the source code of this file.

Classes

struct  Verilated
 Verilator global static information class. More...
class  VerilatedModule
 Base class for all Verilated module classes. More...
class  VerilatedScope
 Verilator global static information class. More...
class  VerilatedSyms
 Verilator symbol table base class. More...

Defines

#define _END(obits, wordsSet)
#define _VERILATED_H_   1
 Header Guard.
#define _VL_SET_QII(ld, rd)   ( ((QData)(ld)<<VL_ULL(32)) | (QData)(rd) )
#define SP_AUTO_COVER3(what, file, line)
 Collect coverage analysis for this line.
#define VL_ASSIGN_ISI(obits, vvar, svar)   { (vvar) = VL_CLEAN_II((obits),(obits),(svar).read()); }
#define VL_ASSIGN_ISW(obits, od, svar)
#define VL_ASSIGN_QSQ(obits, vvar, svar)   { (vvar) = VL_CLEAN_QQ((obits),(obits),(svar).read()); }
#define VL_ASSIGN_QSW(obits, od, svar)
#define VL_ASSIGN_SII(obits, svar, vvar)   { (svar).write(vvar); }
#define VL_ASSIGN_SQQ(obits, svar, vvar)   { (svar).write(vvar); }
#define VL_ASSIGN_SWI(obits, svar, rd)
#define VL_ASSIGN_SWQ(obits, svar, rd)
#define VL_ASSIGN_SWW(obits, svar, rwp)
#define VL_ASSIGN_WSW(obits, owp, svar)
#define VL_ASSIGNCLEAN_W(obits, owp, lwp)   VL_CLEAN_WW(obits,obits,owp,lwp)
#define VL_BITISSET_I(data, bit)   (data & (VL_UL(1)<<VL_BITBIT_I(bit)))
 Return true if data[bit] set.
#define VL_BITISSET_Q(data, bit)   (data & (VL_ULL(1)<<VL_BITBIT_Q(bit)))
#define VL_BITISSET_W(data, bit)   (data[VL_BITWORD_I(bit)] & (VL_UL(1)<<VL_BITBIT_I(bit)))
#define VL_BITISSETLIMIT_W(data, width, bit)   (((bit)<(width)) && data[VL_BITWORD_I(bit)] & (VL_UL(1)<<VL_BITBIT_I(bit)))
#define VL_BITSEL_IIII(obits, lbits, rbits, zbits, lhs, rhs)   ((lhs)>>(rhs))
#define VL_BITSEL_IQII(obits, lbits, rbits, zbits, lhs, rhs)   ((IData)((lhs)>>(rhs)))
#define VL_BITSEL_QIII(obits, lbits, rbits, zbits, lhs, rhs)   ((lhs)>>(rhs))
#define VL_BITSEL_QQII(obits, lbits, rbits, zbits, lhs, rhs)   ((lhs)>>(rhs))
#define VL_CELL(instname, type)
 Declare a cell, ala SP_CELL.
#define VL_CLEAN_II(obits, lbits, lhs)   ((lhs) & VL_MASK_I(obits))
#define VL_CLEAN_QQ(obits, lbits, lhs)   ((lhs) & VL_MASK_Q(obits))
#define VL_CONCAT_III(obits, lbits, rbits, ld, rd)   ((IData)(ld)<<(rbits) | (IData)(rd))
#define VL_CONCAT_QII(obits, lbits, rbits, ld, rd)   ((QData)(ld)<<(rbits) | (QData)(rd))
#define VL_CONCAT_QIQ(obits, lbits, rbits, ld, rd)   ((QData)(ld)<<(rbits) | (QData)(rd))
#define VL_CONCAT_QQI(obits, lbits, rbits, ld, rd)   ((QData)(ld)<<(rbits) | (QData)(rd))
#define VL_CONCAT_QQQ(obits, lbits, rbits, ld, rd)   ((QData)(ld)<<(rbits) | (QData)(rd))
#define VL_CTOR(modname)   modname(const char* __VCname="")
 Constructor, ala SC_CTOR.
#define VL_CTOR_IMP(modname)   modname::modname(const char* __VCname) : VerilatedModule(__VCname)
 Constructor declaration for C++, ala SP_CTOR_IMPL.
#define VL_DEBUG_IF(text)
 Evaluate expression if debug enabled.
#define VL_DIV_III(lbits, lhs, rhs)   (((rhs)==0)?0:(lhs)/(rhs))
#define VL_DIV_QQQ(lbits, lhs, rhs)   (((rhs)==0)?0:(lhs)/(rhs))
#define VL_DIV_WWW(lbits, owp, lwp, rwp)   (_vl_moddiv_w(lbits,owp,lwp,rwp,0))
#define VL_EXTEND_II(obits, lbits, lhs)   ((lhs))
#define VL_EXTEND_QI(obits, lbits, lhs)   ((QData)(lhs))
#define VL_EXTEND_QQ(obits, lbits, lhs)   ((lhs))
#define VL_GT_W(words, lwp, rwp)   (_VL_CMP_W(words,lwp,rwp)>0)
#define VL_GTE_W(words, lwp, rwp)   (_VL_CMP_W(words,lwp,rwp)>=0)
#define VL_GTES_IWW(obits, lbits, rbits, lwp, rwp)   (_VL_CMPS_W(lbits,lwp,rwp)>=0)
#define VL_GTS_IWW(obits, lbits, rbits, lwp, rwp)   (_VL_CMPS_W(lbits,lwp,rwp)>0)
#define VL_HAVE_CONST_W_1X
#define VL_HAVE_CONST_W_2X
#define VL_HAVE_CONST_W_3X
#define VL_HAVE_CONST_W_4X
#define VL_HAVE_CONST_W_5X
#define VL_HAVE_CONST_W_6X
#define VL_HAVE_CONST_W_7X
#define VL_HAVE_CONST_W_8X
#define VL_HAVE_CONST_W_9X
#define VL_IN(name, msb, lsb)   IData name
 Declare input signal, 17-32 bits.
#define VL_IN16(name, msb, lsb)   SData name
 Declare input signal, 9-16 bits.
#define VL_IN64(name, msb, lsb)   QData name
 Declare input signal, 33-64 bits.
#define VL_IN8(name, msb, lsb)   CData name
 Declare input signal, 1-8 bits.
#define VL_INOUT(name, msb, lsb)   IData name
 Declare bidir signal, 17-32 bits.
#define VL_INOUT16(name, msb, lsb)   SData name
 Declare bidir signal, 9-16 bits.
#define VL_INOUT64(name, msb, lsb)   QData name
 Declare bidir signal, 33-64 bits.
#define VL_INOUT8(name, msb, lsb)   CData name
 Declare bidir signal, 1-8 bits.
#define VL_INOUTW(name, msb, lsb, words)   WData name[words]
 Declare bidir signal, 65+ bits.
#define VL_INW(name, msb, lsb, words)   WData name[words]
 Declare input signal, 65+ bits.
#define VL_LT_W(words, lwp, rwp)   (_VL_CMP_W(words,lwp,rwp)<0)
#define VL_LTE_W(words, lwp, rwp)   (_VL_CMP_W(words,lwp,rwp)<=0)
#define VL_LTES_IWW(obits, lbits, rbits, lwp, rwp)   (_VL_CMPS_W(lbits,lwp,rwp)<=0)
#define VL_LTS_IWW(obits, lbits, rbbits, lwp, rwp)   (_VL_CMPS_W(lbits,lwp,rwp)<0)
#define VL_MODDIV_III(lbits, lhs, rhs)   (((rhs)==0)?0:(lhs)%(rhs))
#define VL_MODDIV_QQQ(lbits, lhs, rhs)   (((rhs)==0)?0:(lhs)%(rhs))
#define VL_MODDIV_WWW(lbits, owp, lwp, rwp)   (_vl_moddiv_w(lbits,owp,lwp,rwp,1))
#define VL_MODULE(modname)   struct modname : public VerilatedModule
 Declare a module, ala SC_MODULE.
#define VL_NEQ_W(words, lwp, rwp)   (!VL_EQ_W(words,lwp,rwp))
#define VL_OUT(name, msb, lsb)   IData name
 Declare output signal, 17-32 bits.
#define VL_OUT16(name, msb, lsb)   SData name
 Declare output signal, 9-16 bits.
#define VL_OUT64(name, msb, lsb)   QData name
 Declare output signal, 33-64bits.
#define VL_OUT8(name, msb, lsb)   CData name
 Declare output signal, 1-8 bits.
#define VL_OUTW(name, msb, lsb, words)   WData name[words]
 Declare output signal, 65+ bits.
#define VL_PIN_NOP(instname, pin, port)
 Connect a pin, ala SP_PIN.
#define VL_POW_QQI(obits, lbits, rbits, lhs, rhs)   VL_POW_QQQ(obits,lbits,rbits,lhs,rhs)
#define VL_PRINTF   printf
 Print ala printf; may redefine if desired.
#define VL_REDAND_II(obits, lbits, lhs)   (lhs == VL_MASK_I(lbits))
#define VL_REDAND_IQ(obits, lbits, lhs)   (lhs == VL_MASK_Q(lbits))
#define VL_REDOR_I(lhs)   (lhs!=0)
#define VL_REDOR_Q(lhs)   (lhs!=0)
#define VL_REPLICATE_IOI(obits, lbits, rbits, ld, rep)   (-(ld))
#define VL_REPLICATE_QOI(obits, lbits, rbits, ld, rep)   (-((QData)ld))
#define VL_SC_CTOR_IMP(modname)   modname::modname(sc_module_name)
 Constructor declaration for SystemC, ala SP_CTOR_IMPL.
#define VL_SEL_IIII(obits, lbits, rbits, tbits, lhs, lsb, width)   ((lhs)>>(lsb))
#define VL_SEL_IQII(obits, lbits, rbits, tbits, lhs, lsb, width)   ((IData)((lhs)>>(lsb)))
#define VL_SEL_QQII(obits, lbits, rbits, tbits, lhs, lsb, width)   ((lhs)>>(lsb))
#define VL_SET_QW(lwp)   ( ((QData)(lwp[0])) | ((QData)(lwp[1])<<((QData)(VL_WORDSIZE)) ))
#define VL_SET_WI(owp, data)   { owp[0]=(IData)(data); owp[1]=0; }
#define VL_SET_WQ(owp, data)   { owp[0]=(IData)(data); owp[1]=(IData)((data)>>VL_WORDSIZE); }
 Create two 32-bit words from quadword.
#define VL_SIG(name, msb, lsb)   IData name
 Declare signal, 17-32 bits.
#define VL_SIG16(name, msb, lsb)   SData name
 Declare signal, 9-16 bits.
#define VL_SIG64(name, msb, lsb)   QData name
 Declare signal, 33-64 bits.
#define VL_SIG8(name, msb, lsb)   CData name
 Declare signal, 1-8 bits.
#define VL_SIGN_I(nbits, lhs)   ((lhs) >> VL_BITBIT_I((nbits) - VL_UL(1)))
#define VL_SIGN_Q(nbits, lhs)   ((lhs) >> VL_BITBIT_Q((nbits) - VL_ULL(1)))
#define VL_SIGNONES_I(nbits, lhs)   (-(VL_SIGN_I(nbits,lhs)))
#define VL_SIGW(name, msb, lsb, words)   WData name[words]
 Declare signal, 65+ bits.
#define VL_ST_SIG(name, msb, lsb)   IData name
 Declare signal, 17-32 bits.
#define VL_ST_SIG16(name, msb, lsb)   SData name
 Declare signal, 9-16 bits.
#define VL_ST_SIG64(name, msb, lsb)   QData name
 Declare signal, 33-64 bits.
#define VL_ST_SIG8(name, msb, lsb)   CData name
 Declare signal, 1-8 bits.
#define VL_ST_SIGW(name, msb, lsb, words)   WData name[words]
 Declare signal, 65+ bits.
#define VL_TIME_I()   ((IData)(sc_time_stamp()*VL_TIME_MULTIPLIER))
 Return current simulation time.
#define VL_TIME_MULTIPLIER   1
#define VL_TIME_Q()   ((QData)(sc_time_stamp()*VL_TIME_MULTIPLIER))
#define VL_VPRINTF   vprintf
 Print ala vprintf; may redefine if desired.

Typedefs

typedef vluint8_t CData
 Verilated pack data, 1-8 bits.
typedef vluint32_t IData
 Verilated pack data, 17-32 bits.
typedef vluint64_t QData
 Verilated pack data, 33-64 bits.
typedef vluint16_t SData
 Verilated pack data, 9-16 bits.
typedef void(* VerilatedVoidCb )(void)
typedef vluint32_t WData
 Verilated pack data, >64 bits, as an array.
typedef const WDataWDataInP
 Array input to a function.
typedef WDataWDataOutP
 Array output from a function.

Enumerations

enum  VerilatedVarFlags {
  VLVD_IN = 1, VLVD_OUT = 2, VLVD_INOUT = 3, VLVD_NODIR = 5,
  VLVF_MASK_DIR = 7, VLVF_PUB_RD = (1<<8), VLVF_PUB_RW = (1<<9)
}
enum  VerilatedVarType {
  VLVT_UNKNOWN = 0, VLVT_PTR, VLVT_UINT8, VLVT_UINT16,
  VLVT_UINT32, VLVT_UINT64, VLVT_WDATA, VLVT_STRING
}

Functions

static WDataOutP _VL_CLEAN_INPLACE_W (int obits, WDataOutP owp)
static int _VL_CMP_W (int words, WDataInP lwp, WDataInP rwp)
static int _VL_CMPS_W (int lbits, WDataInP lwp, WDataInP rwp)
void _VL_DEBUG_PRINT_W (int lbits, WDataInP iwp)
static void _VL_INSERT_II (int, IData &lhsr, IData ld, int hbit, int lbit)
static void _VL_INSERT_II (int, SData &lhsr, IData ld, int hbit, int lbit)
static void _VL_INSERT_II (int, CData &lhsr, IData ld, int hbit, int lbit)
static void _VL_INSERT_QQ (int, QData &lhsr, QData ld, int hbit, int lbit)
static void _VL_INSERT_WI (int, WDataOutP owp, IData ld, int hbit, int lbit)
static void _VL_INSERT_WQ (int obits, WDataOutP owp, QData ld, int hbit, int lbit)
static void _VL_INSERT_WW (int, WDataOutP owp, WDataInP lwp, int hbit, int lbit)
WDataOutP _vl_moddiv_w (int lbits, WDataOutP owp, WDataInP lwp, WDataInP rwp, bool is_modulus)
 Math.
static void _VL_SHIFTL_INPLACE_W (int obits, WDataOutP iowp, IData rd)
double sc_time_stamp ()
static WDataOutP VL_ADD_W (int words, WDataOutP owp, WDataInP lwp, WDataInP rwp)
static WDataOutP VL_AND_W (int words, WDataOutP owp, WDataInP lwp, WDataInP rwp)
static WDataOutP VL_ASSIGN_W (int obits, WDataOutP owp, WDataInP lwp)
static void VL_ASSIGNBIT_II (int, int bit, IData &lhsr, IData rhs)
static void VL_ASSIGNBIT_II (int, int bit, SData &lhsr, IData rhs)
static void VL_ASSIGNBIT_II (int, int bit, CData &lhsr, IData rhs)
static void VL_ASSIGNBIT_IO (int, int bit, IData &lhsr, IData)
static void VL_ASSIGNBIT_IO (int, int bit, SData &lhsr, IData)
static void VL_ASSIGNBIT_IO (int, int bit, CData &lhsr, IData)
static void VL_ASSIGNBIT_QI (int, int bit, QData &lhsr, QData rhs)
static void VL_ASSIGNBIT_QO (int, int bit, QData &lhsr, IData)
static void VL_ASSIGNBIT_WI (int, int bit, WDataOutP owp, IData rhs)
static void VL_ASSIGNBIT_WO (int, int bit, WDataOutP owp, IData)
static void VL_ASSIGNSEL_IIII (int obits, int lsb, IData &lhsr, IData rhs)
static void VL_ASSIGNSEL_IIII (int obits, int lsb, SData &lhsr, IData rhs)
static void VL_ASSIGNSEL_IIII (int obits, int lsb, CData &lhsr, IData rhs)
static void VL_ASSIGNSEL_QIII (int obits, int lsb, QData &lhsr, IData rhs)
static void VL_ASSIGNSEL_QIIQ (int obits, int lsb, QData &lhsr, QData rhs)
static void VL_ASSIGNSEL_QQII (int obits, int lsb, QData &lhsr, QData rhs)
static void VL_ASSIGNSEL_WIII (int obits, int lsb, WDataOutP owp, IData rhs)
static void VL_ASSIGNSEL_WIIQ (int obits, int lsb, WDataOutP owp, QData rhs)
static void VL_ASSIGNSEL_WIIW (int obits, int lsb, WDataOutP owp, WDataInP rwp)
static IData VL_BITSEL_IWII (int, int lbits, int, int, WDataInP lwp, IData rd)
static IData VL_CHANGEXOR_W (int words, WDataInP lwp, WDataInP rwp)
static WDataOutP VL_CLEAN_WW (int obits, int, WDataOutP owp, WDataInP lwp)
static IData VL_CLOG2_I (IData lhs)
static IData VL_CLOG2_Q (QData lhs)
static IData VL_CLOG2_W (int words, WDataInP lwp)
static WDataOutP VL_CONCAT_WII (int obits, int lbits, int rbits, WDataOutP owp, IData ld, IData rd)
static WDataOutP VL_CONCAT_WIQ (int obits, int lbits, int rbits, WDataOutP owp, IData ld, QData rd)
static WDataOutP VL_CONCAT_WIW (int obits, int lbits, int rbits, WDataOutP owp, IData ld, WDataInP rwp)
static WDataOutP VL_CONCAT_WQI (int obits, int lbits, int rbits, WDataOutP owp, QData ld, IData rd)
static WDataOutP VL_CONCAT_WQQ (int obits, int lbits, int rbits, WDataOutP owp, QData ld, QData rd)
static WDataOutP VL_CONCAT_WQW (int obits, int lbits, int rbits, WDataOutP owp, QData ld, WDataInP rwp)
static WDataOutP VL_CONCAT_WWI (int obits, int lbits, int rbits, WDataOutP owp, WDataInP lwp, IData rd)
static WDataOutP VL_CONCAT_WWQ (int obits, int lbits, int rbits, WDataOutP owp, WDataInP lwp, QData rd)
static WDataOutP VL_CONCAT_WWW (int obits, int lbits, int rbits, WDataOutP owp, WDataInP lwp, WDataInP rwp)
static WDataOutP VL_COND_WIWW (int obits, int, int, int, WDataOutP owp, int cond, WDataInP w1p, WDataInP w2p)
static WDataOutP VL_CONST_W_1X (int obits, WDataOutP o, IData d0)
static WDataOutP VL_CONST_W_2X (int obits, WDataOutP o, IData d1, IData d0)
static WDataOutP VL_CONST_W_3X (int obits, WDataOutP o, IData d2, IData d1, IData d0)
static WDataOutP VL_CONST_W_4X (int obits, WDataOutP o, IData d3, IData d2, IData d1, IData d0)
static WDataOutP VL_CONST_W_5X (int obits, WDataOutP o, IData d4, IData d3, IData d2, IData d1, IData d0)
static WDataOutP VL_CONST_W_6X (int obits, WDataOutP o, IData d5, IData d4, IData d3, IData d2, IData d1, IData d0)
static WDataOutP VL_CONST_W_7X (int obits, WDataOutP o, IData d6, IData d5, IData d4, IData d3, IData d2, IData d1, IData d0)
static WDataOutP VL_CONST_W_8X (int obits, WDataOutP o, IData d7, IData d6, IData d5, IData d4, IData d3, IData d2, IData d1, IData d0)
static WDataOutP VL_CONST_W_9X (int obits, WDataOutP o, IData d8, IData d7, IData d6, IData d5, IData d4, IData d3, IData d2, IData d1, IData d0)
static IData VL_COUNTONES_I (IData lhs)
static IData VL_COUNTONES_Q (QData lhs)
static IData VL_COUNTONES_W (int words, WDataInP lwp)
static QData VL_CVT_FP_Q (FILE *fp)
 Return QData from FILE*.
static FILE * VL_CVT_Q_FP (QData lhs)
 Return FILE* from QData.
static void * VL_CVT_Q_VP (QData lhs)
 Return void* from QData.
static QData VL_CVT_VP_Q (void *fp)
 Return QData from void*.
static IData VL_DIVS_III (int lbits, IData lhs, IData rhs)
static QData VL_DIVS_QQQ (int lbits, QData lhs, QData rhs)
static WDataOutP VL_DIVS_WWW (int lbits, WDataOutP owp, WDataInP lwp, WDataInP rwp)
static IData VL_EQ_W (int words, WDataInP lwp, WDataInP rwp)
static WDataOutP VL_EXTEND_WI (int obits, int, WDataOutP owp, IData ld)
static WDataOutP VL_EXTEND_WQ (int obits, int, WDataOutP owp, QData ld)
static WDataOutP VL_EXTEND_WW (int obits, int lbits, WDataOutP owp, WDataInP lwp)
static IData VL_EXTENDS_II (int, int lbits, IData lhs)
static QData VL_EXTENDS_QI (int, int lbits, QData lhs)
static QData VL_EXTENDS_QQ (int, int lbits, QData lhs)
static WDataOutP VL_EXTENDS_WI (int obits, int lbits, WDataOutP owp, IData ld)
static WDataOutP VL_EXTENDS_WQ (int obits, int lbits, WDataOutP owp, QData ld)
static WDataOutP VL_EXTENDS_WW (int obits, int lbits, WDataOutP owp, WDataInP lwp)
static IData VL_EXTENDSIGN_I (int lbits, IData lhs)
static QData VL_EXTENDSIGN_Q (int lbits, QData lhs)
void vl_fatal (const char *filename, int linenum, const char *hier, const char *msg)
 Routine to call for a couple of fatal messages.
IData VL_FGETS_IXQ (int obits, void *destp, QData fpq)
 File I/O.
void vl_finish (const char *filename, int linenum, const char *hier)
 Routine to call for $finish.
QData VL_FOPEN_II (IData ofilename, IData mode)
QData VL_FOPEN_QI (QData ofilename, IData mode)
QData VL_FOPEN_WI (int fnwords, WDataInP ofilename, IData mode)
IData VL_FSCANF_IX (QData fpq, const char *formatp,...)
void VL_FWRITEF (QData fpq, const char *formatp,...)
static IData VL_GTES_III (int, int lbits, int, IData lhs, IData rhs)
static IData VL_GTES_IQQ (int, int lbits, int, QData lhs, QData rhs)
static IData VL_GTS_III (int, int lbits, int, IData lhs, IData rhs)
static IData VL_GTS_IQQ (int, int lbits, int, QData lhs, QData rhs)
static IData VL_LTES_III (int, int lbits, int, IData lhs, IData rhs)
static IData VL_LTES_IQQ (int, int lbits, int, QData lhs, QData rhs)
static IData VL_LTS_III (int, int lbits, int, IData lhs, IData rhs)
static IData VL_LTS_IQQ (int, int lbits, int, QData lhs, QData rhs)
const char * vl_mc_scan_plusargs (const char *prefixp)
static IData VL_MODDIVS_III (int lbits, IData lhs, IData rhs)
static QData VL_MODDIVS_QQQ (int lbits, QData lhs, QData rhs)
static WDataOutP VL_MODDIVS_WWW (int lbits, WDataOutP owp, WDataInP lwp, WDataInP rwp)
static IData VL_MOSTSETBITP1_W (int words, WDataInP lwp)
static WDataOutP VL_MUL_W (int words, WDataOutP owp, WDataInP lwp, WDataInP rwp)
static IData VL_MULS_III (int, int lbits, int, IData lhs, IData rhs)
static QData VL_MULS_QQQ (int, int lbits, int, QData lhs, QData rhs)
static WDataOutP VL_MULS_WWW (int, int lbits, int, WDataOutP owp, WDataInP lwp, WDataInP rwp)
static WDataOutP VL_NOT_W (int words, WDataOutP owp, WDataInP lwp)
static IData VL_ONEHOT0_I (IData lhs)
static IData VL_ONEHOT0_Q (QData lhs)
static IData VL_ONEHOT0_W (int words, WDataInP lwp)
static IData VL_ONEHOT_I (IData lhs)
static IData VL_ONEHOT_Q (QData lhs)
static IData VL_ONEHOT_W (int words, WDataInP lwp)
static WDataOutP VL_OR_W (int words, WDataOutP owp, WDataInP lwp, WDataInP rwp)
static IData VL_POW_III (int, int, int rbits, IData lhs, IData rhs)
static QData VL_POW_QQQ (int, int, int rbits, QData lhs, QData rhs)
IData VL_RAND_RESET_I (int obits)
 Init time only, so slow is fine.
QData VL_RAND_RESET_Q (int obits)
 Random reset a signal.
WDataOutP VL_RAND_RESET_W (int obits, WDataOutP outwp)
 Random reset a signal.
IData VL_RANDOM_I (int obits)
 Randomize a signal.
QData VL_RANDOM_Q (int obits)
 Randomize a signal.
WDataOutP VL_RANDOM_W (int obits, WDataOutP outwp)
 Randomize a signal.
void VL_READMEM_I (bool hex, int width, int depth, int array_lsb, int fnwords, IData ofilename, void *memp, IData start, IData end)
void VL_READMEM_Q (bool hex, int width, int depth, int array_lsb, int fnwords, QData ofilename, void *memp, IData start, IData end)
void VL_READMEM_W (bool hex, int width, int depth, int array_lsb, int fnwords, WDataInP ofilename, void *memp, IData start, IData end)
static IData VL_REDAND_IW (int, int lbits, WDataInP lwp)
static IData VL_REDOR_W (int words, WDataInP lwp)
static IData VL_REDXOR_16 (IData r)
static IData VL_REDXOR_2 (IData r)
static IData VL_REDXOR_32 (IData r)
static IData VL_REDXOR_4 (IData r)
static IData VL_REDXOR_64 (QData r)
static IData VL_REDXOR_8 (IData r)
static IData VL_REDXOR_W (int words, WDataInP lwp)
static IData VL_REPLICATE_III (int, int lbits, int, IData ld, IData rep)
static QData VL_REPLICATE_QII (int, int lbits, int, IData ld, IData rep)
static WDataOutP VL_REPLICATE_WII (int obits, int lbits, int, WDataOutP owp, IData ld, IData rep)
static WDataOutP VL_REPLICATE_WQI (int obits, int lbits, int, WDataOutP owp, QData ld, IData rep)
static WDataOutP VL_REPLICATE_WWI (int obits, int lbits, int, WDataOutP owp, WDataInP lwp, IData rep)
static IData VL_SEL_IWII (int, int lbits, int, int, WDataInP lwp, IData lsb, IData width)
static QData VL_SEL_QWII (int, int lbits, int, int, WDataInP lwp, IData lsb, IData width)
static WDataOutP VL_SEL_WWII (int obits, int lbits, int, int, WDataOutP owp, WDataInP lwp, IData lsb, IData width)
void VL_SFORMAT_X (int obits, void *destp, const char *formatp,...)
static WDataOutP VL_SHIFTL_WWI (int obits, int, int, WDataOutP owp, WDataInP lwp, IData rd)
static WDataOutP VL_SHIFTR_WWI (int obits, int, int, WDataOutP owp, WDataInP lwp, IData rd)
static IData VL_SHIFTRS_III (int obits, int, int, IData lhs, IData rhs)
static QData VL_SHIFTRS_QQI (int obits, int, int, QData lhs, IData rhs)
static WDataOutP VL_SHIFTRS_WWI (int obits, int, int, WDataOutP owp, WDataInP lwp, IData rd)
IData VL_SSCANF_IIX (int lbits, IData ld, const char *formatp,...)
IData VL_SSCANF_IQX (int lbits, QData ld, const char *formatp,...)
IData VL_SSCANF_IWX (int lbits, WDataInP lwp, const char *formatp,...)
void vl_stop (const char *filename, int linenum, const char *hier)
 Routine to call for $stop.
static WDataOutP VL_SUB_W (int words, WDataOutP owp, WDataInP lwp, WDataInP rwp)
IData VL_TESTPLUSARGS_I (const char *formatp)
static IData VL_UNARYMIN_I (IData data)
static QData VL_UNARYMIN_Q (QData data)
static WDataOutP VL_UNARYMIN_W (int words, WDataOutP owp, WDataInP lwp)
IData VL_VALUEPLUSARGS_II (int rbits, const char *prefixp, char fmt, IData &ldr)
IData VL_VALUEPLUSARGS_II (int rbits, const char *prefixp, char fmt, SData &ldr)
IData VL_VALUEPLUSARGS_II (int rbits, const char *prefixp, char fmt, CData &ldr)
IData VL_VALUEPLUSARGS_IQ (int rbits, const char *prefixp, char fmt, QData &ldr)
IData VL_VALUEPLUSARGS_IW (int rbits, const char *prefixp, char fmt, WDataOutP rwp)
void VL_WRITEF (const char *formatp,...)
static WDataOutP VL_XNOR_W (int words, WDataOutP owp, WDataInP lwp, WDataInP rwp)
static WDataOutP VL_XOR_W (int words, WDataOutP owp, WDataInP lwp, WDataInP rwp)
WDataOutP VL_ZERO_RESET_W (int obits, WDataOutP outwp)
 Zero reset a signal.


Generated by  Doxygen 1.6.0   Back to index