News for hackers. Stuff that matters.
Re:FPGA meets 6502 by tails4e on Thursday December 20, 2018 @01:24AM (#18722896)
This is a very good and detailed intro into the basics of FPGA debugging, or specifically in this case using the FPGA to stimulate and monitor an external device.

Using the ILA core would allow you to monitor the outputs in real time and draw a waveform which may be more useful for advanced tests. Some additional ideas could be:

1) loading a BRAM with some vectors and then playing them automatically at higher speed and monitoring the result.

2) similar to the above but driving vectors from a soft processor such as microblaze for more automated debug/stimulus

I was going to suggest hardware in the loop simulation, which used to allow a simulator to stimulate and monitor hardware - but it appears this now supports only system-generator and HLS use cases, and the generic RTL use case is deprecated.

Re:FPGA meets 6502 by wingi on Thursday December 20, 2018 @06:18AM (#18723974)
You know the FPGA box, who is able to run C64, Amiga and atariST based on FPGA? https://github.com/mist-devel/mist-board/wiki
Re:FPGA meets 6502 by blue1 on Thursday December 20, 2018 @08:59AM (#18724893)
Re:FPGA meets 6502 by rijoja on Thursday December 20, 2018 @04:19AM (#18723495)
So running a 6502 on an Artix-7 or W65C02S, is this more or less the most you can get out of it. That is does it max out the available logical units on the respective chips? Also do you get a 1:1 speed, when it comes to frequency etc?
Re:FPGA meets 6502 by tyingq on Thursday December 20, 2018 @09:40AM (#18725233)
"Artix 7" is a family of devices. The "Arty A7" he's using comes in 2 choices...the A7-35T for $119, or the A7-100T for $249. The picture seems to show the A7-35T.

The MEGA65 runs on the A200T variant of the Artix-7, and claims to be 50x faster than a Commodore64. Also, you can find a few different 32-bit soft cores booting linux on Artix-7 FPGAs.

(Though, as mentioned, the article is not about emulating a 6502 on an FPGA)

Re:FPGA meets 6502 by beefok on Thursday December 20, 2018 @08:54AM (#18724863)
No, the Artix-7 is a bottomless pit of LUTs, DSPs, and BRAMs. You could probably fit a ton of 6502's in it.
Re:FPGA meets 6502 by jbb67 on Thursday December 20, 2018 @08:10AM (#18724571)
This isn't simulating a 6502, this is how to connect and test a "real" one to your FPGA
Re:FPGA meets 6502 by sehugg on Thursday December 20, 2018 @11:29AM (#18726272)
I would guess that even on the most inexpensive FPGA (iCE40 for example) you could run a 6502 at at least 20 MHz, and fit some display logic on there as well.