Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop in replacement? #1

Open
robertgida opened this issue Oct 5, 2024 · 7 comments
Open

drop in replacement? #1

robertgida opened this issue Oct 5, 2024 · 7 comments

Comments

@robertgida
Copy link

Hello,
it seems very interesting. Can you tell me is it possible to make a mos6502 cpu drop in replacement with this core and with a cpld?
I know, there are plenty of real 6502 cpus around, but you know... why not? :)

Br,
Sandor

@andkorzh
Copy link
Owner

andkorzh commented Oct 8, 2024

Hi!
No problem to assemble this project in CPLD. After all the edits and debugging it has spread a bit across resources and takes up 578 CPLD cells. Which is 8 cells more than Alterа EPM570. However, if you optimize it a bit it should fit, or use a more capacious CPLD.

@andkorzh
Copy link
Owner

andkorzh commented Oct 8, 2024

This design was tested in the NES 2A03 core on FPGA. I also tested it with the Klauss Dorman test and the test was passed successfully. I think there will be no problems with CPLD. :)

@andkorzh
Copy link
Owner

andkorzh commented Oct 8, 2024

I optimized the code a bit and now it fits into the Altera EPM570 CPLD. However, I had to give up the SO pin. It is rarely needed in practice and I decided to sacrifice it. The project in Quartus is available in the release.

@robertgida
Copy link
Author

Thanks. I will try to tinkering with it. :)

@robertgida
Copy link
Author

Wow, you really used a shoe spoon to fit in. Total logic elements 570/570, 100% :)

@andkorzh
Copy link
Owner

andkorzh commented Oct 8, 2024

Unfortunately, it couldn't be done without a shoehorn :)). Keep me updated on your adventures with the CPLD 6502.

@robertgida
Copy link
Author

I'll do. As I remember, there is some test pcb around for an other project with 570, just needs some fixing, bodge wiring, etc, but definitely can try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants