What's Happening?
OnionSoC, a RISC-V microcontroller chip designed from scratch using SystemVerilog, has successfully run on a real Digilent Arty A7-35T FPGA board at 71.4 MHz. This project demonstrates the viability of open-source tools in chip design, with OnionSoC also
having a chip layout and being runnable in a web browser. The microcontroller features a 5-stage RV32IM pipeline with forwarding, branch prediction, and instruction and data caches. It includes various peripherals such as UART, SPI, I2C, GPIO, PWM, timers, watchdog, and DMA. The design also incorporates a JTAG debugger compatible with standard OpenOCD and GDB, and a small fixed-point multiply-accumulate unit for mathematical operations. Recent updates in version 2.2 introduced user mode with memory protection, a priority interrupt controller, sleep and stop modes, and packed SIMD instructions for int8 and Q15 mathematics.
Why It's Important?
The development of OnionSoC highlights the growing potential and maturity of the open-source hardware movement, particularly within the RISC-V ecosystem. By providing a complete, from-scratch microcontroller design that can be implemented on FPGAs and laid out as a chip using open-source tools, this project lowers the barrier to entry for hardware development. This could foster innovation in custom silicon solutions for various U.S. industries, from embedded systems to specialized computing. The ability to customize and verify processor designs without proprietary licensing fees, a core advantage of RISC-V, offers significant cost savings and flexibility for companies. Furthermore, the project's detailed testing against reference simulators and its use of open-source toolchains like OpenLane/OpenROAD contribute to a more transparent and collaborative hardware development environment, potentially accelerating technological advancements and reducing reliance on single-vendor solutions.
What's Next?
Future plans for OnionSoC include optimizing the design to push the FPGA clock speed higher by addressing the five slowest timing paths. Additionally, there are intentions to integrate the SIMD multipliers into the FPGA's DSP blocks for improved performance. The ongoing development of OnionSoC, which began before the recent hackathon, suggests a continuous effort to refine and enhance its capabilities. This iterative development process, coupled with its open-source nature, means that the project could serve as a foundational element for other developers and researchers. The project's success in running on a remote Arty board also points to the potential for collaborative development and testing across geographical boundaries, further democratizing access to advanced hardware design. Continued improvements could lead to more widespread adoption of RISC-V in various applications.
Beyond the Headlines
The OnionSoC project underscores a significant shift in the semiconductor industry towards open standards and collaborative development, challenging traditional proprietary models. This movement, exemplified by RISC-V, promotes greater transparency, security, and customization in processor design. For the U.S., this could lead to enhanced supply chain resilience by diversifying chip manufacturing and design capabilities, reducing dependence on foreign intellectual property. Ethically, open-source hardware fosters a more inclusive technological landscape, allowing smaller companies and academic institutions to innovate without prohibitive licensing costs. Legally, the open standard nature of RISC-V mitigates intellectual property disputes that often plague proprietary architectures. Culturally, it encourages a community-driven approach to complex engineering challenges, potentially accelerating the pace of technological evolution and fostering a new generation of hardware designers.













