Skip to content
b-asic-edaPublic

About

B-ASIC is a Python library for the design and implementation of static algorithms in hardware

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Repository files navigation

tests codecov GitHub License GitHub Actions Workflow Status

B-ASIC is a Python framework for efficient hardware implementation of static algorithms. It provides a path from algorithm to RTL code while giving the designer full control of every step.

Documentation

https://b-asic.org/

Installation

pip install git+https://github.com/b-asic-eda/b-asic.git

Rendering graphs requires Graphviz to be installed separately.

A Qt binding is required for GUIs (optional feature) — install either PyQt6 or PySide6:

pip install PyQt6

Example

from b_asic import SFG, Delay, Input, Output

# Build the signal flow graph of a 7-tap FIR filter
x = Input(name="x")

d0 = Delay(x)
d1 = Delay(d0)
d2 = Delay(d1)
d3 = Delay(d2)
d4 = Delay(d3)
d5 = Delay(d4)

y = Output(
    0.5 * x + 0.25 * d0 + 0.25 * d1 + 0.5 * d2 + 0.25 * d3 + 0.25 * d4 + 0.5 * d5,
    name="y",
)

fir = SFG(x, y, name="7-tap FIR")
fir.show()

Contributing

Contributions are very welcome. Bug reports, feature requests, and pull requests are all appreciated. See the contributing guide for how to set up a development environment, run tests, and build the docs.

License

B-ASIC is distributed under the MIT license.

About

B-ASIC is a Python library for the design and implementation of static algorithms in hardware

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages