Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ SetInputWire
Method
SetInputWire
components/components.go:349–351 ·
view source on GitHub ↗
(index int, value bool)
Source
from the content-addressed store, hash-verified
347
}
348
349
func
(o *XORer) SetInputWire(index int, value bool) {
350
o.inputs[index].Update(value)
351
}
352
353
func
(o *XORer) Update() {
354
awire := arch.BUS_WIDTH
Callers
1
TestXORer
Function · 0.95
Calls
1
Update
Method · 0.65
Tested by
1
TestXORer
Function · 0.76