diff options
author | David Phillips <david@sighup.nz> | 2017-12-28 16:43:29 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-12-28 16:43:29 +1300 |
commit | fb0483e872931d3a75e45be63be2169a6f07b835 (patch) | |
tree | 723e5e71eb9f3959a1928bcac5c09b0764aa3bbb | |
parent | b12b8c9cb7a4d36fa6c0e2e9ec14ce5dfba6f78f (diff) | |
download | hence-fb0483e872931d3a75e45be63be2169a6f07b835.tar.xz |
Rename adder sample, add gates sample
-rw-r--r-- | sample/adder.hence (renamed from adder.lg) | 0 | ||||
-rw-r--r-- | sample/gates.hence | 12 |
2 files changed, 12 insertions, 0 deletions
diff --git a/adder.lg b/sample/adder.hence index f751a3b..f751a3b 100644 --- a/adder.lg +++ b/sample/adder.hence diff --git a/sample/gates.hence b/sample/gates.hence new file mode 100644 index 0000000..6cd6aae --- /dev/null +++ b/sample/gates.hence @@ -0,0 +1,12 @@ +module gates + +input a +input b + +expr and: and a b +expr or: or a b +expr nand: nand a b +expr nor: nor a b +expr xor: xor a b +expr nota: not a +expr notb: not b |