Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ Output
Method
Output
circuit/gates.go:67–69 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
65
}
66
67
func
(g *ORGate) Output() bool {
68
return
g.output.Get()
69
}
70
71
func
(g *ORGate) Update(inputA, inputB bool) {
72
g.output.Update(!(!inputA && !inputB))
Callers
15
Update
Method · 0.45
updateALU
Method · 0.45
updateInstructionDecoder3x8
Method · 0.45
runStep4Gates
Method · 0.45
runStep5Gates
Method · 0.45
runStep6Gates
Method · 0.45
runEnableOnIO
Method · 0.45
runEnableOnRegisterB
Method · 0.45
runEnableOnRegisterA
Method · 0.45
runEnableOnBusOne
Method · 0.45
runEnableOnACC
Method · 0.45
runEnableOnIAR
Method · 0.45
Calls
1
Get
Method · 0.45
Tested by
no test coverage detected