|
- A Logic Circuit Simulation Library in C++ |
#include <fanout.h>
Inheritance diagram for lcs::FanOut< n, delay >:

| n | The number of desired output lines for the input line. | |
| delay | The propogation delay of the module. |
Public Member Functions | |
| FanOut (const Bus< n > &out, const InputBus<> &in) | |
| ~FanOut () | |
| virtual void | onStateChange (int portId) |
| lcs::FanOut< n, delay >::FanOut | ( | const Bus< n > & | out, | |
| const InputBus<> & | in | |||
| ) |
The only practical constructor.
| out | The output bus containing the fanned-out lines. | |
| in | The single line input bus. |
| lcs::FanOut< n, delay >::~FanOut | ( | ) |
Destructor.
| void lcs::FanOut< n, delay >::onStateChange | ( | int | portId | ) | [virtual] |
The work-horse function of the class. A user of libLCS will never need to call this function explicitly.
Reimplemented from lcs::Module.