summaryrefslogtreecommitdiff
path: root/sample/adder.hence
blob: f751a3bdecb1b363b8f03d2ce8dc45f706a64368 (plain)
1
2
3
4
5
6
7
module adder

input a
input b

expr r0: xor a b
expr r1: and a b