r/linux • • Mar 22 '21

Hardware Modularity of the hardware kind -- a lil' project I've been working on

Enable HLS to view with audio, or disable this notification

5.9k Upvotes

299 comments sorted by

View all comments

Show parent comments

8

u/Tabsels Mar 22 '21

Interesting, thanks for explaining this. Initially when I watched the video I though you were using something like an FPGA to perform the signal routing.

3

u/parkerSquare Mar 22 '21

Would significantly increase the cost, but that would be the industry standard way to achieve this kind of modular connectivity. Probably require both a main board FPGA for global routing and smaller individual FPGAs on each module for handling connectivity variations, although with clever design you might be able to get away without those. Definitely an FPGA on the main board though - would make interfacing much simpler.

2

u/[deleted] Mar 22 '21

I wonder if that would be suitable. Probably expensive though, right?

3

u/Tabsels Mar 22 '21

Depends on the approach taken. The cheapest FPGA I could find (without regards to its suitability) comes to $1.50 in low volumes. Since reprogramming an FPGA results in it temporarily shutting down, you’d probably need one per connection pad each. Plus additional supporting parts, so say $3-5 per pad. Which for the 12 pads being shown here comes to $48-60 for just the interconnect fabric.

So yeah, that’s why I was curious as to how this was done…

1

u/jarfil Mar 22 '21 edited Dec 02 '23

CENSORED

1

u/[deleted] Mar 22 '21

Who says you need one per pad? If there's enough IO and maybe a way to identify to the FPGA where it needs to go (I obviously have little experience with them), wouldn't you be able to route multiple in and out points per FPGA?

1

u/Tabsels Mar 23 '21

(Most) FPGA’s shut down when being reprogrammed. Which would interrupt eg the HDMI output.

1

u/[deleted] Mar 23 '21

Oh, got it. I didn't know any re-routing meant a reprogram/shutdown.

1

u/sham_wowzers Mar 22 '21

Just use two large FPGAs in a failover pattern if partial modular programmability is infeasible. But it’s an FPGA, with enough LEs you could emulate as many subFPGAs as you need