Twiddling with FPGAs

trm

Who loves you, and who do you love?
Feedback
2 (100%)
Credits
2,877CR
Quick starter post for now as I'm late, but do we have any members who have twiddled with FPGAs? I've got a Spartan 3e dev board and am finally hoping to restart work on it so was wondering if we have any people on here whose brains I could eat, err, pick?
 

Macro

Active member
vacBacker
Feedback
4 (100%)
Credits
2,009CR
I'm still waiting for this one ...

http://www.fpgaarcade.com/

but possibly got the first project to do on it already! (or on an FPGA or maybe a PIC or ... who knows until I design it!)

may be prototyped on that, and then done as a little board all on it's ownsome.
 

Adrian Purser

Moderator
Staff member
vacBacker
Feedback
2 (100%)
Credits
213CR
We use alteras at work so if you need any info on them I may be able to help but we don't use any xilinx so I don't know anything about spartan.

My most recent project has been using Altera cyclone2. We use Nios2 which is a soft cpu and we have 2 graphics controllers driving 2 TVs at 768x576 (upto 1024x576) and 2 video capture inputs driven by SAA7118 scaler chips. All this runs quite happily in a cyclone 2. There are some fairly cheap cyclone2/cyclone3 and maybe cyclone4 dev boards available and there is a free(ish) version of their software available. Unfortunately they use eclipse as an IDE but the rest of the software looks pretty cool.

The beagleboard uses a TI omap arm CPU (with a built in DSP I think). It also has PowerVR 3D with support for OpenGLES2. There isn't an FPGA on there. This chip is mainly used in phones, specifically Nokia. The first few revisions of the beagleboard were a bit ropey. I have the EBV beagleboard which seems much better. If you want network, mouse and keyboard then you need to attach a usb hub. There is a newer board out now called the hawkboard which has the network built in but it only has VGA instead of the DVI that the beagleboard has. I think farnell sell the hawkboard for about £73.
 

guddler

Busting vectors like it's 1982!
vacBacker
Feedback
10 (100%)
Credits
4,058CR
Ah, right. I got that completely wrong then
smiley1.gif
I mentioned that Beagleboard as I saw one running as a RiscPC on RiscOS 6 (i think) the other weekend at the VCF. All rather nice but one of those things that I'm not sure there's really much practical use for it. If the board had a native disc controller then I could see a use for it, for integrating into an 8 bit and 32bit Acorn environment (BBC's & Archimedes) but without real floppy support I'm not sure I see any point.

I've just remembered what I was thinking of. I also, at that show was given an unpopulated Minimig PCB which IS a spartan FPGA based implementation of an Amiga. Very nice. For a brief moment I considered populating the PCB but then thought "Why???"
smiley36.gif
 

Macro

Active member
vacBacker
Feedback
4 (100%)
Credits
2,009CR
got any old FPGA dev boards kicking around, this project should not need too much power, will need some memory though to store the 'image' depending on how I decide to do it. (plug compatible or hacked in ... of which hacked in is probably easiest!)
 

Adrian Purser

Moderator
Staff member
vacBacker
Feedback
2 (100%)
Credits
213CR
I don't have any dev boards but I do have one of our Altera based graphics cards I could let you have. It has an Altera Cyclone 2, 64MB DDR2, SD Card, 2xSAA7118 Scaler Chips (wired to accept composite video in) and 2 Video DACS for driving 2 RGB TV outputs. There's not much in the way of IO. It has an edge connector which is used to connect to an ISA bus via some 3.3V->5V buffers.
 

Macro

Active member
vacBacker
Feedback
4 (100%)
Credits
2,009CR
It will need some IO, but depending upon what approach I take, it may only need 5, and since it needs to output to a screen of some form, the DACs sound like they could be useful.

Let me get a little further in my thought processes and I'll let you know!
 

trm

Who loves you, and who do you love?
Feedback
2 (100%)
Credits
2,877CR
I've actually got the Xilinx Spartan 3A FPGA Starter Kit, not the 3E. It's pretty nice and has a good video DAC, not restricted to 1 or 2-bit colour, has a couple of on-board controls (rotational and positional pots), double line LCD as well as a huge amount of IO. I'd have to go back and check the specs (not had time to play for some months) to find the detailed spec, but it's got a DDR2 memory controller (with some RAM) as well as Ethernet, USB, audio, PS/2, VGA and DSUB9 serial IO.

I've had this for a while along with a couple of books on VHDL but finding time to focus on it has always been a problem. The second problem has been trying to find connectors that will mate to the IO so I can actually hook it up to stuff but I think I finally found the digikey part numbers. The connectors are a bit like the SCA style SCSI connectors.

Recently I've been looking at some of the C to Verilog/VHDL compilers as perhaps an easier way to get into using this so was hoping I'd get some opinions on this. I don't have a development platform installed atm as I loaded the Xilinx supplied evaluation version on my previous Vista build and it made a right mess once it expired so I'm researching hobbyist level development environments.

One concern I had about C to VHDL compilers is whether I'm going to end up learning bad habits and thinking of the FPGA as a fast conventional CPU that executes code line-by-line, instead of an actual programmable logic device that changes state globally, clock tick by tick.

It was FPGA arcade that actually got me into this stuff. I almost managed to get a couple of his projects (the single game 'remakes') to build before the devkit expired but never managed to get a proper upload to the board, so my playing has mainly been limited to tweaking the sample Xilinx demos.
 

Macro

Active member
vacBacker
Feedback
4 (100%)
Credits
2,009CR
Never heard of a C -> VHDL compiler - sounds well odd!

not sure whether I prefer that idea, or just writing it in VHDL in the first place.

although i suppose it's easier than ABL
 

trm

Who loves you, and who do you love?
Feedback
2 (100%)
Credits
2,877CR
There's a bit about them at Wikipedia but I can't find the specific page in my bookmarks that walks through with examples etc

http://en.wikipedia.org/wiki/C_to_HDL

I may give it a go as at least I'll have a better understanding, which might let me figure out whether I'm missing the point in coding in C rather than an HDL.
 
Top