How a CPU works: Bare metal C on my RISC-V toy CPU

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Digital

    A digital logic designer and circuit simulator.

    I have been building a CPU using: https://github.com/hneemann/Digital

    Much faster than Logisim, UI a little clunky, but my CPU runs around 0.5Mhz and it has very nice peripherals like Telnet, graphics ram, VGA etc

    Terrible name that is hard to google, but great tool.

  • InfluxDB

    Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.

    InfluxDB logo
  • fpga-experiments

    You are right :)

    Here's the repo: https://github.com/fnoeding/fpga-experiments

    I'll update the post with it too.

  • qtrvsim

    RISC-V CPU simulator for education purposes

    - source & native releases: https://github.com/cvut/qtrvsim

    It visualizes the inner workings of a basic RISC-V CPU, you can choose a basic single-cycle CPU, or a full 5-stage pipelined CPU with a hazard unit.

    I also recently wrote a 5-stage RISC-V CPU in SystemVerilog, the implementation should be reasonably well-commented: https://github.com/MatejKafka/risc-v_pipelined_cpu

  • risc-v_pipelined_cpu

    RISC-V CPU with a 5-stage pipeline, written in SystemVerilog

    - source & native releases: https://github.com/cvut/qtrvsim

    It visualizes the inner workings of a basic RISC-V CPU, you can choose a basic single-cycle CPU, or a full 5-stage pipelined CPU with a hazard unit.

    I also recently wrote a 5-stage RISC-V CPU in SystemVerilog, the implementation should be reasonably well-commented: https://github.com/MatejKafka/risc-v_pipelined_cpu

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Digital: A digital logic designer and circuit simulator

    1 project | news.ycombinator.com | 10 Aug 2024
  • Logik: Open-source FPGA toolchain by Zero ASIC

    3 projects | news.ycombinator.com | 3 Apr 2024
  • Looking for Recommended Circuit Simulation Software

    1 project | /r/FPGA | 18 Jun 2023
  • 4 bit multiplier, logic visualized

    1 project | /r/desmos | 5 May 2023
  • Digital – Logic designer and circuit simulator designed for educational purposes

    1 project | news.ycombinator.com | 6 Apr 2023