LogicGate Class Reference
The Class LogicGate represents an abstract logic gate.
More...
#include <LogicGate.h>
List of all members.
Detailed Description
The Class LogicGate represents an abstract logic gate.
Member Typedef Documentation
Constructor & Destructor Documentation
LogicGate::LogicGate |
( |
size_t |
id, |
|
|
size_t |
numOutputs, |
|
|
size_t |
numInputs, |
|
|
SimTime |
delay | |
|
) |
| | [inline] |
LogicGate::LogicGate |
( |
const LogicGate & |
that |
) |
[inline] |
Member Function Documentation
virtual size_t LogicGate::getInputIndex |
( |
const std::string & |
net |
) |
const [pure virtual] |
Gets the index of the input whose name is matching the net.
- Parameters:
-
| net | name of the net an input of this gate is connected to |
- Returns:
- index of that input
Implemented in OneInputGate, and TwoInputGate.
void LogicGate::netNameMismatch |
( |
const LogicUpdate & |
le |
) |
const [inline, protected] |
Net name mismatch.
- Parameters:
-
Send events to fanout, which are the out going neighbors in the circuit graph.
- Parameters:
-
| graph,: | the circuit graph |
| myNode,: | the my node |
| inputEvent,: | the input event |
| type,: | the type |
| msg,: | the logic update |
The documentation for this class was generated from the following file: