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

Struct Decoder2x4

components/decoders.go:7–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5)
6
7type 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
16func NewDecoder2x4() *Decoder2x4 {
17 d := new(Decoder2x4)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected