MCPcopy Create free account
hub / github.com/djhworld/simple-computer / runSetOnRAM

Method runSetOnRAM

cpu/cpu.go:892–895  ·  view source on GitHub ↗
(state bool)

Source from the content-addressed store, hash-verified

890}
891
892func (c *CPU) runSetOnRAM(state bool) {
893 c.ramSetANDGate.Update(state, c.step5Gates[2].Output())
894 updateSetStatus(c.memory, c.ramSetANDGate.Output())
895}
896
897func (c *CPU) runSetOnTMP(state bool) {
898 c.tmpSetANDGate.Update(state, c.step4Gates[0].Output())

Callers 1

runSetMethod · 0.95

Calls 3

updateSetStatusFunction · 0.85
UpdateMethod · 0.65
OutputMethod · 0.45

Tested by

no test coverage detected