MCPcopy Create free account
hub / github.com/djhworld/simple-computer / Add2

Struct Add2

components/adder.go:61–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61type Add2 struct {
62 inputA circuit.Wire
63 inputB circuit.Wire
64 carryIn circuit.Wire
65 xor1 circuit.XORGate
66 xor2 circuit.XORGate
67 and1 circuit.ANDGate
68 and2 circuit.ANDGate
69 or1 circuit.ORGate
70 carryOut circuit.Wire
71 sumOut circuit.Wire
72}
73
74func NewAdd2() *Add2 {
75 a := new(Add2)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected