{ // JSON5
v: 6,
opts: {name: 'Full Adder'},
components: {
in0: {type: 'in', pos: [130, 115], id: 5, name: 'A'},
in1: {type: 'in', pos: [130, 185], id: 6, name: 'B'},
in2: {type: 'in', pos: [130, 255], id: 7, name: 'Cin'},
out0: {type: 'out', pos: [600, 125], id: 17, name: 'Sum'},
out1: {type: 'out', pos: [600, 190], id: 0, name: 'Cout'},
xor0: {type: 'xor', pos: [270, 145], in: [1, 2], out: 3},
xor1: {type: 'xor', pos: [385, 155], in: [4, 8], out: 9},
and0: {type: 'and', pos: [385, 235], in: [10, 11], out: 12},
and1: {type: 'and', pos: [385, 310], in: [13, 14], out: 15},
or0: {type: 'or', pos: [500, 270], in: [16, 18], out: 19},
},
wires: [[5, 1], [6, 2], [7, 8], [3, 4], [9, 17], [19, 0], [12, 16], [15, 18], [3, 10], [7, 11], [5, 13], [6, 14]]
}
A
0
B
0
Cin
0
Sum
0
Cout
0