Skip to main content

Award-winnning package manager and build abstraction tool for HDL code

Project description

FuseSoC

CI status image

Introduction

FuseSoC is an award-winning package manager and a set of build tools for HDL (Hardware Description Language) code.

Its main purpose is to increase reuse of IP (Intellectual Property) cores and be an aid for creating, building and simulating SoC solutions.

FuseSoC makes it easier to

  • reuse existing cores
  • create compile-time or run-time configurations
  • run regression tests against multiple simulators
  • port designs to new targets
  • let other projects use your code
  • set up continuous integration

To learn more about FuseSoC head over to the User Guide.

Getting started

Installing the latest release

FuseSoC works on Linux, Windows, and macOS. It is written in Python and can be installed like any other Python package through "pip". Please refer to the full list of system requirements and installation instructions in the Installation section in the User Guide.

Quick start

To check if FuseSoC is working, and to get an initial feeling for how FuseSoC works, you can try to simulate a simple hardware design from our core libray.

First, create and enter an empty workspace

mkdir workspace
cd workspace

Install the FuseSoc base library into the workspace

fusesoc library add fusesoc-cores https://github.com/fusesoc/fusesoc-cores

Get a list of cores found in the workspace

fusesoc core list

If you have any of the supported simulators installed, you can try to run a simulation on one of the cores as well. For example, fusesoc run --target=sim i2c will run a regression test on the core i2c with Icarus Verilog. If you want to try another simulator instead, add e.g. --tool=modelsim or --tool=xcelium between run and i2c.

fusesoc --help will give you more information on commands and switches.

Did it work? Great! FuseSoC can be used to create FPGA images, perform linting, manage your IP libraries or do formal verification as well. Check out the online documentation documentation to learn more about creating your own core files and using existing ones. If it didn't work, please get in touch (see below).

Next steps

A good way to get your first hands-on experience with FuseSoC is to contribute to the LED to Believe project. This project aims to used FuseSoC to blink a LED on every available FPGA development board in existence. There are already around 40 different boards supported. If your board is already supported, great, then you can run your first FuseSoC-based design. If it's not supported, great, you now have the chance to add it to the list of supported boards. Either way, head over to LED to Believe to learn more and see how to go from a blinking LED to running a RISC-V core on an FPGA.

Need help?

FuseSoC comes with extensive online documentation.

For quick communication with the active developers, feel free to join us at the FuseSoC chat.

If you have found an issue, or want to know more about currently known problems, check out the issue tracker on GitHub.

If you are looking for professional paid support, we are happy to provide feature additions, bug fixes, user training, setting up core libraries, migrating existing designs to FuseSoC and other things. Please contact olof.kindgren@gmail.com for more information.

Contributing to FuseSoC

FuseSoC is developed by an active and friendly community, and you're welcome to join! You can read more about setting up a development environment in our Developer's Guide.

You can file bug reports and propose changes in the olofk/fusesoc repository on GitHub.

Further reading

License

FuseSoC is licensed under the permissive 2-clause BSD license, freely allowing use, modification, and distribution of FuseSoC for all kinds of projects. Please refer to the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fusesoc-2.4.tar.gz (167.3 kB view details)

Uploaded Source

Built Distribution

fusesoc-2.4-py3-none-any.whl (54.7 kB view details)

Uploaded Python 3

File details

Details for the file fusesoc-2.4.tar.gz.

File metadata

  • Download URL: fusesoc-2.4.tar.gz
  • Upload date:
  • Size: 167.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for fusesoc-2.4.tar.gz
Algorithm Hash digest
SHA256 a9392dc0be5d1dcc54ed7b20f247bb8d5a9665c90775952cd5129e398487fa96
MD5 f758231cf087427ae40527dd56771a7d
BLAKE2b-256 4cb908bfdd3d5882b86de3e2049f6f6c70eb405f1403ec3aa2d6500bb314f7be

See more details on using hashes here.

File details

Details for the file fusesoc-2.4-py3-none-any.whl.

File metadata

  • Download URL: fusesoc-2.4-py3-none-any.whl
  • Upload date:
  • Size: 54.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for fusesoc-2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6fecf1ef2e39d6ad38ddb3dc294bcfde302686e627c14359c52444129b246bb1
MD5 2305a76dad28e75e6672cf28946da5dc
BLAKE2b-256 27f18970a57bfa5e07a1da506c40b90f185a89b7d5342e7eec6d457b8257f44a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page