Newsroom Wire

US11-12 16:01⏱ 4 min read

RISC-V For AI: Breakthrough Or Bad Idea?

RISC-V For AI: Breakthrough Or Bad Idea?

Custom instructions promise flexibility, but experts question whether RISC-V belongs at the heart of AI acceleration.

Experts At The Table: Demand for parallelism and power efficiency is shifting chip design from general computing to AI, increasing the need for flexible, modular, and open hardware.This trend is bringing RISC-V into AI acceleration.

Customizable hardware can implement AI computations directly instead of relying on fixed CPU designs.Semiconductor Engineering sat down to discuss these issues with Steve Roddy, chief marketing officer at Quadric; Francisca Tan, director of product management and product engineering for Tessent at Siemens EDA; Ewald Liess, senior vice president of sales and business development at SignatureIP; and Dave Kelf, CEO of Breker.

What follows are excerpts of that conversation.

L-R: Quadric’s Roddy; Siemens EDA’s Tan; SignatureIP’s Liess; Breker’s Kelf.

SE: With AI models evolving rapidly, architects use RISC-V to design highly specialized extensions. From an IP provider standpoint, how would you balance delivering a standardized, reusable IP core with the extreme customization that customers are demanding for AI workloads?

Leiss: We don’t think that we need to configure because we provide NoC and PCI Express and CXL CHI AMBA interfaces.Based on this, we don’t need to customize.Instead, it’s the NoC that will be configured.

Because we have a pre-verified NoC, we can do that with our tools.We can configure customized RISC-Vs.Of course, the customers may modify the RISC-V core with new instructions, but they will stick to the interfaces like the AMBA bus, or CXL, PCI Express interfaces, because this enables them to access the external components that they need, like memory or going off-chip.

And this is where we come in.So the RISC-V guys should feel free to do whatever they want.

Tan: Custom verification and validation also become important, as does observability. For test and embedded analytics, engineers doing debug or silicon bring-up can monitor, introspect, and inspect internal signals, or calculate whether performance is being met. In my view, it’s also about hardware observability, as the industry moves into various challenges and complexity in the chip.

Roddy: We’ll take the contrarian view in this particular area.We think that starting with RISC-V to do an AI accelerator is a flat-out bad idea, because you instantly create a problem.You now have a partition between some things running on a programmable processor with good ALU capacity, and some external accelerator where you’ve now had to partition the system.

The minute you partition, the minute you create a problem, you need fancy compilers to go fix it and figure out how to move data from the accelerator or accelerators across a nice NoC over to a programmable core, and back and forth.

That’s a problem that scales badly.The bigger the accelerator, the worse it gets.And so now you’re compounding the problem.If you have something that’s, say, 100 TOPS and you have to have, say, 16 RISC-V processors slave to a whole bunch of accelerator blocks, sure, you need great interconnect, and you need great verification, and all those things that go with it because you’re trying to solve the underlying fundamental problem, which is starting with a CPU.

And CPUs are great for chasing pointers.That’s what CPUs do.CPUs have wonderful logic to handle the fact that you’ve got 40 threads running, and on the very next clock tick, you have no idea what you’ll be running.

That’s not what you’re doing when you’re doing AI inference.You know for millions of cycles in advance what’s happening.You don’t need most of the CPU hardware.DSPs are a little closer to what you need, but DSPs are vector machines — vector-by-scalar or vector-by-vector.

And most of what is challenging in AI is matrix-by-matrix.So we built a matrix-native machine.The only other one I know of that’s close to that is in the data center, and that’s the big giant TPUs from Google.

Literally, everybody else has a partitioned problem, and then they struggle and spend billions of dollars trying to handle that partitioning problem and figure out how to make up for the fact that they started from, we think, a bad place.

Kelf: I agree with Steve’s point, because what we’re seeing is large AI accelerators — which might be different architectures, SIMD, SIMT — are pretty common.These kinds of things basically are controlled, or have been controlled, by a complex state machine of some sort, and then there’ll be some kind of host processor driving several of these different things and telling the state machine what to do, and then driving the accelerator.

What we’ve seen in four instances now, both big and small companies, is that the state machines are hopeless.So they’re taking a RISC-V processor, and they’re using that as the control function on top of these accelerators for a number of reasons.

One is that they can, in fact, build in a bunch of mathemat

Snapshot for aggregated reading; content from the public web, © the original publishers.

AI NewsCove

Opening article…