Hi
I have been wondering what 6502 core is the fastest? E.g. with respect to the number of instructions per second? Are there any that can do or exceed 1 instruction per cycle?
Fastest 6502 core around?
- barrym95838
- Posts: 2056
- Joined: 30 Jun 2013
- Location: Sacramento, CA, USA
Re: Fastest 6502 core around?
John Kortink (Windfall) got his core to at least 420 effective MHz (on a 200 MHz clock) with premium hardware here, which seems to be slightly less than one instruction per cycle on average. I'm reasonably sure that Arlet's core is the lightest around here, but that's a different measure. In the linked thread, John reported Arlet's core at 230 MHz (on similar premium hardware) with "authentic" cycle-per-instruction behavior.
Got a kilobyte lying fallow in your 65xx's memory map? Sprinkle some VTL02C on it and see how it grows on you!
Mike B. (about me) (learning how to github)
Mike B. (about me) (learning how to github)
Re: Fastest 6502 core around?
I am not sure what the term effective MHz means, but it looks like he managed 1 cycle per instruction for some of the opcodes.
Has anyone tried more that 1 instruction per cycle?
Has anyone tried more that 1 instruction per cycle?
- barrym95838
- Posts: 2056
- Joined: 30 Jun 2013
- Location: Sacramento, CA, USA
Re: Fastest 6502 core around?
kakemoms wrote:
I am not sure what the term effective MHz means ...
Got a kilobyte lying fallow in your 65xx's memory map? Sprinkle some VTL02C on it and see how it grows on you!
Mike B. (about me) (learning how to github)
Mike B. (about me) (learning how to github)
Re: Fastest 6502 core around?
That's my understanding too.
As noted, then, John managed single-cycle for a lot of instructions, but not for all. And the large amount of machinery used brought down the clock speed from a small lightweight core, namely Arlet's. That's not too surprising. The large complex core was still a net win though, for overall performance.
I suspect this core of John's is the best yet, for instructions per clock. It might be best yet for absolute performance, on the particular FPGA he has, for a hardware implementation. (The nature of modern commodity CPUs is such that an emulated 6502 can be faster still. Of course that's on custom silicon with a very complex implementation.)
It would be interesting to see another attempt at a high-performance 6502, of course.
As noted, then, John managed single-cycle for a lot of instructions, but not for all. And the large amount of machinery used brought down the clock speed from a small lightweight core, namely Arlet's. That's not too surprising. The large complex core was still a net win though, for overall performance.
I suspect this core of John's is the best yet, for instructions per clock. It might be best yet for absolute performance, on the particular FPGA he has, for a hardware implementation. (The nature of modern commodity CPUs is such that an emulated 6502 can be faster still. Of course that's on custom silicon with a very complex implementation.)
It would be interesting to see another attempt at a high-performance 6502, of course.
Re: Fastest 6502 core around?
kakemoms wrote:
I am not sure what the term effective MHz means, but it looks like he managed 1 cycle per instruction for some of the opcodes.
Has anyone tried more that 1 instruction per cycle?
Has anyone tried more that 1 instruction per cycle?
Not yet, I think. I may do it some day if no one else does. It seems like both an interesting and nightmarish exercise.