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

Function NewORer

components/components.go:291–299  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

289}
290
291func NewORer() *ORer {
292 o := new(ORer)
293
294 for i, _ := range o.gates {
295 o.gates[i] = *circuit.NewORGate()
296 }
297
298 return o
299}
300
301func (o *ORer) ConnectOutput(b Component) {
302 o.next = b

Callers 3

NewALUFunction · 0.92
NewIsZeroFunction · 0.85
TestORerFunction · 0.85

Calls 1

NewORGateFunction · 0.92

Tested by 1

TestORerFunction · 0.68