Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ SetInputWire
Method
SetInputWire
components/components.go:269–271 ·
view source on GitHub ↗
(index int, value bool)
Source
from the content-addressed store, hash-verified
267
}
268
269
func
(a *ANDer) SetInputWire(index int, value bool) {
270
a.inputs[index].Update(value)
271
}
272
273
func
(a *ANDer) Update() {
274
awire := arch.BUS_WIDTH
Callers
1
TestANDer
Function · 0.95
Calls
1
Update
Method · 0.65
Tested by
1
TestANDer
Function · 0.76