If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.
Special Thanks To:
Aaron Holmes
Aaron Wheeler
Adam Horden
Alan Scrimgeour
Andre
Andrew Haynes
Anonymous000
asabase
Austin Weil
barney
Barry
Bert Hickman
Bill Kukowski
Blitzorn
Brandon Paradelas
Bruce Bowling
BubeeMike
Byong Park
Cesiumsponge
Chris F.
Chris Hooper
Corey Worthington
Derek Woodroffe
Dalus
Dan Strother
Daniel Davis
Daniel Uhrenholt
datasheetarchive
Dave Billington
Dave Marshall
David F.
Dennis Rogers
drelectrix
Dr. John Gudenas
Dr. Spark
E.TexasTesla
eastvoltresearch
Eirik Taylor
Erik Dyakov
Erlend^SE
Finn Hammer
Firebug24k
GalliumMan
Gary Peterson
George Slade
GhostNull
Gordon Mcknight
Graham Armitage
Grant
GreySoul
Henry H
IamSmooth
In memory of Leo Powning
Jacob Cash
James Howells
James Pawson
Jeff Greenfield
Jeff Thomas
Jesse Frost
Jim Mitchell
jlr134
Joe Mastroianni
John Forcina
John Oberg
John Willcutt
Jon Newcomb
klugesmith
Leslie Wright
Lutz Hoffman
Mads Barnkob
Martin King
Mats Karlsson
Matt Gibson
Matthew Guidry
mbd
Michael D'Angelo
Mikkel
mileswaldron
mister_rf
Neil Foster
Nick de Smith
Nick Soroka
nicklenorp
Nik
Norman Stanley
Patrick Coleman
Paul Brodie
Paul Jordan
Paul Montgomery
Ped
Peter Krogen
Peter Terren
PhilGood
Richard Feldman
Robert Bush
Royce Bailey
Scott Fusare
Scott Newman
smiffy
Stella
Steven Busic
Steve Conner
Steve Jones
Steve Ward
Sulaiman
Thomas Coyle
Thomas A. Wallace
Thomas W
Timo
Torch
Ulf Jonsson
vasil
Vaxian
vladi mazzilli
wastehl
Weston
William Kim
William N.
William Stehl
Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Registered Member #27
Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
The interface is 11 wires, two control lines, one DDR clock and 8 data bits. The maximum transfer rate from a 60 MHz LPC2119 ARM chip to a Spartan 2E FPGA is 7 MB/s, that is identical to the maximum theoretical transfer rate at 8 bit. Chips with the fast I/O feature should be able to do up to 30 MB/s.
First the address and increment is loaded, after that a transfer can be done at every clock edge. Since the data is transferred at the same time as the clock there is a shift register in the FPGA that generates a delay so the data is not captured until the data is stable. This means that the FPGA must be clocked significantly faster than the bus clock.
Video in WMV format of the FPGA acting as a video generator displaying data from the ARM:
Since the increment can be any value it is very usable for graphics and just a small change is needed to make it draw textured lines.
If anyone can improve on this Verilog code I would be very interested: //
************************************ // CPU <--> FPGA interface (11 lines) // d0-d7 armDataBus // m0-m1 armMode // clk armClock // // mm // 00 write data, increment // 01 read data, increment // 10 load address // 11 load increment //
************************************
Registered Member #27
Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
I am using a card from here: and Xilinx webpack software, it is free but a 3GB download and I used 30 seconds to crash it.
It is part of a series of experiments in an attempt to develop a powerful and useful computer that costs $50 or less. Useful means it would be able to run a webbrowser/MP3 player and at the same time sample/generate signals at 100MHz or more.
Banned on 3/17/2009. Registered Member #487
Joined: Sun Jul 09 2006, 01:22AM
Location:
Posts: 617
Whoa that sounds pretty tough. Use a Basic Stamp 2. lol I use the webpack a little too but I only fiddle with the schematic based designs for now. I'm pretty much a noob.
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
That looks pretty cool, Bjoern, as does your $50 computer project! I'd love to make some sort of intelligent comment, but I know next to nothing about FPGAs and HDLs.
Did you ever check out the XScale processors? I started using the PXA270 at work, and I've been amazed by how much they will do. They are basically ARMs with loads of nice on-chip peripherals, including a LCD controller that can drive a SVGA monitor, and a clock speed variable between 100 and 500MHz.
Registered Member #72
Joined: Thu Feb 09 2006, 08:29AM
Location: UK St. Albans
Posts: 1659
We've just started a project at work which needs a bit of fast DSP tightly coupled to a modest control processor. We've bought a Xilinx Spartan 3 1600E software dev board for IIRC $299, which comes with a 32 bit soft processor core IP and the license to sell stuff built with it, C compiler, IDE if you like that sort of thing, etc etc. The Spartan is their cheap range, we're talking a $10 chip with a 200MHz clock, with a fair bit of logic (15% going on the processor core), multipliers and dual port RAMs. Most of the big pinout packages are BGA, but they do a 100 pin thin quad flat pack. The CPU can be parameterised, choose to implement an IEEE FPU or not, loosely (general purpose 32 bit port) or tightly (FIFOs coupled into the data address generators) couple your own custom IP into the processor. The standard board clocks the CPU at 50MHz, but it should build quicker than that (but not the full 200MHz of the DSP).
If you want a processor and FPGA, then you could do a lot worse than put them in the same cheap chip. I think Altera do something similar.
They also do a "Pico" core, which fits in a 1k memory, and is perhaps more use for implementing a PIC assembly like task.
Registered Member #27
Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
I have considered keeping everything in the FPGA. Performance is a slight problem, but the main problem is that complex FPGA projects soon stops being fun. The Xilinx software is rather like working blindfolded.
The reason for the fun requirement is that when it stops being fun such projects soon gets abandoned.
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
Yes, good point about the BGA, the latest invention to discourage home building :( We're currently buying our PXA270s already soldered to a small board that fits in a SODIMM socket. The board also has 64MB of SRAM, 32MB flash (both in BGAs too!) and a tiny DC-DC converter.
At my last workplace, we had no way to handle BGAs and didn't want to buy ready-made daughterboards, so I ended up using fairly low-end chips...
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.