Skip to main content

Utility for simply creating and modifying VHDL bus slave modules

Project description

Workflow status

bust bus tool

Utility for simply creating and modifying VHDL bus slave modules.

Concept

The main goal of the project is to able to automatically create and modify VHDL bus slave modules based on a simple definition format. By employing VHDL records the handling of the registers can be completely hidden in a module separate from the rest of the design. All referring to the registers are done via a record that specifies if the register is read-only or read-write, and also includes the name. All bus-specific signals are also wrapped in records. This increases the readability of the design as a whole.

Bus support

bust currently supports these bus standards:

Requirements

bust is developed in an environment with python 3.9.18 but should work with the following versions:

  • python 3.9
  • python 3.10
  • python 3.11

bust does NOT support python 2.7 and neither should you!

Getting Started

Install the latest relase by using pip:

pip install bust

Usage

bust.py FILE [-o DIR]

bust.py --version

bust.py -h | --help

Examples

The examples folder contains JSON files for the bus types supported. The files are human-readable to the point that you can create your own from this template alone. The folder also contains the output files generated based on the JSON files.

Simulation

Simulation scripts are made solely for Modelsim/Questasim. For any other simulators, you need to compile everything yourselves. All testbenches require UVVM - which can be cloned from their Github page.

IPBus

IPBus requires the bus package file from the IPBus firmware repo and the custom IPBus BFM repo.

See the example files for how you point to the specific folders.

Latest Development Version (Bleeding Edge)

The latest development version can be found in the dev branch on Github. Clone the repo and check out the branch.

git clone https://github.com/olagrottvik/bust.git

cd bust

git checkout dev

pip install -r requirements.txt

python -m bust

Release Notes

Release notes can be found on the Releases page.

Contributing

If you have ideas on how to improve the project, please review CONTRIBUTING.md for details. Note that we also have a Code of Conduct.

License

This project is licensed under the MIT license - see LICENSE 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

bust-0.14.1.tar.gz (39.6 kB view details)

Uploaded Source

File details

Details for the file bust-0.14.1.tar.gz.

File metadata

  • Download URL: bust-0.14.1.tar.gz
  • Upload date:
  • Size: 39.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for bust-0.14.1.tar.gz
Algorithm Hash digest
SHA256 59338272203c226da6c6b8023c5a092fc50ffa37bd318b07ff67d7811d078ed9
MD5 4009ee1b9d3c75ec76420cf7fb0545f6
BLAKE2b-256 42b7bf97b86b9473b70dc9737e1b38c0801ba9c1a649e8473de898318bd06ac9

See more details on using hashes here.

Supported by

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