Close

CPLD bank register

A project log for PZ1 6502 laptop

I am building a laptop with a W65C02, lots of memory, SID-sound, decent graphics and a filesystem.

adamklotblixtadam.klotblixt 11/18/2023 at 15:020 Comments

I've FINALLY done a proper ATF1504 implementation and programmed it via JTAG. WinCupl is a beast to use and it took some time to connect all the needed HW and SW tools to be able to program the chip. Bigby has a great blog about the subject at https://www.hackup.net/2020/01/erasing-and-programming-the-atf1504-cpld/

The implementation copies the functionality of the two 74HC670 I've used before: four 8-bit bank registers. Since the ATF1504 is much faster than 74HC-logic, the memory cycle could be shorter. This is not a final solution, all the other glue logic should also reside in a CPLD. The 44 pin chip I use does not have enough GPIO for this though, I'd need an 80- or 100-pin chip to get EVERYTHING inside. It is really nice to be able to test each function this way though.

For some reason, I can't upload a pic of the setup, but that's life sometimes.

Discussions