blob: 12dad53c92ec203eb59a7bd08e5a495d9e0e1330 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include "Node.h"
class GateAnd : public Node {
public:
GateAnd() = default;
GateAnd(const GateAnd * prototype);
~GateAnd() = default;
virtual void sim();
virtual GateAnd * clone() const;
private:
GateAnd(const char * type);
constexpr static const char * type = "and";
static GateAnd instance;
};
|