aboutsummaryrefslogtreecommitdiff
path: root/GateAnd.h
diff options
context:
space:
mode:
Diffstat (limited to 'GateAnd.h')
-rw-r--r--GateAnd.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/GateAnd.h b/GateAnd.h
index a8cc3d0..639a93b 100644
--- a/GateAnd.h
+++ b/GateAnd.h
@@ -9,10 +9,14 @@ public:
~GateAnd() = default;
virtual GateAnd * clone() const;
-private:
+protected:
SignalLevel level();
+ int min_inputs = 0;
+ int max_inputs = -1;
GateAnd(const char * type);
+
+private:
constexpr static const char * type = "and";
static GateAnd instance;
};