Here are some innovative undergraduate project ideas focused on RISC-V CPUs and their ecosystem:
Custom RISC-V Core with Specialized Instructions
Design a RISC-V core that includes custom instruction set extensions for a specific application domain like cryptography, machine learning inference, or signal processing. You could implement the core in Verilog/VHDL and demonstrate performance improvements for your target workload compared to standard RISC-V instructions.
RISC-V Dynamic Binary Translation Tool
Create a tool that translates x86 or ARM binaries to run on RISC-V processors in real-time. This would involve building an emulation layer that maps foreign instructions to RISC-V equivalents, handling different calling conventions, and optimizing hot code paths.
Hardware Security Extensions for RISC-V
Develop security features like memory tagging, control flow integrity checking, or side-channel attack mitigations directly in a RISC-V core. You could focus on protecting against specific vulnerabilities like Spectre/Meltdown variants or row hammer attacks.
RISC-V Superscalar Core with Advanced Branch Prediction
Build a multi-issue RISC-V processor with sophisticated branch prediction mechanisms like neural branch predictors or TAGE predictors. Compare different prediction schemes and measure their impact on performance across various benchmarks.
Domain-Specific RISC-V Compiler Optimizations
Extend an existing RISC-V compiler (like GCC or LLVM) with optimization passes tailored for specific workloads such as sparse matrix operations, graph algorithms, or embedded control systems. Demonstrate how your optimizations improve code generation.
RISC-V-based Accelerator Integration Framework
Create a framework that simplifies attaching custom hardware accelerators to RISC-V cores. This could include developing standard interfaces, driver generation tools, and a programming model that makes it easy to offload computation to accelerators.
Formal Verification Tool for RISC-V Extensions
Build a tool that formally verifies custom RISC-V instruction set extensions for correctness. This could check for issues like decode conflicts, ensure proper exception handling, and verify that new instructions don't break existing ISA guarantees.
RISC-V Performance Analysis and Visualization Platform
Develop a comprehensive tool that traces RISC-V program execution, collects performance metrics, and provides interactive visualizations to help developers understand bottlenecks. Include features like cache behavior analysis, pipeline stall identification, and instruction mix profiling.
Each of these projects offers opportunities to work across hardware design, compiler technology, system software, and performance analysis while contributing to the growing RISC-V ecosystem.