summaryrefslogtreecommitdiff
path: root/adder.lg
blob: a88308162cbb257e3de5df5fd855ede877141aed (plain)
1
2
3
4
5
6
7
8
9
module adder

node input a
node input b
node output r0
node output r1

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