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 /sample/adder.hence | |
parent | b12b8c9cb7a4d36fa6c0e2e9ec14ce5dfba6f78f (diff) | |
download | hence-fb0483e872931d3a75e45be63be2169a6f07b835.tar.xz |
Rename adder sample, add gates sample
Diffstat (limited to 'sample/adder.hence')
-rw-r--r-- | sample/adder.hence | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sample/adder.hence b/sample/adder.hence new file mode 100644 index 0000000..f751a3b --- /dev/null +++ b/sample/adder.hence @@ -0,0 +1,7 @@ +module adder + +input a +input b + +expr r0: xor a b +expr r1: and a b |