| 49 | } |
| 50 | |
| 51 | type Decoder3x8 struct { |
| 52 | inputA circuit.Wire |
| 53 | inputB circuit.Wire |
| 54 | inputC circuit.Wire |
| 55 | |
| 56 | notGates [3]circuit.NOTGate |
| 57 | andGates [8]ANDGate3 |
| 58 | outputs [8]circuit.Wire |
| 59 | } |
| 60 | |
| 61 | func NewDecoder3x8() *Decoder3x8 { |
| 62 | d := new(Decoder3x8) |
nothing calls this directly
no outgoing calls
no test coverage detected