All Projects → siliconcompiler → zerosoc

siliconcompiler / zerosoc

Licence: other
Demo SoC for SiliconCompiler.

Programming Languages

Verilog
626 projects
python
139335 projects - #7 most used programming language
SystemVerilog
227 projects

ZeroSoC

ZeroSoC is a RISC-V SoC designed to demonstrate the capabilities of SiliconCompiler. ZeroSoC consists of an Ibex core, UART and GPIO peripherals from the OpenTitan project, and 8 KB of RAM.

Getting Started

Clone the repository and all its submodules:

$ git clone [email protected]:siliconcompiler/zerosoc.git
$ cd zerosoc
$ git checkout stable
$ git submodule update --init --recursive
$ pip install -r python-requirements.txt

Building ZeroSoC locally for ASIC or FPGA targets requires installing external tools. This page contains links to installation instructions for SC's supported tools. The build script also supports remote builds, which do not require installing additional tools.

Note: The ZeroSoC tip of main is considered unstable and may not be compatible with the latest SiliconCompiler. To ensure compatibility, we recommend checking out the stable tag and using the most recent release version of SC.

Usage

build.py is ZeroSoC's build script, based around the SiliconCompiler Python API. Running this script with no options initiates a local ZeroSoC ASIC build, and runs DRC and LVS on the final GDS.

Running build.py --help gives information on additional options:

-h, --help        show this help message and exit
--fpga            Build FPGA bitstream.
--core-only       Only build ASIC core GDS.
--top-only        Only integrate ASIC core into padring. Assumes core already built.
--floorplan-only  Only generate floorplans.
--dump-flowgraph  Only dump diagram of flowgraphs.
--no-verify       Don't run DRC and LVS.
--remote          Run on remote server. Requires SC remote credentials.

Floorplan tutorial

ZeroSoC's floorplan is defined in floorplan.py using SiliconCompiler's Python-based floorplanning API. You can find a step-by-step tutorial describing how to write this floorplan from scratch here.

FPGA

For more details on how to run the ZeroSoC FPGA demo, see here.

License

Apache License 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].