Skip to main content

Control and Status Register map generator for FPGA/ASIC projects

Project description

Corsair

Documentation Status PyTest Status PyPI version

corsair_arch

Corsair is a tool that makes it easy to organize and support control and status register (CSR) map for any FPGA/ASIC project. You just need to create and fill single CSR map description file once and then generate HDL code, headers, documentation and etc.

It is as easy as:

  • Create CSR map description file or generate a template with Corsair:
corsair --template-regmap regs.json
  • Make changes to regs.json
  • Generate output artifacts:
corsair -r regs.json --hdl --lb-bridge --docs
  • You will get:
    • Register map HDL code
    • Bridge to some standart interface (e.g. AXI-Lite, depends on configuration)
    • Document, describing the map

For more details about ways the tool can be used and how it works please refer the documentation at Read the docs.

Installation

Depending on your system, Python executable might be python or python3. If there any permissions issues, add --user key to the installation scripts.

You can install the latest stable release:

python3 -m pip install -U corsair

To install development verision satisfy dependencies first:

python3 -m pip install gitpython

Then you can use pip:

python3 -m pip install -U git+https://github.com/esynr3z/corsair.git

Or alternatively:

git clone https://github.com/esynr3z/corsair.git
cd corsair
python3 setup.py install

Development

Corsair is still under development. Please follow the Developers Guide.

License

Corsair is licensed under MIT License.

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

corsair-0.3.0.tar.gz (20.7 kB view hashes)

Uploaded Source

Built Distribution

corsair-0.3.0-py3-none-any.whl (24.0 kB view hashes)

Uploaded Python 3

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