aboutsummaryrefslogtreecommitdiff
path: root/GateNand.h
diff options
context:
space:
mode:
Diffstat (limited to 'GateNand.h')
-rw-r--r--GateNand.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/GateNand.h b/GateNand.h
new file mode 100644
index 0000000..7158040
--- /dev/null
+++ b/GateNand.h
@@ -0,0 +1,15 @@
+#pragma once
+
+// #include "Node.h"
+#include "GateAnd.h"
+
+class GateNand : public GateAnd {
+private:
+ SignalLevel level();
+
+ // GateNand(const char * type);
+ using GateAnd::GateAnd;
+ constexpr static const char * type = "nand";
+ static GateNand instance;
+};
+