aboutsummaryrefslogtreecommitdiff
path: root/GateAnd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'GateAnd.cpp')
-rw-r--r--GateAnd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/GateAnd.cpp b/GateAnd.cpp
index 6f19d61..93edacb 100644
--- a/GateAnd.cpp
+++ b/GateAnd.cpp
@@ -4,7 +4,7 @@ GateAnd GateAnd::instance(GateAnd::type);
GateAnd::GateAnd(const char * type) : Node(type) { }
-void GateAnd::compare() {
+void GateAnd::sim() {
SignalLevel new_out = HIGH;
// TODO: fix segfault somewhere below
for (int i = 0; i < this->inputs.size(); i++){