| 5 | ) |
| 6 | |
| 7 | type Decoder2x4 struct { |
| 8 | inputA circuit.Wire |
| 9 | inputB circuit.Wire |
| 10 | |
| 11 | notGates [2]circuit.NOTGate |
| 12 | andGates [4]circuit.ANDGate |
| 13 | outputs [4]circuit.Wire |
| 14 | } |
| 15 | |
| 16 | func NewDecoder2x4() *Decoder2x4 { |
| 17 | d := new(Decoder2x4) |
nothing calls this directly
no outgoing calls
no test coverage detected