RVA23 RISC-V AI Chip: A 60 TOPS Homogeneous Fusion Architecture

    Edge AI systems are moving from simple data collection and control toward local intelligent decision-making, but general-purpose workloads and AI inference have very different compute requirements. This article examines an RVA23-based RISC-V AI chip design that uses a homogeneous fusion architecture: general-purpose and AI-first compute clusters share one ISA, one Linux system image, one address space, and one scheduling framework. It covers the rationale for unified ISA design, the cluster architecture and cache-coherent interconnect, RVA23 profile support for vector and bit-manipulation workloads, software-hardware co-design for LLM inference, OS-level scheduling and resource governance, and an integrated robotics perception-decision-control pipeline. It also outlines the evolution from a first-generation validation chip to a second-generation product with stronger general compute, AI compute, and OS scheduling capabilities.

    1. Introduction: The Edge AI Compute Dilemma

    Edge computing is undergoing a shift from “data collection and control” to “local intelligent decision-making.” As large language models and robotics move into real-world deployment, edge devices must handle not only real-time control logic, system services, and complex applications, but also local AI inference tasks such as visual perception, speech understanding, planning, and decision-making.

    These two workload classes have significantly different compute requirements. General-purpose workloads emphasize single-thread response speed, interrupt latency, and system determinism. AI workloads emphasize high throughput, high bandwidth, and sustained computation under low power. Traditional “CPU + AI accelerator” heterogeneous designs can offer strong performance in each domain, but they also carry high system integration costs. Different compute units often have separate drivers, runtimes, and memory domains. Data movement and scheduling overhead cannot be ignored, and ecosystem fragmentation limits how quickly applications can be migrated.

    Against this background, a “homogeneous fusion” computing paradigm based on a unified instruction set architecture (ISA) is considered more promising. Its core idea is to let general-purpose compute units and AI compute units share the same ISA, the same operating system, and the same scheduling mechanism. AI computation becomes a natural extension of CPU capability rather than a special peripheral.

    2. The Homogeneous Fusion Paradigm: From Heterogeneous to Homogeneous

    2.1 Why Choose a Unified ISA

    The essence of homogeneous fusion is to eliminate the “semantic gap” between compute units. Under a unified RISC-V ISA, AI compute clusters and general-purpose compute clusters share the same instruction decode logic, memory model, and process abstraction. Applications can invoke AI operators directly within the same address space, without going through host-device context switches and data copies.

    This reduces system complexity and allows AI inference tasks to participate in unified OS scheduling as threads or tasks, making priority preemption and resource isolation easier to implement.

    2.2 A Similar Evolution Path

    This design philosophy resembles the multi-core CPU cluster scheduling strategies of the mobile Internet era: under a single operating system, CPU clusters with different performance levels work together to balance high performance and low power. Homogeneous fusion can be seen as a similar evolution for the AI era. It brings AI compute capability into a unified schedulable resource pool so that system software can view all compute resources through a consistent abstraction. This avoids the engineering complexity of “driver-device-transfer” flows in traditional heterogeneous architectures.

    3. Chip System Architecture: General Cluster + AI Cluster

    3.1 General-Purpose Compute Cluster

    The general-purpose compute cluster targets the control plane, system services, and complex application logic. It emphasizes single-thread performance and multi-core scalability. Its microarchitecture prioritizes branch prediction accuracy, cache hit rate, out-of-order execution width, and interrupt response speed.

    In edge robotics scenarios, this cluster must handle visual and sensor data ingestion, state machine management, real-time control command generation, network protocol stacks, and other tasks. Because it is based on the RVA23 standard, the cluster natively supports the vector extension, bit-manipulation extension, and compressed instruction extension defined by RISC-V, providing efficient binary compatibility for system-level software.

    3.2 AI-First Compute Cluster

    The AI-first compute cluster is deeply optimized for neural network inference. Its core design goal is to achieve the highest possible operator throughput with the lowest energy consumption, especially for matrix multiply-add operations, attention mechanisms, and activation functions. The pipeline, register file, and memory hierarchy inside the AI cluster are balanced around typical operator patterns in LLM inference, such as blocked matrix multiplication and QKV computation in Transformers.

    This cluster is not a simple copy of a general-purpose CPU core. While maintaining ISA consistency, it improves AI workload performance through microarchitectural specialization, such as wider vector units, deeper pipelines, and more efficient data reuse.

    3.3 Unified Address Space and Interconnect

    The two clusters are connected through a shared memory controller and an on-chip interconnect network, forming a cache-coherent unified memory domain. This means the AI cluster and the general-purpose cluster can directly access the same memory without an additional DMA copy flow.

    For LLM inference, key data structures such as resident weights, KV cache updates, and input sequences can be accessed equally by the general-purpose cluster and the AI cluster, greatly reducing data movement overhead. The unified interconnect also supports more fine-grained power domain management, allowing the scheduler to dynamically adjust the voltage and frequency of each cluster according to workload.

    4. RVA23: A Standardized Engine

    4.1 The Role of the RVA23 Profile

    RVA23 is an architecture profile defined by RISC-V International. It packages a set of extensions that constitute a “modern RISC-V system” into a unified standard profile. For edge AI chips, the significance of RVA23 is that it can support high-performance general-purpose computing and vector/matrix computing without relying on any private extensions.

    Specifically, RVA23 covers the vector extension (RVV 1.0), vector floating-point instructions, the bit-manipulation extension, conditional operations, and other key technical requirements. This provides AI compilers with a stable target instruction set.

    4.2 How RVA23 Enables AI and General-Purpose Workloads

    The vector extension is fundamental to LLM inference. Operators such as matrix multiplication, convolution, and attention can all be mapped to vector instruction sequences. The configurable vector length feature of RVA23 allows the chip to achieve high compute density with an appropriate vector width.

    The bit-manipulation extension is critical for bit-level processing in quantized inference, such as shifts, masks, and gather operations. Conditional operation extensions can reduce branch decisions and improve execution efficiency for irregular workloads. In addition, RVA23 defines clear requirements for multi-core systems, virtualization, and security, laying a foundation for the scalability and maintainability of edge systems.

    5. Software-Hardware Co-Design for LLM Inference

    5.1 Operator-Level Optimization and Dataflow Restructuring

    LLM inference mainly consists of operators such as matrix multiplication, LayerNorm, Softmax, and rotary position encoding. On the AI-first cluster, the compiler needs to map operators to the vector pipeline and reduce memory access overhead for intermediate results through operator fusion.

    For example, merging QKV projections into one large matrix multiplication and fusing activation functions and residual addition into the same compute stage are common strategies for improving effective compute utilization.

    5.2 Weight Residency and Memory Hierarchy

    In edge scenarios, model weights often need to be loaded from external storage into on-chip cache. A reasonable weight residency strategy can significantly reduce memory bandwidth demand. System software can combine the scale and allocation of LLM weights to split weights into blocks by layer, then use synchronized prefetch and bounded caching during inference to keep the compute pipeline running without interruption.

    The memory hierarchy of the AI cluster is also optimized for these access patterns, such as enlarging the vector register file and setting up multi-level cache partitions to support longer continuous pipeline computation.

    5.3 AI Compiler Software Chain

    To compile high-level models into machine code that executes efficiently on RVA23, the software stack requires end-to-end co-design from graph optimization and operator selection to memory planning and code generation. A common industry path is to use a compiler architecture with multiple intermediate representations (IRs): parse the model into a general compute graph, perform operator fusion, layout transformation, and constant folding, and finally generate target code through RVA23-oriented instruction selection.

    Quantization support is another key point. INT8/INT16 quantized models can greatly reduce bandwidth demand. The compiler needs to automatically insert quantization/dequantization nodes and bind them with bit-processing operations in vector instructions to avoid extra overhead.

    6. Operating System Scheduling and Resource Governance

    6.1 Unified Scheduling Under a Single System Image

    The most notable system-level benefit of the homogeneous fusion architecture is that the entire chip runs only one Linux operating system image. The scheduler uses threads or tasks as the basic scheduling unit and assigns tasks to the general-purpose cluster or the AI cluster according to workload characteristics.

    For example, AI inference tasks can be bound to the AI-first cluster, while control tasks and interrupt handling can remain on the foreground general-purpose cluster. The scheduler can also perform dynamic migration, allowing idle general-purpose CPU cores to assist with simple work from the AI cluster and improve overall utilization.

    6.2 Resource Governance Mechanisms

    Edge devices usually need to meet strict resource budgets. Resource governance involves multiple dimensions, including CPU time slices, memory pages, cache capacity, and bandwidth allocation. The system needs to provide quality-of-service (QoS) guarantees for different services, such as ensuring that real-time control tasks are not blocked by background AI tasks.

    In implementation, cgroup-style task grouping can be used to assign compute quotas and memory limits to each group. At the bandwidth level, interconnect port monitoring and rate limiting can prevent intensive memory access from the AI cluster from affecting the real-time response of the general-purpose cluster.

    6.3 Latency Control and Isolation

    Under mixed AI and general-purpose workloads, latency jitter is an issue that cannot be ignored in system design. Long-running compute tasks on the AI cluster may create power and thermal pressure on the general-purpose cluster. The scheduler needs to predict energy consumption when tasks enter and adjust frequency as needed.

    In addition, the cache coherence protocol must be designed to prevent high-frequency access from the AI cluster from blocking critical paths in the general-purpose cluster. These requirements need both fine-grained control interfaces at the hardware level and dynamic decisions by the OS scheduler based on runtime monitoring data.

    7. Integration Approach for Edge AI and Robotics

    7.1 Integrated Software Stack View

    From an application perspective, the homogeneous fusion architecture provides a delivery model of “one platform, one stack, one operational surface.” Developers do not need to deal with drivers and SDKs for multiple hardware accelerators. They only need to develop for the RISC-V Linux ecosystem.

    AI inference frameworks can run inside ordinary processes and invoke AI operators through a unified runtime. Robotics frameworks can cooperate with AI inference processes through standard IPC mechanisms. This integrated view significantly reduces deployment cost and maintenance complexity for edge systems.

    7.2 Robotics Perception-Decision-Control Pipeline Example

    The following is a simplified robotics task pipeline model showing how the general-purpose cluster and AI cluster can cooperate:

    1. # Robotics perception-decision-control pipeline (illustrative)
    2. def robot_loop():
    3. while True:
    4. sensor_data = read_sensors() # General cluster: real-time read
    5. features = ai_detect(sensor_data) # AI cluster: detection/segmentation
    6. state = update_state(features) # General cluster: state estimation
    7. plan = generate_plan(state) # General cluster: path planning
    8. write_actuators(plan) # General cluster: control output
    9. def ai_detect(data):
    10. # Call the inference service on the AI-first cluster
    11. return ai_runtime.infer("detector_model", data)

    In this pipeline, AI inference appears as an in-process function call, and all compute resources are accessed within the same address space. The scheduler can intelligently allocate compute resources according to the workload characteristics of each stage, balancing real-time behavior and throughput.

    8. Two Generations of Evolution: From Validation to Mass Production

    This homogeneous fusion architecture was not achieved in a single step. The first-generation chip validated the feasibility of the paradigm and its customer value in actual deployments. The general-purpose RISC-V CPU ensured system compatibility, control-plane determinism, and engineering maintainability. ISA-integrated AI compute resources were invoked with low overhead within the same address space, significantly reducing edge deployment complexity.

    The second generation adds enhancements in three clear dimensions:

    1. Stronger general-purpose compute: Improved CPU single-thread and multi-thread performance and faster system response to support more complex edge control logic and system services.
    2. Stronger AI compute: Microarchitectural improvements in the AI cluster and fuller use of RVA23 standard extensions significantly improve compute density and energy efficiency for LLM inference.
    3. Better OS scheduling and governance: Strengthened dynamic capabilities of the unified scheduler under mixed workloads and improved resource governance mechanisms so that AI tasks and real-time tasks can coexist more harmoniously.

    These three improvements ensure that the chip can provide both general-purpose compute and AI capability under resource-constrained edge hardware limits through a compact software-hardware co-design stack, and turn that capability into scalable, cost-competitive commercial products.

    9. Conclusion

    The homogeneous fusion computing paradigm for the edge AI and robotics era is built on a unified RISC-V ISA and a single Linux system, seamlessly integrating general-purpose compute and AI compute. Through RVA23 standard extension support, LLM-oriented software-hardware co-design, and system-level scheduling and governance mechanisms, the architecture achieves an effective balance among power, cost, and system complexity.

    It allows AI computation to exist not as an “add-on device” but as part of the RISC-V CPU system. This may become one of the mainstream evolution directions for edge AI compute platforms over the next decade. Developers only need to embrace the RISC-V Linux ecosystem to gain both general-purpose and AI compute, and to deliver edge intelligent robotics products with a lower barrier to entry.