Qucs-core  0.0.19
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
digital Class Reference

#include <digital.h>

Inheritance diagram for digital:
Inheritance graph
[legend]
Collaboration diagram for digital:
Collaboration graph
[legend]

Public Member Functions

 digital ()
 ~digital ()
void initSP (void)
 placehoder for S-Parameter initialisation function
void calcSP (nr_double_t)
void initDC (void)
void calcDC (void)
void initAC (void)
void calcAC (nr_double_t)
void initTR (void)
void calcTR (nr_double_t)
void calcOperatingPoints (void)

Protected Member Functions

virtual void calcOutput (void)
virtual void calcDerivatives (void)
nr_double_t getVin (int)
nr_double_t calcTransfer (int)
nr_double_t calcTransferX (int)
nr_double_t calcDerivative (int)
nr_double_t calcDerivativeX (int)

Protected Attributes

nr_double_tg
nr_double_t Vout
nr_double_t Veq
nr_double_t Tdelay
int i
bool delay

Private Member Functions

void initDigital (void)
void freeDigital (void)

Detailed Description

Definition at line 28 of file digital.h.


Constructor & Destructor Documentation

Definition at line 45 of file digital.cpp.

Definition at line 54 of file digital.cpp.


Member Function Documentation

void digital::calcAC ( nr_double_t  frequency) [virtual]

Reimplemented from qucs::circuit.

Definition at line 156 of file digital.cpp.

void digital::calcDC ( void  ) [virtual]

Reimplemented from qucs::circuit.

Definition at line 136 of file digital.cpp.

nr_double_t digital::calcDerivative ( int  input) [protected]

Definition at line 103 of file digital.cpp.

virtual void digital::calcDerivatives ( void  ) [inline, protected, virtual]

Reimplemented in logicand, buffer, inverter, logicnand, logicnor, logicor, logicxnor, and logicxor.

Definition at line 45 of file digital.h.

nr_double_t digital::calcDerivativeX ( int  input) [protected]

Definition at line 95 of file digital.cpp.

void digital::calcOperatingPoints ( void  ) [virtual]

Reimplemented from qucs::circuit.

Definition at line 146 of file digital.cpp.

virtual void digital::calcOutput ( void  ) [inline, protected, virtual]

Reimplemented in logicand, buffer, inverter, logicnand, logicnor, logicor, logicxnor, and logicxor.

Definition at line 44 of file digital.h.

void digital::calcSP ( nr_double_t  frequency) [virtual]

Reimplemented from qucs::circuit.

Definition at line 117 of file digital.cpp.

void digital::calcTR ( nr_double_t  t) [virtual]

Reimplemented from qucs::circuit.

Definition at line 177 of file digital.cpp.

nr_double_t digital::calcTransfer ( int  input) [protected]

Definition at line 90 of file digital.cpp.

nr_double_t digital::calcTransferX ( int  input) [protected]

Definition at line 83 of file digital.cpp.

void digital::freeDigital ( void  ) [private]

Definition at line 66 of file digital.cpp.

nr_double_t digital::getVin ( int  input) [protected]

Definition at line 74 of file digital.cpp.

void digital::initAC ( void  ) [virtual]

Reimplemented from qucs::circuit.

Definition at line 151 of file digital.cpp.

void digital::initDC ( void  ) [virtual]

Reimplemented from qucs::circuit.

Definition at line 126 of file digital.cpp.

void digital::initDigital ( void  ) [private]

Definition at line 59 of file digital.cpp.

void digital::initSP ( void  ) [virtual]

placehoder for S-Parameter initialisation function

Virtual function intended to be overridden by the inheiriting circuit element's S-Parameter initialisation function. initSP is called before commencing the simulation to set up the S-Parameter matrix.

Reimplemented from qucs::circuit.

Definition at line 108 of file digital.cpp.

void digital::initTR ( void  ) [virtual]

Reimplemented from qucs::circuit.

Definition at line 164 of file digital.cpp.


Field Documentation

bool digital::delay [protected]

Definition at line 56 of file digital.h.

nr_double_t* digital::g [protected]

Definition at line 53 of file digital.h.

int digital::i [protected]

Definition at line 55 of file digital.h.

Definition at line 54 of file digital.h.

Definition at line 54 of file digital.h.

Definition at line 54 of file digital.h.


The documentation for this class was generated from the following files: