General • Asked 2 months ago by Eduardo
I am trying to build an 8-bit CPU with a 5-bit opcode, but sometimes when it tries to execute an instruction, usually the ones that have to write to memory, instead of bringing the R/W line high, it gets stuck in an infinite loop between the intended result and null until the next clock cycle. I have no idea why this happens.
Here's the link.
To recreate it, go to the CPU subcircuit, put 9 into the DI input, and pulse the clock input a few times.
I tried to recreate this issue, but was unable to. Can you take a look at https://imgur.com/a/RkqmsMn and let me know if I am doing it right?