Skip to content

fan-deng2000/black-parrot-repo

 
 

Repository files navigation

Description

BlackParrot aims to be the default Linux-capable, cache-coherent, RV64GC multicore used by the world.

Getting started

Getting Started

Project Status

The next release of BlackParrot, v 1.0, is coming in January 2020, and will contain support for 1 to 24-way cache coherent multicore, and include baseline user and privilege mode functionality and run Linux.

A 14-nm BlackParrot multicore chip was taped out in July 2019.

BlackParrot repository overview

  • bp_fe/ contains the front-end (FE) of BlackParrot, responsible for speculative fetching of instructions.
  • bp_be/ contains the back-end (BE) of BlackParrot, responsible for atomically executing instructions, as well as logically controlling the FE.
  • bp_me/ contains the memory-end (ME) of BlackParrot, responsible for servicing memory/IO requests as well as maintaining cache coherence between BlackParrot cores.
  • bp_top/ contains configurations of FE, BE, and ME components. For instance, tile components and NOC assemblies.
  • bp_common/ contains the interface components which connect FE, BE and ME. FE, BE, ME may depend on bp_common, but not each other.
  • external/ contains submodules corresponding to tooling that BlackParrot depends upon, such as the riscv-gnu-toolchain and Verilator.

BlackParrot software developer guide

Working document is here: https://docs.google.com/document/d/11kXYtJNYU8KpUl5uo1vKjAUDdxn5DxK5cAOT29KwN7Y/edit#

BlackParrot interface specification

BlackParrot is an aggresively modular design: communication between the components is performed over a set of narrow interfaces. The interfaces are designed to allow implementations of the FE, BE or ME to change independently of one another.

Interface specification

BlackParrot microarchitectural specification

Coming soon!

BlackParrot Manifesto

  • Be TINY
    • When deliberating between two options, consider the one with least hardware cost/complexity.
  • Be Modular
    • Prevent tight coupling between modules by designing latency insenstive interfaces.
  • Be Friendly
    • Combat NIH, welcome external contributions and strive for infrastructure agnosticism.

How to contribute

Contribution Guide

BlackParrot style guide

BlackParrot Style Guide

CI

Below is the current status of BlackParrot CI builds. Upon commit to the listed branch, a Verilator-based regression consisting of full-system riscv-tests and module level tests is run and checked for correctness.

NOTE: Work is in progress to continuously verify synthesizability and PPA.

master: Gitlab CI

dev: Gitlab CI

About

A Linux-capable host multicore for and by the world

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Verilog 46.5%
  • C 26.2%
  • SystemVerilog 10.3%
  • Mercury 4.3%
  • C++ 4.0%
  • Python 3.5%
  • Other 5.2%