Preferences

qwerty456127 parent
How about an FPGA dev board that's cheap, simple (or not really), supported by OSS toolchain and can emulate a RISC-V SoC with performance sufficient to run a fully-functional Linux desktop?

I once stumbled upon an article where somebody FPGA-ed (with a much bigger board, I don't insist it has to be this small and simple) a RISC-V system to make a "RISC-V PC" and I'm thinking about getting an FPGA to explore that since then.


"Linux on LiteX-Vexriscv" [1] is a fun way to get started. The readme includes a table of supported boards, as well as the amount of memory and maximum tested clock frequency.

I played with it on an OrangeCrab [2], and was shocked by how easy it was to get it running and by how well it worked despite the slow clock. The FPGA design includes peripherals for GPIO, PWM, serial interfaces, etc., and the kernel includes drivers to talk to them. On the OrangeCrab, everything I thought to try pretty much just worked as expected.

That being said, this is mostly just a fun exercise in SoC building, and isn't going to give you PC-like performance. VexRiscv is small and fast and super configurable, but you're still looking at "high-end microcontroller" rather than "low-end application processor" levels of performance.

[1] https://github.com/litex-hub/linux-on-litex-vexriscv

[2] https://1bitsquared.com/products/orangecrab

I'm not sure if there really are any affordable FPGAs that are capable of running a RISC-V core with anything even approaching desktop performance. You'd likely struggle to get even original gen 1 Raspberry Pi performance out of anything in the sub-$100 range. I'm far from an expert on FPGAs though and have only dabbled, so if anybody knows differently I'd love to hear it.
rcxdude
Unlikely to be availible. FPGAs are orders of magnitude slower and more expensive than the equivilent hard silicon. You can get the performance at a much higher price (high $100s to low $1000s) or much less performance (maybe you can run linux but it won't be a desktop) for the price.
ncmncm
Crowd Supply has quite a selection of often astonishingly cheap FPGA prototype boards supported by all Free toolchains.

The mother lode of cheap, capable FPGAs seems to be supply chains for makers of TVs.

Is the reason for this that smart TVs need to be able to add real-time video codecs (actually, just the decoders) on a shorter lead time than is possible with ASICs? TVs generally strike me as things where economies of scale make FPGAs look less attractive. Though, I clearly don't know much about the industry.
ncmncm
My interpretation is that they expect to need to add decoders as firmware upgrades after the product ships. It is awkward to have a warehouse full of TVs no one will buy because they don't handle somebody's new AV1 streaming format.

I bet most don't plan to let customers upgrade that way, instead of buying a new TV. I expect they will sell the same hardware with a different model number and just new firmware. They like changing model numbers frequently anyway to frustrate reviewers and people consulting them.

Not extremely cheap, but the ULX3S fits the bill. It's got the inputs and outputs and all.
MobiusHorizons
It has only 32meg of ram though, so that would likely limit you to terminal linux.
qwerty456127 OP
Thanks!

This item has no comments currently.