test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Friends
signal_ Class Reference

#include <vppc_sim_lib.h>

Public Member Functions

void add_dim (size_t h, size_t l)
 
void attach (signal_ &src)
 
signal_bm (unsigned int sn, unsigned int lng)
 
signal_bp (unsigned int sn, unsigned int lng)
 
void build ()
 
void bw (size_t h, size_t l)
 
unsigned int get_ull (size_t bnum)
 
unsigned int * getval ()
 
 operator unsigned int ()
 
unsigned int operator! ()
 
unsigned int operator!= (signal_ &arg)
 
unsigned int operator% (signal_ &arg)
 
signal_operator%= (signal_ &arg)
 
signal_operator& (signal_ &arg)
 
signal_operator&= (signal_ &arg)
 
signal_operator() (unsigned int hn, unsigned int ln)
 
unsigned int operator+ (signal_ &arg)
 
unsigned int operator++ (int)
 
signal_operator+= (signal_ &arg)
 
signal_operator, (signal_ &arg)
 
unsigned int operator- (signal_ &arg)
 
unsigned int operator-- (int)
 
signal_operator-= (signal_ &arg)
 
unsigned int operator/ (signal_ &arg)
 
signal_operator/= (signal_ &arg)
 
unsigned int operator< (signal_ &arg)
 
unsigned int operator<= (signal_ &arg)
 
signal_operator= (signal_ &oth)
 
signal_operator= (unsigned int n)
 
unsigned int operator== (signal_ &arg)
 
unsigned int operator> (signal_ &arg)
 
unsigned int operator>= (signal_ &arg)
 
signal_operator[] (unsigned int i)
 
signal_operator^ (signal_ &arg)
 
signal_operator^= (signal_ &arg)
 
signal_operator| (signal_ &arg)
 
signal_operator|= (signal_ &arg)
 
signal_operator~ ()
 
void set_storage (signal_storage *st)
 
void set_ull (size_t bnum, size_t bcnt, unsigned int val)
 
 signal_ ()
 

Public Attributes

size_t alwaysn
 
signal_ca1
 
signal_ca2
 
signal_cell
 
size_t dh
 
size_t dim_h
 
size_t dim_l
 
size_t dl
 
unsigned int * r
 
unsigned int * rc
 
unsigned int * rt
 
size_t sh
 
size_t sl
 
signal_storagest
 

Friends

void clk_drive (signal_ &clk, unsigned int v)
 
unsigned int const_ (size_t sz, unsigned int val)
 
signal_const_l (size_t sz, size_t count,...)
 
signal_const_l_p (size_t sz, size_t count,...)
 
signal_const_s (size_t sz, unsigned long long val)
 
signal_const_s_p (size_t sz, unsigned long long val)
 
bool negedge (signal_ &)
 
bool posedge (signal_ &)
 
unsigned int uand (signal_ &)
 
unsigned int uand (unsigned int)
 
unsigned int uor (signal_ &)
 
unsigned int uor (unsigned int)
 
unsigned int uxor (signal_ &)
 
unsigned int uxor (unsigned int)
 

Detailed Description

Definition at line 57 of file vppc_sim_lib.h.

Constructor & Destructor Documentation

signal_::signal_ ( )
inline

Definition at line 60 of file vppc_sim_lib.h.

References NULL.

60 {st = NULL; cell = NULL; dim_h = dim_l = 0;};
#define NULL
Definition: scimark2.h:8
signal_storage * st
Definition: vppc_sim_lib.h:128
size_t dim_h
Definition: vppc_sim_lib.h:139
signal_ * cell
Definition: vppc_sim_lib.h:138
size_t dim_l
Definition: vppc_sim_lib.h:139

Member Function Documentation

void signal_::add_dim ( size_t  h,
size_t  l 
)
void signal_::attach ( signal_ src)
signal_& signal_::bm ( unsigned int  sn,
unsigned int  lng 
)
signal_& signal_::bp ( unsigned int  sn,
unsigned int  lng 
)
void signal_::build ( )
void signal_::bw ( size_t  h,
size_t  l 
)
unsigned int signal_::get_ull ( size_t  bnum)
unsigned int* signal_::getval ( )
signal_::operator unsigned int ( )
unsigned int signal_::operator! ( )
unsigned int signal_::operator!= ( signal_ arg)
unsigned int signal_::operator% ( signal_ arg)
signal_& signal_::operator%= ( signal_ arg)
inline

Definition at line 94 of file vppc_sim_lib.h.

94 {return *this = *this % arg;};
A arg
Definition: Factorize.h:36
signal_& signal_::operator& ( signal_ arg)
signal_& signal_::operator&= ( signal_ arg)
inline

Definition at line 104 of file vppc_sim_lib.h.

104 {return *this = *this & arg;};
A arg
Definition: Factorize.h:36
signal_& signal_::operator() ( unsigned int  hn,
unsigned int  ln 
)
unsigned int signal_::operator+ ( signal_ arg)
unsigned int signal_::operator++ ( int  )
inline

Definition at line 81 of file vppc_sim_lib.h.

81 {return *this = *this + 1;};
signal_& signal_::operator+= ( signal_ arg)
inline

Definition at line 91 of file vppc_sim_lib.h.

91 {return *this = *this + arg;};
A arg
Definition: Factorize.h:36
signal_& signal_::operator, ( signal_ arg)
unsigned int signal_::operator- ( signal_ arg)
unsigned int signal_::operator-- ( int  )
inline

Definition at line 82 of file vppc_sim_lib.h.

82 {return *this = *this - 1;};
signal_& signal_::operator-= ( signal_ arg)
inline

Definition at line 92 of file vppc_sim_lib.h.

92 {return *this = *this - arg;};
A arg
Definition: Factorize.h:36
unsigned int signal_::operator/ ( signal_ arg)
signal_& signal_::operator/= ( signal_ arg)
inline

Definition at line 93 of file vppc_sim_lib.h.

93 {return *this = *this / arg;};
A arg
Definition: Factorize.h:36
unsigned int signal_::operator< ( signal_ arg)
unsigned int signal_::operator<= ( signal_ arg)
signal_& signal_::operator= ( signal_ oth)
signal_& signal_::operator= ( unsigned int  n)
unsigned int signal_::operator== ( signal_ arg)
unsigned int signal_::operator> ( signal_ arg)
unsigned int signal_::operator>= ( signal_ arg)
signal_& signal_::operator[] ( unsigned int  i)
signal_& signal_::operator^ ( signal_ arg)
signal_& signal_::operator^= ( signal_ arg)
inline

Definition at line 105 of file vppc_sim_lib.h.

105 {return *this = *this ^ arg;};
A arg
Definition: Factorize.h:36
signal_& signal_::operator| ( signal_ arg)
signal_& signal_::operator|= ( signal_ arg)
inline

Definition at line 103 of file vppc_sim_lib.h.

103 {return *this = *this | arg;};
A arg
Definition: Factorize.h:36
signal_& signal_::operator~ ( )
void signal_::set_storage ( signal_storage st)
void signal_::set_ull ( size_t  bnum,
size_t  bcnt,
unsigned int  val 
)

Friends And Related Function Documentation

void clk_drive ( signal_ clk,
unsigned int  v 
)
friend
unsigned int const_ ( size_t  sz,
unsigned int  val 
)
friend
signal_& const_l ( size_t  sz,
size_t  count,
  ... 
)
friend
signal_& const_l_p ( size_t  sz,
size_t  count,
  ... 
)
friend
signal_& const_s ( size_t  sz,
unsigned long long  val 
)
friend
signal_& const_s_p ( size_t  sz,
unsigned long long  val 
)
friend
bool negedge ( signal_ )
friend
bool posedge ( signal_ )
friend
unsigned int uand ( signal_ )
friend
unsigned int uand ( unsigned  int)
friend
unsigned int uor ( signal_ )
friend
unsigned int uor ( unsigned  int)
friend
unsigned int uxor ( signal_ )
friend
unsigned int uxor ( unsigned  int)
friend

Member Data Documentation

size_t signal_::alwaysn

Definition at line 137 of file vppc_sim_lib.h.

signal_* signal_::ca1

Definition at line 136 of file vppc_sim_lib.h.

signal_ * signal_::ca2

Definition at line 136 of file vppc_sim_lib.h.

signal_* signal_::cell

Definition at line 138 of file vppc_sim_lib.h.

size_t signal_::dh

Definition at line 131 of file vppc_sim_lib.h.

size_t signal_::dim_h

Definition at line 139 of file vppc_sim_lib.h.

size_t signal_::dim_l

Definition at line 139 of file vppc_sim_lib.h.

size_t signal_::dl

Definition at line 131 of file vppc_sim_lib.h.

unsigned int* signal_::r

Definition at line 129 of file vppc_sim_lib.h.

unsigned int * signal_::rc

Definition at line 129 of file vppc_sim_lib.h.

unsigned int* signal_::rt

Definition at line 130 of file vppc_sim_lib.h.

size_t signal_::sh

Definition at line 132 of file vppc_sim_lib.h.

size_t signal_::sl

Definition at line 132 of file vppc_sim_lib.h.

signal_storage* signal_::st

Definition at line 128 of file vppc_sim_lib.h.