Ah, I see you already said that you tried the smallest. Never mind.
6502-Core Comparisons: Fitting a Xilinx Spartan 2 XC2S200
BigEd wrote:
In more concrete news, I tried to fit Arlet's core (the smallest) to CoolrunnerII, and it failed to fit the largest CPLD: 577 macrocells needed versus 512 available. Not missing by an enormous margin, but missing.
Ah, I see you already said that you tried the smallest. Never mind.
-
ElEctric_EyE
- Posts: 3260
- Joined: 02 Mar 2009
- Location: OH, USA
Just checked - looks like the largest CPLDs are very expensive (£40, and that's only 384 macrocells). So if the advantage is the 5v tolerance, it would have to be very important. (Smaller CPLDs are a different matter, but for a super fast 6502 part it seems to me that a small Spartan 3AN at £7 makes more sense.)
I see Oleg Odintsov has posted a new core:
http://opencores.org/project,ag_6502
It's unusual in being phase accurate, a relatively compact implementation but coded in some High level source compiled to verilog.
http://opencores.org/project,ag_6502
It's unusual in being phase accurate, a relatively compact implementation but coded in some High level source compiled to verilog.
Also Ian Chapman posted a core back in late 2010
http://opencores.org/project,lattice6502
which is not intended to be cycle accurate but to take fewest clock cycles per instruction.
From the source:
---- I will make it run as fast as I can. Timing not per a real 6502.
---- Lattice EBI has clocked address inputs, so as not to add a cycle
---- 6502 address outputs are not latched. The data output of the EBI ROM and
---- RAM is not clocked.
---- To maintain speed the 6502 address to ROM/RAM is not clocked and the data
---- returned is not clocked by ROM/RAM. Structures of form address <= address + "1";
---- cause a race condition. I had to store the address from the mux for
---- INC type instructions ie read then write.
http://opencores.org/project,lattice6502
which is not intended to be cycle accurate but to take fewest clock cycles per instruction.
From the source:
---- I will make it run as fast as I can. Timing not per a real 6502.
---- Lattice EBI has clocked address inputs, so as not to add a cycle
---- 6502 address outputs are not latched. The data output of the EBI ROM and
---- RAM is not clocked.
---- To maintain speed the 6502 address to ROM/RAM is not clocked and the data
---- returned is not clocked by ROM/RAM. Structures of form address <= address + "1";
---- cause a race condition. I had to store the address from the mux for
---- INC type instructions ie read then write.
Re: 6502-Core Comparisons: Fitting a Xilinx Spartan 2 XC2S20
I think you finally may add the 65k core to the list of available cores 
http://www.6502.org/users/andre/65k/index.html
André
http://www.6502.org/users/andre/65k/index.html
André
Author of the GeckOS multitasking operating system, the usb65 stack, designer of the Micro-PET and many more 6502 content: http://6502.org/users/andre/
-
ElEctric_EyE
- Posts: 3260
- Joined: 02 Mar 2009
- Location: OH, USA
Re: 6502-Core Comparisons: Fitting a Xilinx Spartan 2 XC2S20
So it is a fully functional 6502 core as well? I can add it in a couple days. Thanks!
Re: 6502-Core Comparisons: Fitting a Xilinx Spartan 2 XC2S20
ElEctric_EyE wrote:
So it is a fully functional 6502 core as well? I can add it in a couple days. Thanks!
Still kind of alpha though.
André
Author of the GeckOS multitasking operating system, the usb65 stack, designer of the Micro-PET and many more 6502 content: http://6502.org/users/andre/
-
Oleg Odintsov
- Posts: 2
- Joined: 11 Jun 2012
- Location: Moscow
Re:
BigEd wrote:
I see Oleg Odintsov has posted a new core:
http://opencores.org/project,ag_6502
It's unusual in being phase accurate, a relatively compact implementation but coded in some High level source compiled to verilog.
http://opencores.org/project,ag_6502
It's unusual in being phase accurate, a relatively compact implementation but coded in some High level source compiled to verilog.
Latest version of the core stably works at 10 MHz (using 50 MHz clock source for phase shift and delays). I was trying to increase it's speed by using DCM to multiply clock source to 200 MHz thus enabling to increase cpu speed to 40 MHz, but it doesn't works in my Spartan 3E (even if I was using 1 MHz clock source with 200 MHz phase shift). Did anybody happened to do this on Spartan family of FPGA?
Re: 6502-Core Comparisons: Fitting a Xilinx Spartan 2 XC2S20
Welcome Oleg!
I can't answer your question, but I'm sure someone can.
This is presumably your system: http://www.youtube.com/watch?v=rOFKD8A-syU
Cheers
Ed
I can't answer your question, but I'm sure someone can.
This is presumably your system: http://www.youtube.com/watch?v=rOFKD8A-syU
Cheers
Ed
-
Oleg Odintsov
- Posts: 2
- Joined: 11 Jun 2012
- Location: Moscow
Re: 6502-Core Comparisons: Fitting a Xilinx Spartan 2 XC2S20
BigEd wrote:
Welcome Oleg!
This is presumably your system: http://www.youtube.com/watch?v=rOFKD8A-syU
This is presumably your system: http://www.youtube.com/watch?v=rOFKD8A-syU
-
ElEctric_EyE
- Posts: 3260
- Joined: 02 Mar 2009
- Location: OH, USA
Re: 6502-Core Comparisons: Fitting a Xilinx Spartan 2 XC2S20
Oleg, welcome to the Forum!
Another one bitten by the 6502 'speed bug'
Another one bitten by the 6502 'speed bug'
-
ElEctric_EyE
- Posts: 3260
- Joined: 02 Mar 2009
- Location: OH, USA
Re: 6502-Core Comparisons: Fitting a Xilinx Spartan 2 XC2S20
Rob Finch has a new website. I will update the link in the original post.... Thanks for Dr. Jeff alerting me. I see Rob has contributed to 6502.org's sister site. Welcome back!
I'm thinking of re-doing this thread but doing the comparisons around a Spartan 6 device, since we have some new additions like Oleg and MichaelM's softcore. I know I've said it before, but tomorrow I will start on the new thread, with pics as attachments. Hopefully 6502.org Admin will not have a problem with this. The service Photobucket, which I used to use has changed too much to be useful.
I'm thinking of re-doing this thread but doing the comparisons around a Spartan 6 device, since we have some new additions like Oleg and MichaelM's softcore. I know I've said it before, but tomorrow I will start on the new thread, with pics as attachments. Hopefully 6502.org Admin will not have a problem with this. The service Photobucket, which I used to use has changed too much to be useful.
-
ElEctric_EyE
- Posts: 3260
- Joined: 02 Mar 2009
- Location: OH, USA
Re: 6502-Core Comparisons: Fitting a Xilinx Spartan 2 XC2S20
Also, Mike J. has a recent update on his fpgaarcade site just this month, after almost a year delay.