MCPcopy Index your code
hub / github.com/djhworld/simple-computer / Component

Interface Component

components/components.go:9–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7)
8
9type Component interface {
10 ConnectOutput(Component)
11 SetInputWire(int, bool)
12 GetOutputWire(int) bool
13}
14
15type Enabler struct {
16 inputs [arch.BUS_WIDTH]circuit.Wire

Callers 21

NewRegisterFunction · 0.65
TestWordFunction · 0.65
TestWordWithSetOnFunction · 0.65
TestEnablerFunction · 0.65
TestEnablerWithEnableOnFunction · 0.65
UpdateMethod · 0.65
UpdateMethod · 0.65
UpdateMethod · 0.65
UpdateMethod · 0.65
UpdateMethod · 0.65
TestWordFunction · 0.65
TestWordWithSetOnFunction · 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

no test coverage detected