Thanks for replying admin, I've tested most of the circuits individually and found another problem, the RAM doesn't write. I think it must be because of the fact that it writes on the rising edge of the clock while all my other components write when the clock is high. Oscillation error still occurs, I've included the logic circuit
and you have to do the following for the error:
1. Set RAM values as:
Address Value
000 Random(not zero)
001 Random(not zero)
002 Random(not zero)
100 01
101 12
102 2E
2. Press the RSET button
3. Keeping turning the CLK button on and off
It will throw an oscillation error after about 40 clicks.
I am new to electronics and still in high school, as they don't happen to give electronics courses so I learn by myself.
Also, it would also be great if you can help with the RAM. I want it to write when clock is high instead of it rising from 0 to 1. I think that is what most RAM chips do.
Almost forgot to say, you've made a great piece of code! Keep up the good work Eugene.