C risc-v

Open-source C projects categorized as risc-v

Top 23 C risc-v Projects

  • rt-thread

    RT-Thread is an open source IoT real-time operating system (RTOS).

  • chipyard

    An Agile RISC-V SoC Design Framework with in-order cores, out-of-order cores, accelerators, and more

    Project mention: Chisel: A Modern Hardware Design Language | news.ycombinator.com | 2023-12-27

    It's probably true that Chisel isn't right for industry -- Google tried it too for the TPU project and eventually went back to Verilog. That said, I think it's main win is that it is great from a research / open-source perspective.

    Taking advantage of the functional nature of Chisel enables a set of generators called Chipyard [0] for things like cores, networking peripherals, neural network accelerators, etc. If you're focusing on exploring the design space of one particular accelerator and don't care too much about the rest of the chip, you can get a customized version of the RTL for the rest of your chip with ease. All the research projects in the lab benefit from code changes to the generators.

    Chisel even enables undergraduate students (like me!) to tape out a chip on a modern-ish process node in just a semester, letting Chisel significantly reduce the amount of RTL we have to write. Most of the remaining time is spent working on the actual physical design process.

    [0]: https://github.com/ucb-bar/chipyard

    [1]: https://classes.berkeley.edu/content/2023-Spring-ELENG-194-0...

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • shecc

    A self-hosting and educational C optimizing compiler

    Project mention: A self-hosting and educational C optimizing compiler | news.ycombinator.com | 2024-01-07

    Yes, consider the case of shecc. It requires just a handful of C code lines to interpret directives set in the C preprocessor. Unlike relying on existing tools like cpp, as, or ld, shecc stands alone as a minimalist cross-compiler. This design could be particularly beneficial for students delving into the study of compiler construction. See https://github.com/sysprog21/shecc/blob/master/src/lexer.c#L...

  • RVVM

    The RISC-V Virtual Machine

  • esp32_usb_soft_host

    ESP32 software USB host through general IO pins. We can connect up to 4 USB-LS HID (keyboard mouse joystick) devices simultaneously.

  • bouffalo_sdk

    BouffaloSDK is the IOT and MCU software development kit provided by the Bouffalo Lab Team, supports all the series of Bouffalo chips. Also it is the combination of bl_mcu_sdk and bl_iot_sdk

    Project mention: RISC-V Ox64 BL808 SBC: Starting Apache NuttX Real-Time Operating System | news.ycombinator.com | 2023-11-12

    I bought a bunch of the 16Mbit flash variant for an embedded project but sadly it looks like the firmware always gets corrupted on write, and have gotten no reply from Bouffalo

    https://github.com/bouffalolab/bouffalo_sdk/issues/92

  • bl_iot_sdk

    BL602/BL702 SDK. Any technical topic, please access the following link.

    Project mention: Unveiling secrets of the ESP32: creating an open-source Mac layer | news.ycombinator.com | 2023-12-06

    For the Bouffalo Lab and Beken WiFi SoCs we already have SVD files[1] for the WiFi MAC (and likely the PHY too). Both are based on CEVA RivieraWaves IP.

    Also you might be able to use it as a SDR for the 2.4GHz band, there appears to be registers to send ADC data to Wireless SRAM. And USB 2.0 High Speed on some of the Bouffalo chips.

    1. https://github.com/bouffalolab/bl_iot_sdk/blob/master/compon...

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • mempool

    A 256-RISC-V-core system with low-latency access into shared L1 memory. (by pulp-platform)

  • pico-rv32ima

    Running Linux on RP2040 with the help of RISC-V emulation

    Project mention: Running Linux on RP2040 with the help of RISC-V emulation | /r/CKsTechNews | 2023-05-19
  • Zenroom

    Embedded no-code VM executing human-like language to manipulate data and process cryptographic operations.

  • arv32-opt

    [Tested successfully] Linux on Arduino UNO / atmega328p port of mini-rv32ima. Let's run Linux on the world's worst Linux PC (and beat Dmitry Grinberg)

    Project mention: Linux on RISC-V on Arduino Uno | news.ycombinator.com | 2023-10-14
  • riscv_em

    Simple risc-v emulator, able to run linux, written in C.

  • FT800-FT813

    Multi-Platform C code Library for EVE graphics controllers from FTDI / Bridgetek (FT810, FT811, FT812, FT813, BT815, BT816, BT817, BT818)

  • nuclei-sdk

    Nuclei RISC-V Software Development Kit

  • Veecom

    A Simple Yet Powerful RISC-V Computer

  • quasiSoC

    No-MMU Linux capable RISC-V SoC designed to be useful.

  • libhelix-mp3

    Fixed-point MP3 decoder (RISC-V port)

  • riscv-vm

    A Small RISC-V Virtual Machine

  • spu32

    Small Processing Unit 32: A compact RV32I CPU written in Verilog

  • valgrind-riscv64

    Valgrind with support for the RISCV64/Linux platform.

    Project mention: Rise: RISC-V Software Ecosystem – Linux Foundation Project | /r/RISCV | 2023-05-31

    Valgrind

  • OpenPicoRTOS

    Very small, safe, lightning fast, yet portable preemptive RTOS with SMP support

    Project mention: Share your open source work | /r/embeddedconsulting | 2023-05-23
  • qemu-pinning

    My QEMU fork with pinning (affinity) support and a few tweaks.

  • Toast-RV32i

    Pipelined RISC-V RV32I Core in Verilog

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-01-07.

C risc-v related posts

Index

What are some of the best open-source risc-v projects in C? This list will help you:

Project Stars
1 rt-thread 9,492
2 chipyard 1,411
3 shecc 1,036
4 RVVM 802
5 esp32_usb_soft_host 394
6 bouffalo_sdk 340
7 bl_iot_sdk 255
8 mempool 226
9 pico-rv32ima 200
10 Zenroom 183
11 arv32-opt 156
12 riscv_em 124
13 FT800-FT813 120
14 nuclei-sdk 108
15 Veecom 87
16 quasiSoC 84
17 libhelix-mp3 72
18 riscv-vm 65
19 spu32 60
20 valgrind-riscv64 45
21 OpenPicoRTOS 39
22 qemu-pinning 37
23 Toast-RV32i 34
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com