Skip to content

faebryk/faebryk

Repository files navigation

faebryk

[fˈɛbɹɪk]


Open-source software-defined EDA tool

Version License: MIT Pull requests open Issues open Discord PyPI - Downloads GitHub commit activity

Code style: black


About

What [is faebryk]

faebryk is an open-source software-defined electronic design automation (EDA) tool. Think of it like the evolution from EDA tools like KiCAD, Altium, Eagle... in the way those were the next step from designing electronic circuits on paper. The main idea of faebryk is to describe your product on the highest level possible and then iteratively refining the description to arrive on a complete and detailed implementation. In comparison to classic EDA and design tools which use GUIs, faebryk uses code (Python) to create designs. While the main focus is on the EDA part currently, faebryk aims to become a holistic system design tool.

How [does designing with faebryk work]

faebryk itself is just a python library that you include in your project. It is providing you with all the tools to describe and design your system and to export that design into something useful like for example a netlist, a devicetree, gerbers etc, which you then can use in the next steps of your project. Key concepts of faebryk are the graph, importers, exporters, the library and the user application. To understand how to use faebryk in your project see using faebryk.

Who [is faebryk]

faebryk is a community driven project. That means faebryk does not only consist out of core developers but also users, external contributors, moderators and you! It is founded by a group of embedded, electrical, product design and software engineers with a love for making.

Why [do we make faebryk]

We noticed that the innovations of software engineering that make fast, scalable, robust solutions possible have not found their way into hardware design. Furthermore there is a lot of duplicate work done. Think of determining the pinout of a SoC and then having to translate that exact pinout into software again or having to constantly adapt designs for supply chain issues. Additionally, hardware design has quite a big barrier of entry for makers, but we don't think it has to. Currently hardware design is also quite labor intensive with very little automation. faebryk aims to tackle all those issues and also opens up some exciting possibilities, such as benefiting from the version management and collaboration tools that are used in modern software development.

When [is faebryk being developed]

faebryk is being continuously developed. The core team focuses on core functionality and features of faebryk, as well as the general direction of the project. The strength of the community can really shine with the development of importers, exporters, libraries, and projects, but everyone is welcome to help out where they can.

Where [do we develop faebryk]

faebryk is being developed completely in the open on Github. All the information you need to start using and contributing to faebryk will be in or linked to from this repository. If you have any questions you can ask them on our Discord. For pull requests and bug-reports, see our contributing guidelines.


Using faebryk

From pip (as library)

Setup

> pip install faebryk

Running examples

> mkdir my_faebryk_project
> cd my_faebryk_project
> # download a sample from the faebryk github repo from the /examples folder
> python3 <sample_name.py>

From source (editable)

Setup

> git clone https://github.com/faebryk/faebryk.git
> cd faebryk
>
> poetry install

Running examples

> poetry shell
> python ./examples/<sample_name>.py

Development

Versioning

faebryk uses semantic versioning in the releases.

As feabryk is still in the early stages of development new releases will have a lot of (breaking) changes in them. Our roadmap(TODO) will show you where the project is going to and what you can expect in future releases.

Contributing

See CONTRIBUTING.md

To get inspiration on things to work on check out the issues.

Running your own experiments/Making samples

First follow the steps in get running from source. Then add a file in examples/ (you can use one of the examples as template). Call your file with python3 examples/<yourfile>.py.

Running tests

Run

> pytest test

Community Support

Community support is provided via Discord; see the Resources below for details.

Resources