Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ clearMainBus
Method
clearMainBus
cpu/cpu.go:587–591 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
585
}
586
587
func
(c *CPU) clearMainBus() {
588
for
i := 0; i < arch.BUS_WIDTH; i++ {
589
c.mainBus.SetInputWire(i, false)
590
}
591
}
592
593
func
(c *CPU) updateStates() {
594
// IAR
Callers
2
SetIAR
Method · 0.95
step
Method · 0.95
Calls
1
SetInputWire
Method · 0.65
Tested by
no test coverage detected