Get in Touch

Course Outline

RISC-V Architecture Fundamentals and Ecosystem Overview

RISC-V ISA Landscape and Industry Adoption

  • The open ISA philosophy and the RISC-V International standardization landscape
  • Establishing a mental model for RISC-V: Load-Store Architecture, Register File, and Byte Ordering
  • Comparative analysis with ARM, x86, and POWER: Trade-offs for heterogeneous computing architectures
  • Assessing ecosystem maturity: Contributions from SiFive, T-Head, Western Digital, and the expanding open-source silicon community
  • Standardized interfaces: RISC-V Privileged ISA and the Machine Software Abstraction Layer (MSBL)

Memory Models and ABI Compliance

  • Unprivileged Architecture specification: CSR mapping, exception handling, and memory hierarchies
  • RV32I / RV64I instruction sets and ABI compliance strategies for cross-platform binary portability
  • Memory ordering conventions and barrier instructions for multiprocessor systems

RISC-V Assembly Programming and Compiler Toolchain

Low-Level Instruction Programming

  • Base integer instructions (I), Multiply/Divide (M), and Atomic operations (A) extensions
  • Bitness-aware programming strategies tailored for 32-bit and 64-bit RISC-V targets
  • Calling conventions and stack frame management for embedded and real-time software systems

Compiler Toolchain Proficiency

  • LLVM-based compiler toolchain: Utilizing Clang, LLVM, and Binutils for RISC-V cross-compilation
  • Configuring linker scripts, sections, and memory layout for bare-metal and RTOS environments
  • Using compiler intrinsics, optimization levels, and profiling-driven code tuning
  • Open-source toolchain development workflows: building, testing, and packaging custom GCC/Clang toolchains

Embedded Systems Development and Real-Time Operating Systems

Bare-Metal and RTOS Programming

  • Rust systems programming for RISC-V: Leveraging zero-cost abstractions, managing unsafe memory, and developing bare-metal solutions
  • Working in No-Std environments: Custom linkers, device driver development, and memory-mapped I/O
  • Developing with Zephyr RTOS and Buildroot BSP for RISC-V targets
  • Peripheral interfacing: Programming GPIO, I2C, SPI, UART, and DMA controllers

Power and Performance Optimization

  • Clock gating, power domain management, and low-power mode optimization techniques
  • Cycle-accurate performance analysis using simulation profilers and hardware performance counters
  • Tuning real-time interrupt latency for safety-critical applications

Linux Kernel and Bootloader Development for RISC-V

Boot Firmware and Bootloader Ecosystem

  • OpenSBI (SBI specification implementation): Developing bootloader firmware
  • Implementing UEFI/EDK II on RISC-V: Building modern firmware boot stacks
  • Porting Coreboot and U-Boot for RISC-V single-board computers

Linux Kernel Integration

  • Contributing to the RISC-V mainline kernel: Device tree overlays, CPU topology, and interrupt controller (AIA) driver development
  • Vendor BSP development and kernel configuration for custom SoC platforms
  • Supporting file systems, networking stacks, and containerization (Docker, Kubernetes) on RISC-V host systems

RISC-V SoC Design and FPGA Prototyping

Multicore SoC Architecture and Integration

  • Network-on-Chip (NoC) design methodologies for RISC-V multi-core processors
  • Axi4/CHI cache coherence and inter-processor communication protocols
  • Integrating open-source IP: OpenCores, ChIPS Framework, and vendor RTL components
  • Designing bus matrices and integrating memory controllers (DDR, SRAM, eMMC, PCIe)

FPGA-Based Processor Prototyping

  • FPGA synthesis and implementation of RISC-V cores (e.g., BOOM, VexRiscv, PULP)
  • Applying SystemVerilog Assertions (SVA) and UVM-based functional verification methodology
  • Using formal verification tools and property-based testing for RISC-V core validation

RISC-V Vector Extensions and Domain-Specific Acceleration

RVV (RISC-V Vector) Extension Deep Dive

  • Vector load/store, vector-fused multiply-add (VFMA), and matrix computation acceleration
  • Variable-length vector operations (VL, VLEN) for workload-optimized SIMD execution
  • Vector mask operations, segment control, and data type flexibility for DSP and ML workloads

Custom DSP and Domain-Specific Instruction Design

  • Designing domain-specific accelerators through custom extensions and CBAR-based operand interfaces
  • Modifying compiler frontends for custom instruction generation and code emission
  • Hardware-software partitioning strategies for integrating accelerators in production SoCs

AI Acceleration and Edge Machine Learning on RISC-V

NPU Design and Integration for RISC-V Processors

  • Neural Processing Unit architecture: Systolic arrays, tensor cores, and weight compression for on-chip AI acceleration
  • Model quantization techniques (INT8, INT4, FP8) for edge deployment on RISC-V
  • Ensuring framework compatibility: TensorFlow Lite Micro, ONNX Runtime, and PyTorch Edge on RISC-V targets

Heterogeneous Computing for AI Workloads

  • Co-designing RISC-V host CPUs with AI accelerator NPUs for real-time inference pipelines
  • Optimizing memory subsystems: Managing HBM/DDR bandwidth for ML model weights and activations
  • Thermal and power budgeting for edge AI inference systems

Hardware Security and Confidential Computing on RISC-V

Physical Memory Protection and Trusted Execution

  • Physical Memory Protection (PMP) and Page Table walker security mechanisms
  • Secure Enclave/TEE architectures for RISC-V: Integrating OP-TEE and SEV-class trusted execution environments
  • Boot chain security: Establishing root of trust, secure boot, and measured launch attestation

Cryptographic Acceleration

  • RISC-V cryptographic extensions (Zk, Zkr, K extensions): Accelerating SHA, AES, RSA, RSA-PSS, and ECC
  • Integrating Post-quantum cryptography (PQC) for next-generation RISC-V processors
  • Mitigating side-channel attacks: Constant-time programming, masking, and hardware random number generators

Advanced Custom Architecture and ISA Extension Design

Domain-Specific Architecture and Custom Instruction Extensions

  • ISA extension design methodology: Encoding, encoding tables, ABI impact analysis, and the RISC-V International specification submission process
  • Designing custom register files with CBAR (Custom Base Address Registers) for operand dispatch
  • Instruction pipelining, hazard detection, and pipeline modifications for custom extensions

Verification and Signoff of Custom Architecture Modifications

  • Testbench design for custom extensions: Comparing directed vs. constraint-random stimulus generation
  • Implementing regression testing frameworks and coverage-driven verification for architectural modifications
  • Interoperability testing: Ensuring custom instructions function within established ABI constraints

Safety-Critical and Automotive RISC-V Applications

Functional Safety and Automotive Standards Compliance

  • Achieving ISO 26262 functional safety compliance for RISC-V automotive processors
  • Developing ASIL-Q classification and safety manuals for RISC-V silicon IP
  • Implementing deterministic interrupt handling, lockstep core pairs, and memory protection for safety-critical RISC-V systems

Industrial Real-Time and Edge Computing Applications

  • Meeting IEC 61508 SIL compliance and achieving deterministic scheduling on RISC-V multicore platforms
  • Developing Industrial IoT gateways with RISC-V: Connectivity, edge analytics, and OTA firmware update systems

Capstone Project: End-to-End RISC-V System Development

Full Lifecycle Project

  • Architecture specification: Designing ISA extensions and core configurations for a defined use case
  • RTL implementation in SystemVerilog with UVM testbenches and formal verification coverage
  • FPGA prototyping, boot firmware development, and bare-metal driver stack integration
  • Customizing Linux BSP and toolchains for the custom RISC-V core
  • AI workload deployment: NPU integration, model quantization, and performance benchmarking
  • Security validation: Enforcing PMP, secure boot, and benchmarking cryptographic acceleration
  • Producing technical architecture documentation, IP strategy analysis, and delivering a cross-functional team presentation

Requirements

None.

 21 Hours

Testimonials (2)

Upcoming Courses

Related Categories