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

Method SetInputWire

components/components.go:11–11  ·  view source on GitHub ↗
(int, bool)

Source from the content-addressed store, hash-verified

9type Component interface {
10 ConnectOutput(Component)
11 SetInputWire(int, bool)
12 GetOutputWire(int) bool
13}
14

Callers 15

UpdateMethod · 0.65
UpdateMethod · 0.65
UpdateMethod · 0.65
UpdateMethod · 0.65
UpdateMethod · 0.65
TestWordFunction · 0.65
TestWordWithSetOnFunction · 0.65
setBusFunction · 0.65
UpdateMethod · 0.65
TestEnablerFunction · 0.65
TestEnablerWithEnableOnFunction · 0.65
setWireOnComponent32Function · 0.65

Implementers 14

Wordcomponents/storage.go
Buscomponents/bus.go
Enablercomponents/components.go
LeftShiftercomponents/components.go
RightShiftercomponents/components.go
IsZerocomponents/components.go
NOTercomponents/components.go
ANDercomponents/components.go
ORercomponents/components.go
XORercomponents/components.go
Comparatorcomponents/components.go
BusOnecomponents/components.go

Calls

no outgoing calls

Tested by 8

TestWordFunction · 0.52
TestWordWithSetOnFunction · 0.52
setBusFunction · 0.52
UpdateMethod · 0.52
TestEnablerFunction · 0.52
TestEnablerWithEnableOnFunction · 0.52
setWireOnComponent32Function · 0.52
setWireOnComponent16Function · 0.52