Hacker News new | ask | show | jobs
Open-Source FPGA The "startup idea" to "go big fast"
2 points by daly 8 days ago
FPGAs are general purpose and can be made to do anything. They are basically a function of the number of repeated elements. They are "commodity items" except for one fact.

The current FPGA manufacturers won't disclose the details of the design internals to "protect their intellectual property".

Only small FPGAs have been reverse engineered and there are some high-quality tools that have been developed. Their limitation is information.

Because of high costs set by the big players the ability to build truly complex FPGA designs (e.g. an NVIDIA competitor or an ARM competitor or a high-function inference chip) is "closed source information" limited.

But by design FPGAs are basicaly simple repeated elements that can be scaled to any size. That means that a new open sourced chip could be a range from really tiny to enormous with cost purely a function of chip die area. This makes it a pure commodity play.

Some "bright spot" student wanting to start a company could get funded to create a new FPGA design (e.g. since wires take up most of the area figure out how to put the wires "under the logic" in a multi-layer design). Extend existing open-source software tools chains for the new chip design. Open-source the design and license it which is what made ARM so big.

Within hours I'm certain the FPGA tools would be updated to full support of the new chip, opening the market to real, high powered chips. Or create your own open-source tools. Build the company around selling expertise like consulting on custom board-level designs using the new chips.

Turning highly capable FPGAs into volume chips is a market nobody has addressed. What it needs is someone who wants to be a startup CEO and someone who has capital to create the first design (probably a few million dollars).

Of course if you have access to REAL capital then buy Xilinx or Altera and open source their design and tool chain. The company that doesn't get bought would disappear overnight. (Somebody call Musk with the idea :-) )

If you know someone who wants to "go big fast" either path is a major opportunity.

10 comments

As someone who also went though an naive "FPGAs are awesome" phase awhile back, a few things:

1. FPGAs cannot do "anything". They suffer from lower clock speeds than ASICs, making them a poor choice for everything but niche reconfigurable computation (top-secret military algorithms, and hobbyist retro game emulation, and one of those has virtually no market).

2. The high price is not "set by" the market leaders, it's just the fact of what it costs. There are many FPGA competitors, Lattice, Microchip, Gowin, they aren't cheap either.

3. Even if you had the proprietary secrets of Altera and Xilinx, making a chip is very expensive, there is much trial-and-error in the tapeout phase. Expect to soend tens of millions. And all of that needs to be returned with interest to your hypothetical investors, meaning your prices will also have to be high.

4. FPGAs are actually very simple devices, so there's not really much of a secret anyway.

re: point 1 ... The clock speeds are lower than an ASIC is true but irrelevant. The whole reason to use FPGAs is that the hardware in the robot hand can self-modify and "learn".

A general purpose robot such as a home robot will be able to adapt itself to the particular home environment, optimizing the low-level behavior on a per-task basis.

re: point 2 ... Well my Lattice demo boards are in the sub-$100 price range but I'll grant the point to you.

re: point 3 ... This is a "sunk cost" question. Altera already has a working design over a large range of LUTs. It costs them nothing to release details that simulation, Place and Route, and binary loaders could use. They could keep secret such things as optimized cores. They could also benefit from free published optimized cores for things people develop (like finger-sensor Verilog).

re: point 4 ... If "there's not really much of a secret" then why not admit that and just publish details? Recall that the PC market exploded when IBM released all of the information about the IBM PC. I admit that it only affected building peripherals but now "peripherals" are internal to the FPGA. I expect a similar market explosion if smart control of every peripheral, like a robot finger, is actually just more Verilog.

There are 18 "standard" hand motions each of which can be in the initial hand but which can be optimized by repetition at "run-time" on a per-task basis. This optimized Verilog can be published in github, potentially resulting in "the best" finger control algorithms that run on Altera.

There is an initial tape-out cost. This is a "sunk cost" and should not be used for future decisions. My point is that being "open" means that an FPGA has a much larger total addressable market in the expanding robot world. Why use Xilinx if Altera is "open" (or vice versa).

Point 1: It's not irrelevant because you said they could "do anything" which is a far cry from "serve as the CPU for a self-reprogramming robot arm". To that new point, I will add: software is also self-reprogrammable, look up genetic algorithms. They might even be faster, given how slow the FPGA gates are.

Point 4: The default position of companies is to keep things secret. Keeping something secret does not imply that it's valuable. It only implies that the company thinks that it might be valuable.

It seems like your core idea is that some company could come along and open-source their entire FPGA design and people would use it because it's "open". But, I don't see evidence for that. You should hitch a ride with the RISC-V guys who have a similar belief, though.

There's too often hubris in pessimism, in assuming that just because we don't see a solution to a problem now, no solution is possible. -- Michael Nielsen

https://michaelnotebook.com/whichfuture/index.html

Semiconductors themselves are really difficult to scale down to smaller feature sizes, but fabs do often provide standard cells that simplify the process, at a cost of worse flexibility and performance. Even with standard cells, scaling up the number of LUTs linearly increases the routing possibilities quadratically, so scaling is not simple. On top of that, routing gets more difficult, as speed-of-light latency adds up.

Also, wires do already run separate from logic, with most process nodes having at least half dozen wire layers, if not double that, all to support a single layer of transistors.

There are open-source FPGA designs, but they are all for very simple FPGAs, due to the difficulty of scaling.

In order to make an FPGA, you need a huge number of flip flops to hold the state of all the bits in all of the look up tables that do the logic. This alone means that while they're really flexible at implementing any design, they will take much more power both in holding all those bits, and in the routing. Because FPGA implementations are necessarily bigger than equivalent hard wired logic, any connections will be longer, having more capacitance and resistance, which either requires more drive power to maintain a given clock rate, or slower speed to keep within the power/heat limits of a given chip.

So, while I applaud the creative thinking, it's not an original question, and there are good reasons it won't work out.

Given my subject area (robotics) there are interesting considerations.

An FPGA can have a large number of I/O channels with configurable standards. Thus a wide range and number of sensors can be attached which is important for hands.

An FPGA can be very close to the sensors and actuators so the response time is minimal. If something slips in the hand (for which I hold a patent) the FPGA local loop can react quickly.

An FPGA is field-programmable so it can receive "over the air updates" to handle evolving problems like tendon stretch or gear wear.

An FPGA can be dynamically programmed to "recover from failures" such as a finger that stops working. The hand may be able to continue the task if, for example, the pinky finger tendon breaks.

An FPGA can be factory calibrated to a standard and then "field calibrated" to the local environment issues (e.g. very cold working climate).

An FPGA, by my design, can dynamically self-modify so it can be a "Learned Hand" that monitors for and learns repetitive conditions, "getting learning into the hand" which reduces load on the VLA or other control.

An FPGA in an open design can encourage new end-of-arm tooling for special purpose work while reflecting a "standard message" to the controlling AI. Thus replacing a hand with a different gripper can still use "grasp" as a standard message that the new hand "knows how to do".

Given that the total addressable market having a billion robots with 2 hands that gives a need for volume manufacturing.

Amit Gupta and Makoto Tamai "The Grasping Hand" 9781604068160

Matthew T. Mason and J. Kenneth Salisbury, Jr. "Robot Hands and the Mechanics of Manipulation 0262132052

Richard M. Murray, Zexiang Li, and S. Shankar Sastry "A Mathematical Introduction to Robotic Manipulation" 0849379814

You can also do all of that with Ladder Logic programming from the 1980s, or any reasonably competent CPU with interrupt handlers. Just don't try to do it with a full Linux system running.
Correction. I used the wrong units. I stated about 7 wafers. But I fat-fingered the calculation. I'm now showing about 1224 (1cm) chips giving 816 wafers. I still claim that Terafab can handle that volume. TSMC numbers show that this would be less than 2% of a single day run. Larger chip area would change the numbers but I'm pretty sure that TSMC can currently handle the demand. Terafab will likely be even better.
Btw, re: Silicon... Tesla is now refining sand into its own wafers. https://www.youtube.com/watch?v=oX39Za67KyM

Now all they need to do is revolutionize the FPGA market :-)

2nm FPGAs would be ideal for robotics. Fast, dense, low power, and field-programmable over the air. Open source the bin file format, the logic layout constraints, and the open source FPGA crowd will do the rest.

Somebody needs to put a YC pitch deck in front of Paul or Elon.

OpenFPGA ... (genius hacking) ... Profit!

> 2nm FPGAs would be ideal for robotics.

"2nm" is just a description of the fab process. It's not more-or-less ideal for anything, but rather a description of what you're aiming for in terms of density. FPGAs are pretty non-ideal for robotics, since you can buy a CUDA GPU for 1/10th of the price and get 10-100x better power efficiency out of it.

Sigh.
Why does Jane Street Wall Street trading use FPGAs rather than ASICs? https://youtu.be/oIk3R-sMX5o?t=3100
It's a real peachy sentiment, but if FPGAs were better than CPUs/GPGPUs then we'd already be using them. In practice, creating large FPGAs is a wasteful and expensive process that cannot be scaled to a non-research volume market and compete against ASICs or even general accelerators.
Nobody has done it ... therefore there is no reason to do it?

A highly parallel, high speed, massive I/O device to run your robot that can be upgraded over the wire with new features? Nothing to see here. Nobody would want to improve a product like a car or a robot "over the wire".

A billion robots whose hardware gets better overnight? Nah. Pointless.

The onus is on you to describe how the economics, fabrication and design is supposed to make sense here.

Because, again, it's a real peachy idea to want everyone to have a superpowered FPGA computer. The reason your iPhone isn't an FPGA comes down to the fact that you'd need ~20x the die space to implement a basic AArch64 core, which would drive the costs to ~$10,000-$20,000 per-handset and reduce your battery life down to the half-hour territory. If you combined the yearly capacity of TSMC, Samsung, Micron, Intel and CXMT, there would not be enough silicon to make a million competitive FPGAs, let alone a billion.

So, explain it. Why would robotics or smart car manufacturers prefer a 150 watt FPGA that is slower and 10x more expensive than a 15 watt CUDA SOC? AI is not a panacea, it cannot make these FPGAs consume less power than an ASIC or take up less die space than a RISC processor.

So you'd like a YC presentation deck? I'll call Paul Graham for a lunch meeting :-)

Point 1: I am creating an FPGA in the robot hand that learns repetitive motion which will reduce the load on the main AI. The "Learned Hand" idea is based on the human ability to "get learning into the hand", for example, doing typing or playing piano. Notice that you don't have to think "adjust the fingers to play a C chord". A similar system would allow stable walking with no AI input, including fast recovery from tripping. It self-modifies (learns) over time.

Point 2: The phone ASIC makes sense because you have a very well specified, very engineered environment that will be replicated a billion times and will never require "over the air updates". Self-driving cars and robots will need to adapt to external environments, new sensors, etc. "over the air". If you replace a robot hand you'll only needs a few seconds of training to make it repeat precise motions of the previous hand. Each hand could be factory calibrated in the FPGA to a known-good standard.

Point 3: So you believe that Musk's Terafab won't be able to make a million FPGAs? By my calculation you could fit about 128k FPGAs on a 16 inch fab wafer. So we're talking a run of about 7 wafers per million FPGAs.

Point 4a: Economics: There are very large companies that create FPGAs so there is a known market. However the TAM (total addressible market) is much larger and being held back due to high cost of initial learning (a high end development board is several thousand dollars). Reducing this cost will greatly expand the market (look at Raspberry Pi for an example).

Point 4b: Economics: FPGA programming in Verilog is not hard to learn so anyone with a clever idea could build the circuits. Making it "nearly free" (under $100) would open the TAM. Rather than the artificial paywall the company makes money licensing the designs which is how ARM got rich. Another revenue path is consulting on board design.

Point 5: Fabrication: A low-cost large LUT chip costs nearly the same as a low-cost trivial LUT chip when factoring all of the costs. Since LUTs are replicated once designed adding more LUTs to the design is a minimal cost.

Point 6a: Design: The key issue in design comes down to timing and routing. The timing tree gets larger so clock skew becomes an issue. But this can be overcome in a large FPGA by arranging clock domains so processes can run on parallel clocks, in my case one per robot finger.

Point 6b: Design: Current FPGA designs use a lot of chip real estate with wires and switching. I suggested a novel design that would first layer the routing wires and then put the LUTs in a second layer. While this will make the design and fabrication more expensive it will shrink the chip (thus more per wafer) and improve the crossbar issues. Indeed, Intel has been creating a "back of wafer" power distribution. Something similar for wire routing would be a serious breakthrough. Or even better, use the new "gate all around" technology to create "a vertical LUT" with minimal space.

Point 7: Creativitiy: Musk is putting hardware in space. You could easily create replicated FPGAs and leave them unpowered. If an FPGA fails due to radiation you switch it off and use a dark hardware replacement. If the failure is "we found a faster algorithm" you can do "over the 'air'" updates.

Point 8: As Musk would say: this is only a matter of moving atoms and electrons. There is no physical reason this can't be done.

etc. Now that I've done my part perhaps you could refute it point-by-point?

1. This is a software-domain issue that can be accelerated by off-the-shelf SIMD solutions, CUDA, CPUs and ASICs faster than an expensive FPGA.

2. There is not enough silicon in the world to make FPGA-only SOCs for the majority of smartphone customers.

3. Yes. Your calculation is not accounting for the size that would be necessary to make the FPGA competitive with CUDA/RISC and binning.

4A. Addressable market is not equivalent to demand.

4B. ARM gets screwed over by their biggest customers, and their smaller customers get away with using unlicensed clone chips. Their IP is not CUDA-level lucrative.

5. LUTs are not a bottleneck for mass-producing FPGAs, logic is.

6A. At extreme cost, which your "addressable market" is not interested in recouping. Again, look at the current demand for giant FPGAs.

6B. Even with Gates-All-Around design, you are still creating FPGAs that are gigantic and redundant compared to cheaper ASIC, GPGPU or CPU/SIMD chips.

7. Why do you think Elon Musk is choosing GPUs instead of FPGAs, then? Do you think he forgot that FPGAs existed when evaluating space-bound hardware?

8. Moving atoms and electrons is the easy part, doing it cheaply/efficiently/wastelessly is an asymptote challenge. Itanium and Xeon Phi died for a reason.

ok. I made a suggestion not a pitch deck. All ideas start somewhere.

There are always reasons ideas won't work but nothing seems to be a fundamental show-stopper. Silicon, for example, is the second most abundant element in the earth's crust so your point 2 seems questionable. (Yes, I know about Spruce Pine and the wafer chain, etc.). I did not suggest using FPGAs in a cell phone.

Running an FPGA seems less power hungry than running VLA chains to generate fine motor actions based on a dozen finger sensor tactile feedback signals arriving every few nanoseconds and responding in real time, not to mention the lag going from finger to brain.

Offloading that task to intelligent local loops seems less power hungry as the VLA only needs to know about exceptions, some of which can even be "learned local handling" without the VLA (or so goes my research goal).

Anyway either some person will see an opportunity or they won't. I'm quite happy pointlessly hacking "Learned Hands" for robots.

So this is the end of the debate on my part. Thanks for the feedback.

I misread 2), but my answer for the "robotic hand" application is the exact same as my response to 1).
People have been hoping for "Open Source" hardware for as long as they've been hoping for Open Source gaming. 30 years plus, at this point. Sorry to disappoint, but, save for a few niche areas, it won't happen.
re: Intel's 18A 2nm processes. https://www.youtube.com/watch?v=frYSOKvNiiE

FPGAs have real advantages in manufacturing.

One of the key cost drivers is yield. How many chips on a wafer still work. In most chips a single failure can make the chip unusable.

FPGAs have a HUGE advantage over other chips in this regard. If a LUT fails it is trivial to route around it. A "mapping stage" for each chip would tell the Place-and-Route which LUTs to avoid.

Final chips can be "sorted" so that damaged chips are simply sold with a smaller number of LUTs. The total yield of the wafer is much higher.

Another key advantage comes with Intel's back-side power innovation. FPGAs traditionally have crosstalk issues due to wire spacing in the network because a signal on one wire can affect another. Back-side power means that signal spacing can be much larger due to increased room.

A third advantage given by back-side power is that the wiring has more room. This allows the clock domains to be much larger.

Fourth, the high-NA ASML equipment means that wires can be even finer so that more wires and thus higher connectivity will exist which can shorten the path from LUT to LUT giving higher clock speeds.

Fifth, thinner wires means less resistance so the power need drops off quickly.

Sixth, gate-all-around means that the transistor area used by the LUTs is reduced so more can fit on the same wafer chip or the chips can be smaller.

Seventh, the introduction of CFETs (Complementary Field-Effect Transistors) means that potentially a whole LUT lookup table could be vertical, essentially taking up the same room as a single transistor

Even better, the introduction of MRAM (Magnetoresistive random-access memory) reduces the SRAM power needs by replacing 6 active transistors with single magnetic cells. This gives a "rewritable permanent memory". https://www.allaboutcircuits.com/technical-articles/mram-bas...

In the near future, using Intel's 18A 2nm technology stack I expect that printing a low-power high-LUT FPGA line to exist.

If you follow the high-tech bleeding edge like I try to do the future is exciting, especially for FPGAs.