by jhallenworld · 9y ago · 0 comments
http://www.latticesemi.com/Products/DevelopmentBoardsAndKits...
And that's pretty much it- Lattice includes "Reveal" a logic analyzer which can run on the FPGA in their tools. It's intended to debug designs, but there is nothing stopping you from capturing data from pins. Pretty sure it would capture signals up to ~200 MHz.
http://media.latticesemi.com/~/media/LatticeSemi/Images/Prod...
(it would be a lot better if it had a superspeed USB connection- they should make a version with Cypress FX3)
When your entire chip is programmable-logic, you don't have much room for RAM. The MachXo3LF-6900 has a grand total of 240 kBITs, or 30kBytes of storage.
In contrast, the STM32F746G will get you 320kBYTES of storage, 10x the capacity.
At 75MHz and 1-bit per cycle, that's still only 35ms of storage. Furthermore, it'd be a lot easier to program a Microcontroller to compress the data as its reading it, rather than use the FPGA.
The Microcontroller will still get you the Ethernet and USB connections too.
--------
I think this is a job for a microcontroller, not an FPGA. FPGAs are nice and flexible of course, but Microcontrollers offer you far more performance if you're going to use the specific features.
The STM32F746G has GPIO -> DMA directly to its RAM, while the CPU can compress 1/2 of the signal and send it out while the GPIO pins are simultaneously working. That's... pretty good. I have doubts that a cheap FPGA can accomplish all that at the same speed.
http://www.eevblog.com/forum/testgear/saleae-logic-pro-8-qui...
I believe the FPGA is often being used for converting fewer high speed inputs, to a greater number of lower speed outputs for the GPIO of the FX3, I think that's called SerDes (please correct me if I'm using that phrase incorrectly).
A cheap FPGA can probably do that at 5x the speed. Parallel operations like these are specifically what they're build for.
Again, you're looking at ~320kBytes on the $25 STM32 microcontroller board, against ~30kBytes on the $25 FPGA board. With 1/10th the RAM, the FPGA will store far less useful data.
The typical Oscilloscope is like 100MHz. Getting a cheap 75MHz logic analyzer is perfectly acceptable. Storing and processing all that data (ie: outputting it to an Ethernet port) start to become the main issues once the speed issue is solved.
In my experience, those small FPGAs run out of room rather quickly too. Throw down something as simple as a Wallace tree multiplier and suddenly half your LUTs are eaten up.
And yes, USB3.0 Cypress FX3 is in our short list.
Plus the newer units can also have 1 or more analog channels.
While having a live view of the data would be nice, I've found that 99% of my work with the Logic doesn't really need it.