barrym95838 wrote:
plasmo wrote:
I don't see anything wrong specifically, but AC or ACT components are dangerous; too fast, too noisy. 15nS RAM is also bad news.
Kinda like installing a big V-8 in a go-cart? Doable, but likely to cause problems, some obvious and others not so obvious ...
Unfortunately, the 65C816 requires an AC chip for at least the bank address latching as well as the associated logic, as the timing margin is pretty thin (10ns to latch after rising edge of clock).
rehsd wrote:
I have tried the circuit with all HC / HCT. Is that a better way to go?
Also, what should I look for in RAM?
Thank you!
Having as less as possible AC/ACT chips on a breadboard is the way to go. On a PCB I would say it is fine if you have proper signal return paths / ground planes. Can you share screenshots of your PCB routing?
For the RAM, go with a slow, 55ns one before attempting to increase the speed. This goes for all the components, if they don't have a reason to be fast, go with slow chips, as they will be easier to manage for a start. Once you have a working slow build, then you can try to increase speed.
Your GAL can also be an issue with fast edges. Which model are you using? Can you also share how you're programming it and with which equations?
banedon wrote:
- Put VDA and VPA through an OR gate - either a specific OR gate IC or within a GAL/CPLD - and use that as a part of the enable for all of the address decoding. Without this you're going to have some really random stuff happen and it might be the main cause of your issue.
Having VDA, VPA be a part of the address decoding works but I would argue it is better to incorporate it into the read-write pulses. This way the address decoding is a fully static look-up, and you can more easily do DMA. Either way, I agree that they need to appear in the logic. I just released an episode on that subject yesterday, coincidentally!