MCPcopy 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
587func (c *CPU) clearMainBus() {
588 for i := 0; i < arch.BUS_WIDTH; i++ {
589 c.mainBus.SetInputWire(i, false)
590 }
591}
592
593func (c *CPU) updateStates() {
594 // IAR

Callers 2

SetIARMethod · 0.95
stepMethod · 0.95

Calls 1

SetInputWireMethod · 0.65

Tested by

no test coverage detected