It sounds like there is an unclocked path from
writeM to
inM. This is probably through Memory.hdl. Is
writeM used in any way to control the output from the RAMs, Screen or Keyboard? It should not be involved with the output side of Memory.
If you want, feel free to email me your CPU, Memory and Computer HDL files and I'll let you know what I see.
--Mark