Engineering Open RISC-V and AI Convergence Chips: A Practical Path to Scalable Design

    RISC-V chip companies entering public markets signal a broader inflection point for the convergence of open instruction set architectures and artificial intelligence. This article explains why RISC-V pairs naturally with AI, how heterogeneous SoCs integrate AI compute, how software-hardware co-design lets toolchains "understand" new hardware, and how teams can judge whether a solution is verifiable and scalable. Using the disclosures of a representative "RISC-V + AI" company as a reference point, it walks through ISA characteristics (modularity, extensibility, open ecosystem), SoC building blocks, the three-level compiler stack, custom-instruction tradeoffs, scenario selection, and a practical evaluation framework built on measurable end-to-end metrics rather than nominal peak numbers. The central takeaway: engineering accumulation, not the instruction set alone, is the real moat, and every unit of compute should convert into measurable business value.

    Introduction: Reading a Technology Inflection Point from the Capital Markets

    Over recent years, several compute-chip companies focused on the RISC-V architecture have listed on public markets or begun their listing process. One representative company positions itself around “RISC-V + AI,” with business lines spanning human-machine interaction and multimedia, as well as interconnect and compute. Its products target consumer devices, automotive electronics, robotics, and industrial control. Its publicly disclosed operating data show revenue growing at a double-digit compound rate across the last three full fiscal years, still holding year-over-year growth in the most recent period. As of the disclosure, the company had accumulated several hundred IP blocks, more than twenty families of serialized cores, and over a thousand patent applications.

    For technical practitioners, the significance of these figures lies not in the financing itself but in three points:

    1. Route feasibility validated by the market: The RISC-V ecosystem can now support compute-chip products built for mass production across multiple industries.
    2. The moat comes from engineering accumulation: IP reuse, hardware-software co-design, and IP compliance are long-term barriers; a single-point instruction-set advantage is not enough.
    3. Hard-tech value can be measured: Revenue, customers, and volume delivery have become the primary yardsticks for judging a technical route.

    Sustained capital investment in frontier directions—quantum computing, AI for Science, brain-computer interfaces, autonomous driving—follows the same logic: first validate technical feasibility, then validate engineering reproducibility, and finally validate commercial scale.

    This article abstracts that judgment into four technical questions:

    • Why can RISC-V deeply integrate with AI?
    • How is a heterogeneous SoC designed?
    • How do toolchains learn to “read” new hardware?
    • How can a company assess whether a solution is scalable?

    1. Why RISC-V Is Suited to AI

    RISC-V is an open instruction set architecture (ISA) that defines the hardware-software interface contract—instruction encoding, the register model, and exception handling—with its specification maintained by an international non-profit foundation. Its combination with AI is no accident; it stems from three design characteristics.

    1.1 Modularity: Tailoring Compute to the Scenario

    RISC-V mandates a base set of integer instructions, while integer multiply/divide, atomic operations, compressed instructions, floating point, and vectors are all optional extensions. Chip designers can compose these as needed according to the power, area, and performance constraints of the target scenario, without paying for capabilities they do not use.

    For AI chips, this freedom is especially valuable:

    • Lightweight AI accelerators often do not need full application-processor capability; they can trim the general-purpose core and integrate a small NPU.
    • High-end smart cockpits and autonomous-driving domain controllers require multi-core configurations, high memory bandwidth, and high-reliability design.

    The same ISA can spawn product families with very different configurations, which directly supports the “serialized core families” product strategy.

    1.2 Extensibility: Pushing AI Operators “Down” into Instructions

    RISC-V reserves a custom-instruction range in the encoding space. Designers can implement high-frequency operators such as matrix multiply-accumulate, convolution, activation functions, and quantization as dedicated instructions, letting software express in a single instruction what previously took dozens of scalar instructions.

    Typical gains include:

    • Lower instruction overhead: Fewer instruction fetches, decodes, and loop-control operations.
    • Smaller code size: Particularly important for storage-constrained embedded devices.
    • A closed compile-optimization loop: The compiler can recognize and automatically generate the custom instructions.

    It is worth stressing that RISC-V itself defines only the ISA; the concrete microarchitecture is implemented by each core-IP vendor. Therefore “RISC-V + AI” is usually an “instruction-set abstraction layer,” while the actual AI compute is delivered by the heterogeneous microarchitecture built around it. The two are a contract-and-implementation relationship and should not be conflated.

    1.3 An Open Ecosystem: Lowering the Barrier—and Creating New Challenges

    An open ISA specification means no licensing fee for the architecture itself, so small teams and academic institutions can participate in chip design; talent, open-source toolchains, and academic work then converge. But open is not the same as free: IP quality, toolchain maturity, compliance certification, and ecosystem fragmentation all fall to the chip company to absorb.

    2. Heterogeneous SoC: Wiring AI Compute into the Chip

    A complete RISC-V + AI compute chip is typically a system integration of general compute, dedicated acceleration, memory, and interconnect.

    2.1 General-Purpose Cores: The System’s “Brain”

    These run the operating system, protocol stacks, and task scheduling, handling branch-heavy, logic-intensive control flow. Common choices include:

    • Application cores running on the Linux ecosystem;
    • Real-time cores for real-time control;
    • Lockstep cores for safety monitoring.

    2.2 AI Accelerator: The Data’s “Muscle”

    AI workloads dominated by regular computation such as convolution and matrix multiply-accumulate are usually handled by dedicated neural processing units. Common microarchitecture paradigms include:

    • Spatial arrays: Exemplified by systolic arrays, where compute elements are arranged in a two-dimensional grid and data flows and is reused within the array to minimize external memory access. This paradigm can scale the array size to meet compute demands, forming different product tiers.
    • Dataflow architectures: Let data flow through a chain of functional units, reducing repeated movement of intermediate results.
    • Weight-stationary and near-memory compute: To ease the “memory wall,” reduce data movement via on-chip caches, dedicated memory hierarchies, and even computation performed close to the memory cells.

    2.3 Memory and Interconnect: The Real Performance Ceiling

    Whether compute can be delivered depends on how efficiently it can be fed data. Common bottlenecks affecting real performance:

    • Memory hierarchy: Between small high-speed caches and large off-chip memory, sensible tiling strategies and data-movement scheduling are needed.
    • Off-chip bandwidth: When multiple cores and accelerators share memory bandwidth, memory-controller scheduling and QoS mechanisms are required.
    • On-chip interconnect: Integrating multiple IP blocks relies on a network-on-chip or high-bandwidth interconnect; multi-chip designs also need standardized die-to-die interconnect.
    • Acceleration coordination: Efficient shared memory and hardware queues between the general cores and the accelerator reduce interaction overhead.

    2.4 Base Software and Functional Safety

    Supporting multi-task isolation and virtualization, porting general-purpose operating systems, drivers and power management, and the functional-safety mechanisms required for mass production.

    2.5 A Typical Heterogeneous Software Stack

    Layer Key Components Main Responsibilities
    Application Inference engine, business applications Model loading, task orchestration, result post-processing
    Runtime Device drivers, memory management, scheduling Graph dispatch, memory allocation, task scheduling, synchronization
    Compiler Graph compiler, operator library, quantization tools Operator fusion, quantization calibration, tiling and scheduling, instruction selection
    Hardware General cores, AI accelerator, memory and interconnect Provide compute, memory access, and communication

    3. Hardware-Software Co-Design: Teaching the Toolchain to “Know” New Hardware

    A chip’s usability is largely determined by its software stack. Hardware-software co-design runs through the entire chain, from architecture definition to mass production.

    3.1 Three Levels of Compiler Optimization

    1. Graph level: Operator fusion, constant folding, layout selection, quantization calibration.
    2. Tensor level: Loop tiling, memory-access layout, multi-core parallel partitioning.
    3. Instruction level: Vectorization, instruction scheduling, and automatic selection and lowering of custom instructions.

    Illustrative code: declaring a custom instruction and rewriting the kernel (examples only; they do not represent any real implementation’s interface).

    1. /* Snippet 1: The "tiled multiply-accumulate" primitive provided by the custom matrix extension.
    2. A: [N, K] weight tile; X: [K, M] activation tile
    3. C: [N, M] accumulation result; SAT: whether to saturate to the target precision */
    4. void matmul_tile(const int8_t *A, const int8_t *X, int32_t *C,
    5. int N, int K, int M, int SAT);
    6. /* Snippet 2: After the compiler generates the tiled loops at the "tensor level",
    7. it lowers the inner computation to a single custom instruction (illustrative) */
    8. for (int n = 0; n < N; n += TILE_N) {
    9. for (int m = 0; m < M; m += TILE_M) {
    10. for (int k = 0; k < K; k += TILE_K) {
    11. matmul_tile(&A[n * K + k], &X[k * M + m], &C[n * M + m],
    12. TILE_N, TILE_K, TILE_M, /*SAT=*/1);
    13. }
    14. }
    15. }

    The idea above is “custom instruction plus automatic generation by the compiler.” Its prerequisite is reliable instruction-matching and generation rules in the compiler; otherwise, the custom instructions can only be invoked manually, and any operator change requires a rewrite.

    3.2 Simulation, Verification, and Performance Modeling

    Before tape-out, verification relies on:

    • An instruction-set simulator: For functional verification.
    • Performance modeling and cycle-accurate simulation: To catch memory-access conflicts and pipeline bottlenecks early.
    • Compile-optimization regression: To ensure each compiler iteration introduces no performance regression.

    3.3 Operator Coverage and Automatic Tuning

    Real models use many operator types, and custom instructions cannot cover all needs. A workable layered strategy:

    1. General vector capability covers regular parallel computation.
    2. Custom instructions accelerate core operators such as matrix multiply-accumulate.
    3. Software fallback paths handle uncovered operators—prioritizing functional correctness first, then optimizing hotspots incrementally.
    4. Automatic tuning searches for optimal tiling parameters and scheduling on a given chip and model set.

    The core goal of layering is to raise operator coverage and avoid the frequent data movement caused by “some operators accelerated, others falling back.”

    3.4 Engineering Tradeoffs of Custom Instructions

    Illustrative code: pseudocode for custom-instruction matching in a compiler backend (showing the approach only).

    1. // Input: a basic block after tensor-level optimization whose inner loop has been
    2. // normalized into a multiply-accumulate sequence
    3. for (BasicBlock &BB : Function) {
    4. for (auto It = BB.begin(); It != BB.end(); ++It) {
    5. Instruction &I = *It;
    6. if (!isMatmulInnerLoop(I)) continue; // pattern match: recognize the multiply-accumulate kernel
    7. if (!hasSupportedShape(I)) continue; // is the tile shape supported by the hardware?
    8. // Replace with a custom instruction sequence, scheduled uniformly by the scheduler
    9. replaceWithCustomSeq(I, /*target=*/currentTargetDesc);
    10. }
    11. }

    The same matching logic applies to auto-vectorization toward general vector capabilities: the compiler can reliably generate efficient code only when the hardware supports a given instruction form.

    Dimension Custom instructions Standard vector extension
    Performance potential Tuned for fixed operators, high peak potential Relies on auto-vectorization; usually a gap
    Code portability Bound to specific products; migration needs recompiling or fallback Follows a unified standard; good cross-platform consistency
    Toolchain cost Requires modifying the compiler, assembler, debugger, and simulator Relatively mature ecosystem support
    Use case Core fixed operators, long-run production products Diverse workloads, multi-platform deployment

    Practical principle: separate the portable abstraction layer from the hardware-specific backend, so application code depends only on stable interfaces.

    Illustrative code: runtime dispatch through capability queries.

    1. /* The platform capability description is provided by the chip BSP; the application
    2. layer depends only on the abstract interface */
    3. typedef enum {
    4. CAP_BASIC = 1 << 0, // basic scalar instructions only
    5. CAP_VECTOR, // vector-class instructions supported
    6. CAP_CUSTOM_MM // custom matrix instructions supported
    7. } CapBits;
    8. void matmul_dispatch(const Tensor *A, const Tensor *B, Tensor *C) {
    9. if (cap_has(CAP_CUSTOM_MM)) {
    10. matmul_custom(A, B, C); // backend: custom-instruction implementation
    11. } else if (cap_has(CAP_VECTOR)) {
    12. matmul_vector(A, B, C); // backend: vectorized implementation
    13. } else {
    14. matmul_scalar(A, B, C); // generic fallback, ensures functional correctness
    15. }
    16. }

    3.5 IP Compliance and Production Reliability

    The openness of an instruction set is often misread as “loose rules.” In reality, mature ecosystems have clear IP-compliance processes:

    • Processor cores are validated for functionality through a unified architectural test suite;
    • Custom extensions must not conflict with reserved instruction space;
    • IP that involves patents requires clear ownership.

    For a chip company, compliance is a ticket into high-end markets such as servers and automotive, and it directly affects customer trust and the technical-compliance review during a listing.

    4. Scenario Selection: Matching the Technical Route to Business Needs

    The strength of RISC-V + AI lies in “composability on demand”; whether it lands depends on matching scenario constraints with architecture choices.

    Use Case Key Constraints Architecture Tendency Key Metrics to Validate
    Human-machine interaction and multimedia Low power, real-time response, image and audio processing Lightweight general cores + dedicated multimedia units + a small NPU, with low-power standby and fast wake-up End-to-end interaction latency, standby power, image and video processing quality
    Interconnect and compute High throughput, low latency, multi-task isolation High-performance multi-core + hardware virtualization, with dedicated interconnect and offload units Throughput and latency, virtualization isolation, error handling
    Automotive electronics Functional safety, wide-temperature reliability, long lifecycle Safety-oriented general cores + AI accelerator, with a safety island, lockstep, and redundancy Safety-level certification, failure-rate metrics, long-term supply capability
    Robotics Real-time control plus perception fusion, strong determinism Real-time cores + high-efficiency AI compute + deterministic interconnect Control-cycle jitter, end-to-end perception latency, multi-sensor time synchronization
    Industrial control Long-term stable operation, resistance to environmental interference, easy maintenance Industrial-grade general cores + edge AI capability, with wide temperature and watchdog support MTBF (mean time between failures), wide-temperature stability, remote-operations capability

    A few extended notes:

    • Automotive electronics: Automotive-grade chips demand extremely low failure rates (measured in FIT, for example); functional-safety mechanisms such as lockstep cores and ECC are prerequisites of the architecture, not afterthoughts.
    • Robotics: Real-time control demands determinism in instruction execution; both the operating system and the hardware must provide predictable latency for critical tasks. Jitter often matters more than average latency.
    • Multimedia and interconnect: AI capability must work in concert with dedicated signal-processing units to balance interaction experience against protocol-processing throughput.

    5. Evaluation Framework: Judging Whether Something Is “Verifiable and Scalable”

    5.1 Technical Feasibility: The Effective Value of Compute

    Peak compute is not effective compute. Evaluation should focus on observable end-to-end metrics:

    • Effective compute: End-to-end latency and energy efficiency (e.g., performance per watt), not just theoretical peak.
    • Resource utilization: Memory-bandwidth utilization and accelerator occupancy.
    • Constraint satisfaction: Whether memory capacity, power budget, and thermal conditions allow the target model to run.

    5.2 Engineering Reproducibility: From Single Point to Mass Production

    Going from POC (proof of concept) to mass production crosses at least four hurdles:

    1. Hardware-software consistency: Numerical results and performance stay consistent between the simulation environment and the real chip.
    2. Toolchain maturity: The compiler, debugger, performance-analysis tools, and documentation are complete.
    3. Operator and framework coverage: Mainstream model structures can be adapted automatically.
    4. Supply and delivery: Capacity of process and packaging, long-term supply commitments, and production consistency.

    5.3 Commercial Verifiability: Revenue Structure and Customer Depth

    Steady revenue growth reflects real demand, but revenue quality deserves more attention:

    • Whether a multi-industry, multi-customer structure has formed to reduce single-point dependency risk;
    • Whether the revenue comes from volume orders rather than R&D samples or one-off projects;
    • How deeply customers use the product—for example, whether it enters their flagship product lines and whether shipment volumes can keep scaling.

    5.4 A General Evaluation Checklist

    1. # RISC-V + AI chip solution evaluation checklist (example)
    2. target_scenario: edge_vision # target scenario: edge vision
    3. workload:
    4. models: [detector_v1, segmenter_v1] # representative models
    5. input_resolution: 1920x1080
    6. frame_rate: 30
    7. hardware:
    8. cpu_cores: 4
    9. npu_peak_ops: null # do not use the nominal peak as the decision basis
    10. memory_bandwidth_gbps: null
    11. software:
    12. toolchain: ["compiler", "profiler", "debugger", "simulator"]
    13. operator_coverage_target: 0.98 # operator coverage target
    14. functional_fallback: required
    15. acceptance:
    16. end_to_end_latency_ms: 100 # end-to-end latency from capture to output
    17. latency_tail_p99_ms: 130 # tail latency
    18. energy_per_frame_mj: null # energy per frame
    19. power_budget_w: 5
    20. risk:
    21. ip_compliance: required
    22. supply_commitment_months: 60 # supply commitment period

    The checklist deliberately hard-codes no specific performance numbers. A real project should measure on data from the target scenario and fill in the thresholds, replacing “nominal values” with “measurable values.”

    Illustrative code: guarding the performance baseline after launch through monitoring and alerting.

    1. # Illustrative: collect device-side latency, throughput, and energy metrics for regression monitoring
    2. import time
    3. def observe_once(pipeline, frames=200):
    4. lat = []
    5. for _ in range(frames):
    6. t0 = time.perf_counter()
    7. pipeline.run()
    8. lat.append((time.perf_counter() - t0) * 1000) # milliseconds
    9. lat.sort()
    10. return {
    11. "latency_p50_ms": lat[len(lat) // 2],
    12. "latency_p99_ms": lat[int(len(lat) * 0.99) - 1],
    13. "throughput_fps": frames / sum(lat) * 1000,
    14. }

    Once the metrics are continuously reported to a cloud monitoring and alerting service, thresholds can be set:

    • P99 latency: Trigger an alert when it exceeds the baseline by a set percentage, indicating that the chip firmware, driver, or model version may have changed.
    • Throughput: When it drops persistently, use logging services to investigate resource contention or thermal throttling.

    6. Practical Advice for Developers

    1. Architecture design: scenario-driven, not a pile-up. First fix the power, latency, and cost constraints, then decide the compute allocation; avoid blindly chasing peak metrics.
    2. Instruction extension: compile optimization first, hardware acceleration second. Prefer compiler auto-vectorization where it suffices; when a custom instruction is truly needed, ship compiler and simulation support alongside it and guarantee a working fallback path.
    3. Software stack: layered decoupling, backward compatibility. Separate the abstraction layer from the backend so chips across generations share the same application code.
    4. Evaluation system: baseline before launch, monitoring after. Let P50/P99 latency, energy per frame, and operator coverage speak, and fold these metrics into continuous regression.
    5. IP management: clear ownership, compliance first. Track IP provenance, license terms, and architectural-test verification to avoid discovering compliance problems late in production.
    6. Cloud collaboration: general-purpose components lower the R&D barrier. Use common cloud capabilities—object storage, message queues, container platforms, logging services, and monitoring/alerting—to build compile clusters, regression pipelines, and device farms; run cross-chip-matrix compile and regression tests automatically through continuous integration, and use cloud device clusters for on-hardware validation.

    7. Conclusion

    The performance of RISC-V chip companies in the capital markets is only an external signal that RISC-V + AI technology is maturing. The real milestones are:

    • An open, extensible instruction set that brings architectural freedom;
    • Heterogeneous SoCs that turn that freedom into deliverable products;
    • Hardware-software co-design that turns hardware capability into developer usability;
    • Rigorous scenario selection and evaluation that turn technical potential into scalable value.

    Frontier directions such as quantum computing, AI for Science, brain-computer interfaces, and autonomous driving must ultimately pass the same test of “verifiable and scalable.” For developers and companies, the most worthwhile step now is to build a quantifiable evaluation system in real scenarios, so that every unit of compute converts into definite business value.