blob: 5e31863bf3af2bd61f95528bdee94865122e18ac (
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);
}
|