CMS 3D CMS Logo

Defines | Functions | Variables

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/src/L1Trigger/CSCCommonTrigger/src/vlib.cc File Reference

#include <L1Trigger/CSCCommonTrigger/interface/vlib.h>

Go to the source code of this file.

Defines

#define binop(op, cop)
#define compop(op, cop)
#define dbgmsg(a)   std::cerr << a << " Set breakpoint at " << __FILE__ << ":" << __LINE__ << "\n";
#define unop(op, cop)

Functions

 binop (operator+,+) binop(operator-
 binop (operator%,%) binop(operator^
&& binop (operator|,|) Signal Signal
 binop (operator&,&) binop(operator&&
 binop (operator<<,<<) binop(operator>>
 binop (operator*,*) binop(operator/
 compop (operator>,>) compop(operator<
 unop (operator!,!) unop(operator~

Variables

globcontrol glc
char const * obnames []

Define Documentation

#define binop (   op,
  cop 
)
Value:
Signal Signal::op (Signal arg) \
{ \
        Signal t; \
        int ln  = h - l; \
        int aln = arg.h - arg.l; \
        t.init((ln > aln) ? ln : aln, 0, ""); \
        t.r = t.mask & (getval() cop arg.getval()); \
        return t; \
}

Definition at line 337 of file vlib.cc.

#define compop (   op,
  cop 
)
Value:
Signal Signal::op (Signal arg) \
{ \
        Signal t; \
        t.init(""); \
        t.r = (getval() cop arg.getval()); \
        return t; \
}

Definition at line 409 of file vlib.cc.

#define dbgmsg (   a)    std::cerr << a << " Set breakpoint at " << __FILE__ << ":" << __LINE__ << "\n";

Definition at line 21 of file vlib.cc.

#define unop (   op,
  cop 
)
Value:
Signal Signal::op () \
{ \
        Signal t; \
        t.init(h, l, ""); \
        t.r = mask & (cop getval()); \
        return t; \
}

Definition at line 303 of file vlib.cc.


Function Documentation

binop ( operator+  ,
 
)
binop ( operator%  ,
 
)
&& binop ( operator|  ,
 
)

Definition at line 359 of file vlib.cc.

References change(), Signal::change, h, Signal::init(), prof2calltree::l, Signal::mask, mergeVDriftHistosByStation::name, Signal::printable, Signal::r, and lumiQTWidget::t.

{
        Signal t;
#ifdef VGEN
        t.name = lb + name + rb + " || " + arg.lb + arg.name + arg.rb;
        t.orname = orname + " or " + arg.orname;
        printable = arg.printable = 0;
#else
        int ln  = h - l; 
        int aln = arg.h - arg.l; 
        t.init((ln > aln) ? ln : aln, 0, ""); 
#endif
        t.r = t.mask & (getval() || arg.getval());
        t.change = change || arg.change;
        return t;
}
binop ( operator&  ,
 
)
binop ( operator<<  ,
<<   
)
binop ( operator*  ,
 
)
compop ( operator  )
unop ( operator!  ,
 
)

Variable Documentation

Verilog++ SP.

Author:
A. Madorsky

Definition at line 6 of file vlib.cc.

Referenced by CmsShowCommonPopup::getColorSetColors().

char const* obnames[]
Initial value:
 
{
        "none "   , 
        "reg "    ,
        "wire "   ,
        "input "  ,
        "output " ,
        "inout "  ,
        "num "    ,
        "temp "
}

Definition at line 8 of file vlib.cc.