Giter Site home page Giter Site logo

asicguy / croyde-riscv Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ben-marshall/croyde-riscv

0.0 1.0 0.0 772 KB

A barebones 64-bit RISC-V micro-controller class CPU, implementing the I(nteger), M(ul/div), C(ompressed) and K(ryptography) extensions.

License: MIT License

Shell 1.13% C++ 9.96% Python 0.72% C 16.47% Tcl 0.34% Verilog 7.23% Assembly 4.74% SystemVerilog 55.06% Makefile 4.35%

croyde-riscv's Introduction

Croyde RISC-V

A 3-stage, 64-bit RISC-V rv64imck micro-controller. Build Status Documentation Status


Features & Block Diagram

This is a very simple 3-stage 64-bit micro-controller, implementing the rv64imck instruction set. It comes as a core module, and a core complex (CCX), which wraps the core with timers, boot ROM, some RAM and other small peripherals, with a memory port to the outside world.

Block Diagram

Note that the K extension is for cryptography, and is still under development.

Getting Started

FAQ

  • Can I use this for X? - Yes you can. It's all MIT licensed.

  • Should I use this for X? - Maybe. If you want a little RV64 core for your project, that is free, go for it. However, see the next bullet point.

  • Has this been verified? - I have high confidence the user level ISA and instructions is correct though the riscv-formal framework. Plus the basic RISC-V architectural tests all pass, which is a basic tyre kick. I have less confidence in the priviliged architecture and interrupts implementation, or the core complex. It works for me, and my needs, but I've not done any exhaustive verification on it.

  • What's the point of a 64-bit micro-controller? - If it's good enough for SiFive it's good enough for me. I wanted to implement RV64 in the simplest way possible to play around with on an cheap FPGA, which meant it had to be small to fit! More seriously, if your key workloads involve working on large variables, you might find a 64-bit core makes a lot of sense.

  • What's in the name? - Nothing really. Croyde is a fantastic beach for surfing near where I grew up and there wasn't much chance of someone else picking the same name.

croyde-riscv's People

Contributors

ben-marshall avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.