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

Function NewNOTer

components/components.go:215–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

213}
214
215func NewNOTer() *NOTer {
216 n := new(NOTer)
217
218 for i, _ := range n.gates {
219 n.gates[i] = *circuit.NewNOTGate()
220 }
221
222 return n
223}
224
225func (n *NOTer) ConnectOutput(b Component) {
226 n.next = b

Callers 2

NewALUFunction · 0.92
TestNOTerFunction · 0.85

Calls 1

NewNOTGateFunction · 0.92

Tested by 1

TestNOTerFunction · 0.68