GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kuznia-rdzeni/coreblocks: RISC-V out-of-order core for education and research purposes

BranchesTags
Open more actions menu

Latest commit

 

History

763 Commits
763 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
ci
ci
 
 
constants
constants
 
 
coreblocks
coreblocks
 
 
docker
docker
 
 
docs
docs
 
 
scripts
scripts
 
 
test
test
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

Coreblocks

Coreblocks is an experimental, modular out-of-order RISC-V core generator implemented in Amaranth. Its design goals are:

  • Simplicity. Coreblocks is an academic project, accessible to students. It should be suitable for teaching essentials of out-of-order architectures.
  • Modularity. We want to be able to easily experiment with the core by adding, replacing and modifying modules without changing the source too much. For this goal, we designed a transaction system called Transactron, which is inspired by Bluespec.
  • Fine-grained testing. Outside of the integration tests for the full core, modules are tested individually. This is to support an agile style of development.
  • Wide RISC-V support. The core can currently a mainline Linux kernel.

Our current goals are:

  • Performance (up to a point, on FPGAs). We would like Coreblocks not to be too sluggish, without compromising the simplicity goal. We don't wish to compete with high performance cores like BOOM though.
  • Implementation of widely-expected RISC-V extensions including floating point, 64-bit support.

State of the project

The core currently supports the full unprivileged RV32I instruction set and a number of extensions, including:

  • M - integer multiplication and division, with Zmmul only as an option,
  • A - atomic instructions, comprising of Zaamo and Zalrsc (without multi-core support),
  • C - compressed instructions (Zca). Additionally we support Zcb,
  • B - bit manipulation, comprising of Zba, Zbb and Zbs, extensions Zbc, Zbkx and Zbkc are implemented too.

Full privileged architecture support is implemented, including virtual memory, some additional extensions, like Sstc.

Full list of supported extensions can be found in full configuration's UDB.

Coreblocks is highly configurable, providing multiple configuration points and several predefined configurations.

Coreblocks can be easily integrated with LiteX SoC generator.

As for microarchitectural features, Coreblocks implements:

  • Fully superscalar flow (front-end and back-end) with out-of-order execution,
  • Checkpointing for fast recovery from branch mispredictions,
  • Simple branch predictors,
  • Reservation stations snoop the Tomasulo bus, thus removing the need for read port per RS,
  • In ROB instructions are not packed into groups,
  • Exception data (xcause, xtval) is generated by FUs and retirement selects earliest one.

Community

We have an community IRC channel - #coreforge at libera.chat bridged with Matrix chat #coreforge:fossi-chat.org. You are welcome to join and ask questions, discuss development, or share feedback about Coreforge projects :)

Coreblocks is maintained under the Coreforge Foundation and is looking for new contributors! - Want to get involved? We will be happy to help you.

Documentation

The documentation for our project is automatically generated using Sphinx. It is currently a bit outdated.

Resource usage and maximum clock frequency is automatically measured and recorded.

Contributing

Set up the development environment following the project documentation.

For larger changes, please discuss your plans with us first, so you can ensure that the contribution fits the project and will be merged sooner. You are welcome to submit pull requests for simple contributions directly.

Acknowledgements

Coreblocks project is financially supported by NGI0 Commons Fund made possible by NLNet and European Commission.

Contact us at Coreforge Foundation if you want to support development of Coreforge projects!

This project is three-clause BSD licensed.

About

RISC-V out-of-order core for education and research purposes

kuznia-rdzeni.github.io/coreblocks/

Topics

risc-vriscv

Resources

Readme
BSD-3-Clause license
Activity
Custom properties

Stars

102 stars

Watchers

8 watching

Forks

33 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.