blob: cb70236ddfbed5ac9acdb823b08d9e200a018be8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "GateNor.h"
GateNor GateNor::instance(GateNor::type);
// GateNor::GateNor(const char * type) : Node(type) { }
SignalLevel GateNor::level() {
SignalLevel lvl = GateOr::level();
if (lvl == LOW) return HIGH;
if (lvl == HIGH) return LOW;
return UNDEFINED;
}
// GateNor::GateNor(const GateNor * prototype) : Node() { }
// GateNor * GateNor::clone() const {
// return new GateNor(this);
// }
|