summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-12-28 16:30:11 +1300
committerDavid Phillips <david@sighup.nz>2017-12-28 16:30:11 +1300
commitb12b8c9cb7a4d36fa6c0e2e9ec14ce5dfba6f78f (patch)
treeb1a9ed4d11eed81d31e5409dce9eb784a1bfc826 /parser.c
parentdbea592a9c757dde2d5df7aa3dc9631589a12ca8 (diff)
downloadhence-b12b8c9cb7a4d36fa6c0e2e9ec14ce5dfba6f78f.tar.xz
Support first working prototype without nested gates
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/parser.c b/parser.c
index 19610b9..a34744a 100644
--- a/parser.c
+++ b/parser.c
@@ -187,6 +187,15 @@ int main(void) {
}
gate_dump();
+ gate_set_input("a", LOGIC_LOW);
+ gate_set_input("b", LOGIC_LOW);
+
+ gate_update();
+
+ gate_dump();
+
+
+
return 0;
}