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

Method SetInputWire

components/components.go:309–311  ·  view source on GitHub ↗
(index int, value bool)

Source from the content-addressed store, hash-verified

307}
308
309func (o *ORer) SetInputWire(index int, value bool) {
310 o.inputs[index].Update(value)
311}
312
313func (o *ORer) Update() {
314 awire := arch.BUS_WIDTH

Callers 1

TestORerFunction · 0.95

Calls 1

UpdateMethod · 0.65

Tested by 1

TestORerFunction · 0.76