CMS 3D CMS Logo

Public Member Functions | Protected Attributes

module Class Reference

#include <vlib.h>

Inheritance diagram for module:
function

List of all members.

Public Member Functions

SignalAddOutReg (Signal arg)
void create ()
int getchange ()
Signal getswitch ()
Signal ifelse (Signal, Signal, Signal)
void init (const char *, const char *, int)
void init (const char *, const char *, module *fixt)
void init (const char *, const char *)
 module ()
Signal negedge (Signal)
virtual void operator() ()
void popswitch ()
Signal posedge (Signal)
void pushswitch (Signal arg)
void setchange (int c)
void vbeginmodule ()
void vendmodule ()
virtual ~module ()

Protected Attributes

int change
std::string instname
int itern
int oldenmarg
int OuterIndPos
Signaloutreg [1000]
int outregn
rval passn
void(* runperiod )()
Signal switcharg [10]
int switchn
moduletfixt

Detailed Description

Definition at line 209 of file vlib.h.


Constructor & Destructor Documentation

module::module ( )
virtual module::~module ( ) [virtual]

Member Function Documentation

Signal* module::AddOutReg ( Signal  arg)
void module::create ( )
int module::getchange ( ) [inline]

Definition at line 231 of file vlib.h.

References change.

{return change;}
Signal module::getswitch ( ) [inline]

Definition at line 226 of file vlib.h.

References switcharg, and switchn.

{return switcharg[switchn - 1];};
Signal module::ifelse ( Signal  ,
Signal  ,
Signal   
)
void module::init ( const char *  ,
const char *   
)
void module::init ( const char *  ,
const char *  ,
module fixt 
)
void module::init ( const char *  ,
const char *  ,
int   
)
Signal module::negedge ( Signal  )
virtual void module::operator() ( ) [inline, virtual]

Definition at line 218 of file vlib.h.

{};
void module::popswitch ( ) [inline]

Definition at line 227 of file vlib.h.

References switchn.

{switchn--;}
Signal module::posedge ( Signal  )
void module::pushswitch ( Signal  arg) [inline]

Definition at line 225 of file vlib.h.

References cmsCodeRulesChecker::arg, switcharg, and switchn.

void module::setchange ( int  c) [inline]

Definition at line 230 of file vlib.h.

References trackerHits::c, and change.

{change = c;}
void module::vbeginmodule ( )
void module::vendmodule ( )

Member Data Documentation

int module::change [protected]

Definition at line 250 of file vlib.h.

Referenced by getchange(), and setchange().

std::string module::instname [protected]

Definition at line 241 of file vlib.h.

int module::itern [protected]

Definition at line 251 of file vlib.h.

int module::oldenmarg [protected]

Definition at line 245 of file vlib.h.

int module::OuterIndPos [protected]

Definition at line 242 of file vlib.h.

Signal* module::outreg[1000] [protected]

Definition at line 246 of file vlib.h.

int module::outregn [protected]

Definition at line 247 of file vlib.h.

rval module::passn [protected]

Definition at line 252 of file vlib.h.

void(* module::runperiod)() [protected]

Definition at line 248 of file vlib.h.

Signal module::switcharg[10] [protected]

Definition at line 243 of file vlib.h.

Referenced by getswitch(), and pushswitch().

int module::switchn [protected]

Definition at line 244 of file vlib.h.

Referenced by getswitch(), popswitch(), and pushswitch().

module* module::tfixt [protected]

Definition at line 249 of file vlib.h.