News for hackers. Stuff that matters.
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by ChuckMcM on Monday September 23, 2019 @06:55PM (#21054645)
The $75 price point is okay.

Not sure what this is trying to be other than an eval board for 'also rans' in the FPGA and Cortex-M space. One of the reasons I like the Lattice FPGA boards like the Icebreaker[1] is that there is a complete open source tool chain for them. Seems like adding a processor to something like that might be an interesting place.

[1] https://www.crowdsupply.com/1bitsquared/icebreaker-fpga

Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by inamberclad on Monday September 23, 2019 @08:15PM (#21055193)
If you are alright with a softcore, I think a picorv32 will fit on the ice40.
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by kevin_thibedeau on Monday September 23, 2019 @08:20PM (#21055228)
Cyclone outclasses any ICE40 out there. If you need the logic capacity or peripherals your options become constrained. The sad thing is that we had cheap Spartan-3's and Spartan-6's with impressive resources but the vendors didn't want to keep making devices with that sort of bang for the buck.
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by TD-Linux on Monday September 23, 2019 @09:40PM (#21055646)
The open tools also work on ECP5, which goes quite a bit bigger than the Cyclone 10 chip on the Arduino and is also pretty cost effective. In fact it's big enough that you can usually dispense with the separate microcontroller - I built a ulx3s which can boot Linux on the ECP5-85.
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by analognoise on Monday September 23, 2019 @09:42PM (#21055655)
You can still buy Spartan 3 and 6 devices - last I checked they're even still being manufactured.
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by kevin_thibedeau on Monday September 23, 2019 @10:16PM (#21055849)
The tooling is not supported with bug fixes.
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by robert_foss on Tuesday September 24, 2019 @03:36AM (#21057474)
Another strike for Xilinx tooling then. Open source tooling can't come soon enough.
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by lnsru on Tuesday September 24, 2019 @05:31AM (#21058057)
Same open source discussion again. I’ll try to explain short why it will never happen. Since FPGAs have applications outside hobbyist domain, things are getting complicated. There are lawyers involved, support contracts signed and vendors are liable for their silicon. Now imagine some open source toolchain is used and some problems occur. Who’s liable? No single vendor will invest a penny into something maintained by somebody else. No single manager on this world will allow me to use 3rd party tools without vendor’s support for €1M FPGA design. There is no business case for silicon vendor to open source anything. Maybe brave hackers will reverse engineer bitstream generation, but this knowledge will be used only among hackers and their friends. Personally I don’t see any advantage using these tools and writing this in my resume, because nobody will use them in industry anyway.
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by 0xcde4c3db on Tuesday September 24, 2019 @09:22AM (#21059830)
> Maybe brave hackers will reverse engineer bitstream generation

As far as I know, the bitstream for 15K/35K/50K Artix-7 is pretty much done, with Kintex-7 and Zynq devices being WIP [1]. I think there are gaps in support for the various hard blocks and PAR at higher layers of the toolchain, but the bitstream reverse engineering per se isn't a maybe-in-the-future thing.

[1] https://github.com/SymbiFlow/prjxray

Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by nicoburns on Tuesday September 24, 2019 @08:34AM (#21059363)
You could surely have said the same about commercial software libraries 10 years ago.
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by panpanna on Tuesday September 24, 2019 @06:56AM (#21058553)
> There is no business case for silicon vendor to open source anything

There is no good business case for the smaller vendors to develop and maintain a full set of very complex software either.

Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by analognoise on Tuesday September 24, 2019 @04:57AM (#21057894)
Xilinx gives away access to a multi-language license for Vivado, fully capable for all chips under hundreds of dollars, with a built in simulator (again, mixed language!) used by tens of thousands of actual hardware engineers around the world successfully, but they're the bad guys?

And their "unsupported" tool is also used successfully today by rafts of actual hardware engineers, and it's still better than the free alternatives by leaps and bounds.

There are no plucky garage shops or "wise crowds" making FPGA tools that are even in the same galaxy as ISE or Vivado.

Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by ZirconiumX on Wednesday September 25, 2019 @01:14AM (#21067815)
> There are no plucky garage shops or "wise crowds" making FPGA tools that are even in the same galaxy as ISE or Vivado.

Symbiotic EDA comes to mind. However, I would argue they don't need to be great, just good.

I don't have a copy of Vivado to hand (I have an Altera dev board instead), but I can take PicoSoC with Yosys/nextpnr and have a bitstream in about a minute. If I try the same task in Quartus, that takes about five minutes. Producing a (relatively) inefficient bitstream actually speeds up the compile/run cycle in that scenario.

If the design meets timing, which is often decided by external factors, any extra time spend trying to make the design "better" is wasted time.

Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by magicalhippo on Monday September 23, 2019 @06:52PM (#21054620)
That thing came out over a year ago, and the page hasn't been updated in nearly as long. From what I've understood you don't get direct access to the FPGA, rather they've made a few basic peripherals like SPI, UART etc that you can enable.

So it is more like a configurable microcontroller, rather than a fully programmable FPGA, at least that's my understanding.

Which I guess makes sense, given that FPGA programming isn't exactly n00b friendly from what I've gathered.

Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by tnecniv on Monday September 23, 2019 @09:26PM (#21055566)
> Which I guess makes sense, given that FPGA programming isn't exactly n00b friendly from what I've gathered.

It can be OK. The first class most EE students take at my undergrad uni had a significant FPGA component.

Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by tyingq on Tuesday September 24, 2019 @12:53AM (#21056687)
You can program the FPGA, just seems the docs aren't helpful.

https://forum.arduino.cc/index.php?topic=602341.0 (response #5 is useful)

Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by magicalhippo on Tuesday September 24, 2019 @07:16AM (#21058667)
Ah nice. I looked at this board a couple of months ago, and all indications I could find then was that the FPGA was not directly programmable. Good to see that's not the case.
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by achuwilson on Tuesday September 24, 2019 @08:15AM (#21059190)
Check this out also. http://smartaleks.io/?p=260
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by inamberclad on Monday September 23, 2019 @08:18PM (#21055222)
Seeing as there's a SystemVerilog tutorial on the Arduino website, I'm hopeful for more.
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by achuwilson on Tuesday September 24, 2019 @08:15AM (#21059181)
Here you go. I have followed this guide to program the fpga from the Intel Quartus IDE http://smartaleks.io/?p=260
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by magicalhippo on Monday September 23, 2019 @08:38PM (#21055333)
One would hope it would be a bit more, at least given the price point.
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by ryanmjacobs on Tuesday September 24, 2019 @02:38AM (#21057172)
Shameless self-plug for something similar in the market: WebFPGA (https://webfpga.io/kickstarter). This service actually exposes the full FPGA and allows you to synthesize Verilog remotely (or offline).
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by peter_d_sherman on Tuesday September 24, 2019 @03:45AM (#21057524)
Love your project!

Now it has its own article on HN:

https://news.ycombinator.com/item?id=21057511

Remember to upvote!

(Oh, and "You're welcome!" :-) <g>)

Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by ryanmjacobs on Tuesday September 24, 2019 @04:05AM (#21057633)
Great! Thank you! I definitely see a lot of room for improvement in this field.
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by jacobush on Tuesday September 24, 2019 @05:58AM (#21058190)
Commented and upvoted.
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by m0zg on Monday September 23, 2019 @09:46PM (#21055680)
Question for experts in the field: are there any reasonable FPGA options capable of hosting a small (~2MiB) quantized deep learning model for which there's any sort of a viable, open toolchain?

I've looked into some of Lattice's stuff, and some of their chips seem pretty capable for this, but as with all the other FPGA manufacturers, the toolchain is crazy proprietary. I'm not a huge fan of sinking my time into tooling I have no control over.

Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by buildbot on Monday September 23, 2019 @10:47PM (#21056019)
Yes! Most Cyclone Vs or Zync/Artix chips can support quantized networks, and people have been making them easier to get started with, for example this toolchain[1]: https://github.com/danielholanda/LeFlow

Can take Tensorflow models and convert them to Verilog. Tensorflow already has lots of tools to train quantized models, so all you need to do is convert them to hardware.

If you had a big enough Lattice FPGA you the open source Yosys toolchain, or use one of the Vendor proprietary toolchains for Altera/Xilinx.

[1] Disclaimer - I went to school with the creator of LeFlow.

Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by analognoise on Monday September 23, 2019 @09:52PM (#21055712)
There is an open source syntheses and bitstream generation for some lattice devices.

It has inferior QoR compared to the closed toolchain.

Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by robert_foss on Tuesday September 24, 2019 @03:47AM (#21057532)
I think in one of the CCCamp19 talks, the ECP5 routing with the OpenSource tooling blew the Lattice tooling out of the water.

FPGA manufacturers have pretty perverse incentives when it comes to filling your FPGA devices up with useless junk.

Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by analognoise on Tuesday September 24, 2019 @05:07AM (#21057940)
Link to talk? My Google Fu fails me.
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by robert_foss on Tuesday September 24, 2019 @03:40AM (#21057493)
The Lattice ECP5 is supported by open source tooling, does it support your usecase otherwise?
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by lnsru on Tuesday September 24, 2019 @04:55AM (#21057883)
Is the VHDL or Verilog code for MicroHDMI and CSI-2 interfaces available somewhere?

Not sure if this board will be wild success. Diligent has better boards with Xilinx Artix-7 for this price. Arrow MAX1000 is even more affordable. Intel MAX10 is a great device! Learning FPGA means always learning quirks of vendor’s IDE.

Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by LIV2 on Tuesday September 24, 2019 @07:24AM (#21058721)
Title is slightly misleading, it isss the mini-pci express connector but the FPGA itself can't talk pci-express as it lacks the necessary transceivers
Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by trollied on Tuesday September 24, 2019 @08:07AM (#21059110)
Link to the actual board: https://store.arduino.cc/mkr-vidor-4000

€62.90

Re:Arduino MKR Vidor 4000 – Arduino, Cyclone 10 FPGA, MiniPC... by panpanna on Tuesday September 24, 2019 @06:50AM (#21058515)
Can someone try Clifford Wolf's tiny risc-v on this fpga?

I'm mainly interested in size and speed for this specific chip and speed grade.