RISC-V AI Customization Depends on Compilers, Interfaces and Verification
- Ann Mutschler
- 448 reads
Custom RISC-V instructions can speed AI workloads but increase software dependence. Compiler flexibility, stable interfaces and human-led verification remain key.

Custom RISC-V instructions can improve an AI chip’s performance, but they also shape how easily its software can change. Once a workload depends on vendor-specific operations and fixed-function kernels, switching processors or tuning code may require help from the team that designed them. The engineering challenge is to preserve useful specialization while keeping compilers, interfaces and verification flexible enough for systems to evolve.
That tension was discussed by 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. Their discussion covered compiler support, ecosystem fragmentation, hardware and software verification, and the expanding use of AI agents in chip development.

From left: Steve Roddy of Quadric, Francisca Tan of Siemens EDA, Ewald Liess of SignatureIP and Dave Kelf of Breker.
Custom instructions create a compiler and verification task
A custom instruction only helps a workload when the software stack can emit it correctly and the hardware behaves as expected. Kelf said his company works with RISC-V firms on system-level testing rather than building compilers. Some customers test both the compiler-generated instructions and the processor hardware, treating them as one software and hardware verification problem.
The amount of compiler work varies. In some designs, an added instruction performs much of the specialized operation in hardware, while the compiler supplies a high-level function call. Other implementations put more responsibility in the compiler and software layers, where control structures must be arranged to use the new instructions effectively. Either way, verification needs to include what the compiler actually generates, not just the hardware block in isolation.
Kelf said that roughly a third of the bugs his customers found with Breker’s technology were attributable to compiler errors rather than hardware faults. He described that as surprising, given how rarely compiler errors are encountered in conventional processor use. The practical point is that a custom instruction changes the verification boundary: teams need to check the interaction between compiler output, instruction behavior and the rest of the system.
Roddy described a different approach used with Quadric’s general-purpose, matrix-oriented processor. He said customers have not asked to customize its instructions, because the processor is designed as an AI core from the outset rather than adapting a general-purpose CPU to AI workloads. Its software flow begins with a graph expressed in PyTorch and passes through a Python compiler, a graph compiler and an LLVM compiler before producing instructions. Roddy said most networks run through that flow automatically, while agents can help tune the cases that need additional work.
That flow contrasts with systems built around many narrowly tailored instructions. Roddy said those designs often package operations as fixed-function kernels in a library. A human can write assembly for a kernel, or a graph compiler can select a prewritten function. This can keep complexity out of lower compiler layers, but it also limits what higher-level tools can optimize. If each operation is exposed as a fixed block, the compiler may not be able to combine adjacent kernels or reorganize work to reduce data movement.
Roddy used different forms of an attention operation as an example of how specialization can multiply: a design might provide separate kernels for particular orientations or variants. Such a library can meet a specific performance need, but each new variant may require the processor team to write and support another implementation. Users who need a modified kernel later may have to identify which company in the supply chain owns the relevant code, then work through the necessary technical and commercial contacts.
In Roddy’s view, this creates a long-term maintenance cost alongside the initial performance benefit. A chip may be sold as IP, incorporated into a product by another company, and then deployed in a system built by a further customer. If the workload changes, the end user may have limited ability to revise a fixed-function library on their own. What looks like a narrow optimization can therefore become a software dependency that persists well beyond the first design.
Compiler flexibility depends on the memory system
Compiler quality is only part of the performance model. Liess said a compiler needs to know where data resides and how quickly it can be accessed so it can schedule instructions and fetch data from the right sources. That ties compiler decisions to the fabric and memory subsystem. The compiler either needs information about what the interconnect can deliver, or it must define the performance and data-delivery requirements that the fabric has to meet.
This relationship matters because an instruction’s nominal operation says little about system performance if operands arrive late or move inefficiently. Hardware and software teams need a shared view of memory locations, access behavior and interconnect capability. System-level work can expose mismatches between a compiler’s assumptions and the actual data paths, even where the instruction itself functions as designed.
Debug tools are another part of that shared environment. Tan said her team works with established debugging setups, including GDB and OpenOCD, so developers can begin with tools they already know instead of adopting a wholly bespoke software environment. She emphasized consistent ways to diagnose problems across RISC-V, non-RISC-V and heterogeneous systems that combine different processor types.
Profiles and interfaces can contain fragmentation
RISC-V’s extensibility allows companies to add specialized operations, but that freedom can make software portability harder. Kelf said the RISC-V ecosystem has a basic set of matrix functionality that was not yet fully ratified at the time of the discussion. He also described a certification program being created, with a formal announcement expected early the following year. The effort was intended to add standardization and certification, particularly around the RVA23 profile.
A common base could give developers a standard set of processor and matrix functions to target, with company-specific additions layered above it. Kelf’s argument was that this arrangement would leave room for specialized multiplication or other workload-specific operations while making the standard portion more consistent across designs. The value depends on where the boundary is drawn: a shared base helps portability only if tools and implementations treat it consistently.
Roddy offered a commercial explanation for why companies may choose to extend that base. In his view, fragmentation is partly intentional: a silicon provider may want custom instructions to make its product harder for customers to replace with a competing design. RISC-V gives chip designers the ability to control more of their implementation. That can suit the chip supplier while reducing the downstream user’s freedom to move between products from different vendors.
Kelf pointed to vertically integrated companies as one customer group for whom that trade-off may be acceptable. He said three of five customers he had mentioned were building their own data centers, covering work from the processor and system-on-chip through to the accelerator and the data center itself. With development teams operating within one organization, those companies may be able to coordinate hardware, compilers and software internally.
He also cited larger companies including Qualcomm, which he said had bought Ventana Micro Systems the previous year and Akeana more recently, along with companies such as Infineon. His broader point was that some firms want to develop and integrate their own processor technology rather than rely on an external processor provider for architectural changes. In those settings, customization can support internal control, though it still requires coordination among teams working on different parts of the system.
Tan said customization and standardization do not have to be opposing goals. In debugging, an underlying level of consistency can help engineers diagnose systems with different processor combinations. Liess drew a sharper line between the processor core and the interfaces around it: cores may vary, he argued, while bus and interconnect standards should remain consistent. He named CHI, PCI Express and UCIe as interfaces he expects to persist across changing core designs.
That distinction offers a useful way to assess a design. A specialized core can differentiate computation, while established interfaces can make it easier to connect that core to memory, other processors and system components. Stable interfaces do not solve every software portability problem, but they can limit the number of proprietary boundaries engineers must cross when integrating or debugging a system.
AI agents speed up design work, with review still required
Roddy said hardware teams are using AI agents as productivity tools for design and verification. He described agents generating verification suites, running directed and random tests, and comparing a specification with an RTL implementation to find mismatches. In his account, agents are particularly useful for executing large numbers of checks and exploring corner cases that a person could not investigate at the same scale.
Roddy estimated that individual productivity in his processor design team had grown by about 10× with this work. He also described agents operating across a C++ target and its software toolchain, where they can try alternative implementations of a kernel for a particular graph, data pattern and hardware configuration. He said some tasks that had taken a month could now take a day, and reported substantial speedups from these targeted rewrites. Those results are his company’s experience, not a general benchmark for all design teams.
He drew a boundary around what agents currently handle well. They can program a GPU, DSP, CPU or a general-purpose NPU exposed as a C target, he said, but they are less capable of programming and optimizing hardware state machines directly. In a hardware flow, the experienced engineer still defines the intended change and reviews what the agent produces. The agent can expand the search and testing effort; it does not remove the need to judge whether the result is correct.
Kelf described similar use in verification tools, including state-space exploration and test generation. He said customers are applying agents to test coherent systems by generating varied workloads intended to expose faults in memory behavior, network-on-chip communication and related interfaces. This can uncover issues efficiently, but Kelf cautioned that generated tests may leave coverage gaps. Teams still need to check that critical access methods and communication cases were exercised, and that the results make sense.
Liess said his company uses AI more for IP verification than for coding. He also described a tool that configures system-on-chip buses and fabric, where AI runs iterative tests to identify a suitable architecture or layout. A next step under consideration is traffic-driven optimization: modeling the work the SoC will perform, including instruction and data-fetch behavior, to help tune the internal buses and network on chip.
Tan focused on post-silicon diagnosis, where the complexity of a modern SoC can make root-cause work slow. AI-driven analysis could help correlate information gathered from different parts of a chip, but the usefulness of that analysis depends on the data supplied. Instruction traces, timestamps and physical measurements may each reveal different aspects of a failure. Engineers need to consider which signals are available and how they relate before drawing conclusions from an AI analysis.
The shared message is practical: agents can increase the volume and speed of design exploration, software tuning and verification, but engineers remain responsible for coverage and interpretation. For RISC-V AI designs, that human review sits alongside another lasting requirement: custom instructions need toolchains that can use them without making every later change dependent on the original processor architects. A stable software base and consistent interfaces will determine how much of the performance gained through specialization remains usable as systems and workloads change.