|
Signal | asgn (Signal) |
|
void | clock (const char *rname) |
|
void | create () |
|
int | getalwaysn () |
|
bool | getbool () |
|
int | getchange () |
|
int | geth () |
|
int | getint () |
|
int | getl () |
|
rval | getmask () |
|
int | getnegedge () |
|
int | getposedge () |
|
rval | getr () |
|
rval | getval () |
|
void | init (int, int, const char *) |
|
void | init (const char *rname) |
|
void | init (Signal *shost, int h, int l, const char *rname) |
|
void | initreg (int, int, const char *) |
|
void | inout (int, int, const char *) |
|
void | inout (const char *rname) |
|
void | input (int, int, const char *) |
|
void | input (const char *rname) |
|
void | makemask () |
|
Signal | operator! () |
|
Signal | operator!= (Signal) |
|
Signal | operator% (Signal) |
|
Signal | operator& (Signal) |
|
Signal * | operator& () |
|
Signal | operator&& (Signal) |
|
Signal | operator() (Signal, Signal) |
|
Signal | operator() (Signal) |
|
Signal | operator* (Signal) |
|
Signal | operator+ (Signal) |
|
Signal | operator++ () |
|
Signal | operator++ (int) |
|
Signal | operator, (Signal) |
|
Signal | operator- (Signal) |
|
Signal | operator-- () |
|
Signal | operator-- (int) |
|
Signal | operator/ (Signal) |
|
Signal | operator< (Signal) |
|
Signal | operator<< (Signal) |
|
Signal | operator<= (Signal) |
|
Signal | operator= (Signal) |
|
Signal | operator== (Signal) |
|
Signal | operator> (Signal) |
|
Signal | operator>= (Signal) |
|
Signal | operator>> (Signal) |
|
Signal | operator^ (Signal) |
|
Signal | operator| (Signal) |
|
Signal | operator|| (Signal) |
|
Signal | operator~ () |
|
void | output (int, int, const char *) |
|
void | output (const char *rname) |
|
void | output (int high, int low, const char *rname, module *parent) |
|
void | output (const char *rname, module *parent) |
|
void | reg (int, int, const char *) |
|
void | reg (const char *rname) |
|
Signal | set (Signal) |
|
void | setalwaysn (int n) |
|
void | setchange (int ch) |
|
void | sethlmask (int high, int low, rval imask) |
|
void | setnegedge (int ch) |
|
void | setposedge (int ch) |
|
void | setprintable (int p) |
|
void | setr (rval rv) |
|
void | setrc (rval rv) |
|
| Signal () |
|
| Signal (rval) |
|
| Signal (int) |
|
| Signal (unsigned int) |
|
| Signal (const char *) |
|
| Signal (int bits, rval value) |
|
void | wire (int, int, const char *) |
|
void | wire (int, int, const char *, int) |
|
void | wire (const char *rname) |
|
Description: A simple implementation of the signal/slot pattern
Usage: This is a simple version of the signal/slot pattern and is used by the Framework. It is safe to call 'emit' from multiple threads simultaneously. Assumptions: -The attached slots have a life-time greater than the last 'emit' call issued from the Signal. -'connect' is not called simultaneously with any other methods of the class.
Definition at line 39 of file vlib.h.
Signal::Signal |
( |
const char * |
sval | ) |
|
Definition at line 61 of file vlib.cc.
References bits, create(), i, init(), mask, mnum, mode, r, rc, AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
72 sscanf(val.c_str(),
"%d'%c", &
bits, &radix);
78 for (i = 0; val[
i] !=
'h' && val[
i] !=
'H'; ++
i);
79 for (; i < val.length(); ++
i)
101 dig = val[
i] -
'a' + 10;
109 dig = val[
i] -
'A' + 10;
126 sscanf (val.c_str(),
"%d'%c%d", &
bits, &radix,
reinterpret_cast<int *
>(&
value));
131 for (i = 0; val[
i] !=
'o' && val[
i] !=
'O'; ++
i);
132 for (; i < val.length(); ++
i)
162 for (i = 0; val[
i] !=
'b' && val[
i] !=
'B'; ++
i);
163 for (; i < val.length(); ++
i)
void init(int, int, const char *)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
unsigned long long int rval
Definition at line 533 of file vlib.cc.
References ca1, ca2, change, gather_cfg::cout, globcontrol::getalwaysn(), getl(), getval(), h, host, hostl, AnalysisDataFormats_SUSYBSMObjects::hr, l, mask, minout, mode, moutput, mergeVDriftHistosByStation::name, nedge, NULL, outhost, outreg, pedge, r, rc, set(), setalwaysn(), globcontrol::setchange(), and edmStreamStallGrapher::t.
Referenced by operator=(), and set().
538 t.name = lb +
name + rb +
" = " + other.getcatname();
539 if (
glc.printassign())
std::cout <<
glc.getmargin() << t.name <<
";\n" << flush;
541 rval hr, portionr, portionmask, otr;
558 portionr =
rc << shn;
559 portionmask =
mask << shn;
560 host->
set((hr & (~portionmask)) | portionr);
585 glc.setprintassign(1);
unsigned long long int rval
void Signal::clock |
( |
const char * |
rname | ) |
|
Definition at line 677 of file vlib.cc.
References module::AddOutReg(), change, dbgmsg, globcontrol::getparent(), h, host, init(), inited, l, minput, mode, mergeVDriftHistosByStation::name, nedge, NULL, obnames, outhost, outreg, pedge, printable, r, rc, module::setchange(), setr(), and setrc().
680 if (lb ==
"{")
glc.AddIO(lb +
name + rb);
686 dbgmsg(
"Different port length for clock argument: declared [" << 0 <<
":" << 0 <<
"], passed: [" <<
h <<
":" <<
l <<
"]. ");
697 if (
h ==
l) ln << obname <<
name <<
";\n";
698 else ln << obname <<
"[" << dec <<
h <<
":" <<
l <<
"] " << name <<
";\n";
699 glc.AddDeclarator(ln.str());
void init(int, int, const char *)
Signal * AddOutReg(Signal arg)
void Signal::init |
( |
int |
high, |
|
|
int |
low, |
|
|
const char * |
rname |
|
) |
| |
Definition at line 239 of file vlib.cc.
References h, inited, l, makemask(), mergeVDriftHistosByStation::name, and source.
Referenced by clock(), parameter::init(), initreg(), inout(), input(), module::negedge(), operator()(), operator,(), operator||(), output(), module::posedge(), rand(), ror(), rxor(), Signal(), and wire().
void Signal::input |
( |
int |
high, |
|
|
int |
low, |
|
|
const char * |
rname |
|
) |
| |
Definition at line 625 of file vlib.cc.
References module::AddOutReg(), change, dbgmsg, getmask(), globcontrol::getparent(), getr(), h, host, init(), inited, l, minput, mode, mergeVDriftHistosByStation::name, nedge, NULL, obnames, outhost, outreg, pedge, printable, r, module::setchange(), setr(), and setrc().
628 if (lb ==
"{")
glc.AddIO(lb +
name + rb);
634 dbgmsg(
"Different port length for input argument: declared [" << high <<
":" << low <<
"], passed: [" <<
h <<
":" <<
l <<
"]. ");
654 if (
h ==
l) ln << obname <<
name <<
";\n";
655 else ln << obname <<
"[" << dec <<
h <<
":" <<
l <<
"] " << name <<
";\n";
656 glc.AddDeclarator(ln.str());
void init(int, int, const char *)
Signal * AddOutReg(Signal arg)