volare


Namevolare JSON
Version 0.19.1 PyPI version JSON
download
home_pageNone
SummaryAn open_pdks PDK builder/version manager
upload_time2024-08-20 18:32:10
maintainerNone
docs_urlNone
authorEfabless Corporation
requires_python>3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1 align="center">⛰️ Volare</h1>
<p align="center">
    <a href="https://opensource.org/licenses/Apache-2.0"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" alt="License: Apache 2.0"/></a>
    <img src="https://github.com/efabless/volare/actions/workflows/ci.yml/badge.svg?branch=main" alt="CI Status" />
    <a href="https://invite.skywater.tools"><img src="https://img.shields.io/badge/Community-Skywater%20PDK%20Slack-ff69b4?logo=slack" alt="Invite to the Skywater PDK Slack"/></a>
    <a href="https://github.com/psf/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code Style: Black"/></a>
</p>

<p align="center">Volare is a version manager (and builder) for builds of <a href="https://github.com/google/open-source-pdks">Google open-source PDKs</a> using <a href="https://github.com/rtimothyedwards/open_pdks">open_pdks</a>.</p>

# Requirements
* Python 3.6+ with PIP
* macOS or GNU/Linux

## macOS
Get [Homebrew](https://brew.sh) then:

```sh
brew install python3
```

## Debian and Ubuntu
Debian 10+ or Ubuntu 18.04+ is required.

```sh
sudo apt-get update
sudo apt-get install python3 python3-pip xz-utils
```

## RHEL and Derivatives
RHEL 7+ or compatible operating system required.
```sh
sudo yum install -y python3 python3-pip
```


# Installation and Upgrades
```sh
# To install (or upgrade)
python3 -m pip install --upgrade --no-cache-dir volare

# To verify it works
volare --version
```

## Troubleshooting
With a typical Python 3.6 or higher installation with PIP, installing `volare` is as simple as a `pip install`. Despite that, there are some peculiarities with PIP itself: For example, you may see a warning among these lines:

```sh
  WARNING: The script volare is installed in '/home/test/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
```

The solution is as simple as adding something like this to your shell's profile:

```sh
export PATH="/home/test/.local/bin:$PATH"
```

Do note that the path (`/home/test/.local/bin` in this example) varies depending on your operating system and version of Python you install, and whether you use `sudo` (absolutely not recommended) or not, so ensure that you actually read the warning and add the correct path.

# About the builds
In its current inception, volare supports builds of **sky130** and **gf180mcu** PDKs using [Open_PDKs](https://github.com/efabless/open_pdks), including the following libraries:

|sky130|gf180mcu|
|-|-|
|sky130_fd_io|gf180mcu_fd_io|
|sky130_fd_pr|gf180mcu_fd_pr|
|sky130_fd_sc_hd|gf180mcu_fd_sc_mcu7t5v0|
|sky130_fd_sc_hvl|gf180mcu_fd_sc_mcu9t5v0|
|sky130 sram modules|gf180mcu_fd_ip_sram|

All builds are identified by their **open_pdks** commit hash.

# Usage
Volare requires a so-called **PDK Root**. This PDK root can be anywhere on your computer, but by default it's the folder `~/.volare` in your home directory. If you have the variable `PDK_ROOT` set, volare will use that instead. You can also manually override both values by supplying the `--pdk-root` commandline argument.

## Listing All Available PDKs
To list all available pre-built PDKs hosted in this repository, you can just invoke `volare ls-remote --pdk <PDK>`. If you omit the `--pdk` argument, `sky130` will be used as a default.

```sh
$ volare ls-remote --pdk sky130
Pre-built sky130 PDK versions
├── 44a43c23c81b45b8e774ae7a84899a5a778b6b0b (2022.08.16) (enabled)
├── e8294524e5f67c533c5d0c3afa0bcc5b2a5fa066 (2022.07.29) (installed)
├── 41c0908b47130d5675ff8484255b43f66463a7d6 (2022.04.14) (installed)
├── 660c6bdc8715dc7b3db95a1ce85392bbf2a2b195 (2022.04.08)
├── 5890e791e37699239abedfd2a67e55162e25cd94 (2022.04.06)
├── 8fe7f760ece2bb49b1c310e60243f0558977dae5 (2022.04.06)
└── 7519dfb04400f224f140749cda44ee7de6f5e095 (2022.02.10)

$ volare ls-remote --pdk gf180mcu
Pre-built gf180mcu PDK versions
└── 120b0bd69c745825a0b8b76f364043a1cd08bb6a (2022.09.22)
```

It includes a commit hash, which is the `open_pdks` version used to build this particular PDK, the date that this commit was created, and whether you already installed this PDK and/or if it is the currently enabled PDK.

## Listing Installed PDKs
Typing `volare ls --pdk <pdk>` in the terminal shows you your PDK Root and the PDKs you currently have installed. Again, if you omit the `--pdk` argument, `sky130` will be used as a default.

```sh
$ volare ls --pdk sky130
/home/test/volare/sky130/versions
├── 44a43c23c81b45b8e774ae7a84899a5a778b6b0b (2022.08.16) (enabled)
├── e8294524e5f67c533c5d0c3afa0bcc5b2a5fa066 (2022.07.29)
└── 41c0908b47130d5675ff8484255b43f66463a7d6 (2022.04.14)
```

(If you're not connected to the Internet, the release date of the commit will not be included.)


## Downloading and Enabling PDKs
You can enable a particular sky130 PDK by invoking `volare enable --pdk <pdk> <open_pdks commit hash>`. This will automatically download that particular version of the PDK, if found, and set it as your currently used PDK.

For example, to activate a build of sky130 using open_pdks `7519dfb04400f224f140749cda44ee7de6f5e095`, you invoke `volare enable --pdk sky130 7519dfb04400f224f140749cda44ee7de6f5e095`, as shown below:

```sh
$ volare enable --pdk sky130 7519dfb04400f224f140749cda44ee7de6f5e095
Downloading pre-built tarball for 7519dfb04400f224f140749cda44ee7de6f5e095… ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
Unpacking…                                                                  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
PDK version 7519dfb04400f224f140749cda44ee7de6f5e095 enabled.
```

What's more is: if you're using a repository with a `tool_metadata.yml` file, such as [OpenLane](https://github.com/The-OpenROAD-Project/OpenLane) or [DFFRAM](https://github.com/Cloud-V/DFFRAM), you can just invoke `volare enable --pdk sky130` without the commit hash and Volare will automatically extract the version required by the utility. Once again, if you omit the `--pdk` argument, `sky130` will be used as a default.

## Building PDKs
For special cases, you may have to build the PDK yourself, which Volare does support.

You'll need Magic installed and in PATH. You can either do that manually or, if you have [Nix](https://nixos.org), invoke `nix shell github:efabless/openlane2#magic` before building.

You can invoke `volare build --help` for more options. Be aware, the built PDK won't automatically be enabled and you'll have to `volare enable` the appropriate version.

# License
The Apache License, version 2.0. See 'License'.



            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "volare",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Efabless Corporation",
    "author_email": "donn@efabless.com",
    "download_url": "https://files.pythonhosted.org/packages/ba/91/64fb0d894588782a5d721cb90405c79ec8dd50fd94e082d2f6f9ad664fa3/volare-0.19.1.tar.gz",
    "platform": null,
    "description": "<h1 align=\"center\">\u26f0\ufe0f Volare</h1>\n<p align=\"center\">\n    <a href=\"https://opensource.org/licenses/Apache-2.0\"><img src=\"https://img.shields.io/badge/License-Apache%202.0-blue.svg\" alt=\"License: Apache 2.0\"/></a>\n    <img src=\"https://github.com/efabless/volare/actions/workflows/ci.yml/badge.svg?branch=main\" alt=\"CI Status\" />\n    <a href=\"https://invite.skywater.tools\"><img src=\"https://img.shields.io/badge/Community-Skywater%20PDK%20Slack-ff69b4?logo=slack\" alt=\"Invite to the Skywater PDK Slack\"/></a>\n    <a href=\"https://github.com/psf/black\"><img src=\"https://img.shields.io/badge/code%20style-black-000000.svg\" alt=\"Code Style: Black\"/></a>\n</p>\n\n<p align=\"center\">Volare is a version manager (and builder) for builds of <a href=\"https://github.com/google/open-source-pdks\">Google open-source PDKs</a> using <a href=\"https://github.com/rtimothyedwards/open_pdks\">open_pdks</a>.</p>\n\n# Requirements\n* Python 3.6+ with PIP\n* macOS or GNU/Linux\n\n## macOS\nGet [Homebrew](https://brew.sh) then:\n\n```sh\nbrew install python3\n```\n\n## Debian and Ubuntu\nDebian 10+ or Ubuntu 18.04+ is required.\n\n```sh\nsudo apt-get update\nsudo apt-get install python3 python3-pip xz-utils\n```\n\n## RHEL and Derivatives\nRHEL 7+ or compatible operating system required.\n```sh\nsudo yum install -y python3 python3-pip\n```\n\n\n# Installation and Upgrades\n```sh\n# To install (or upgrade)\npython3 -m pip install --upgrade --no-cache-dir volare\n\n# To verify it works\nvolare --version\n```\n\n## Troubleshooting\nWith a typical Python 3.6 or higher installation with PIP, installing `volare` is as simple as a `pip install`. Despite that, there are some peculiarities with PIP itself: For example, you may see a warning among these lines:\n\n```sh\n  WARNING: The script volare is installed in '/home/test/.local/bin' which is not on PATH.\n  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\n```\n\nThe solution is as simple as adding something like this to your shell's profile:\n\n```sh\nexport PATH=\"/home/test/.local/bin:$PATH\"\n```\n\nDo note that the path (`/home/test/.local/bin` in this example) varies depending on your operating system and version of Python you install, and whether you use `sudo` (absolutely not recommended) or not, so ensure that you actually read the warning and add the correct path.\n\n# About the builds\nIn its current inception, volare supports builds of **sky130** and **gf180mcu** PDKs using [Open_PDKs](https://github.com/efabless/open_pdks), including the following libraries:\n\n|sky130|gf180mcu|\n|-|-|\n|sky130_fd_io|gf180mcu_fd_io|\n|sky130_fd_pr|gf180mcu_fd_pr|\n|sky130_fd_sc_hd|gf180mcu_fd_sc_mcu7t5v0|\n|sky130_fd_sc_hvl|gf180mcu_fd_sc_mcu9t5v0|\n|sky130 sram modules|gf180mcu_fd_ip_sram|\n\nAll builds are identified by their **open_pdks** commit hash.\n\n# Usage\nVolare requires a so-called **PDK Root**. This PDK root can be anywhere on your computer, but by default it's the folder `~/.volare` in your home directory. If you have the variable `PDK_ROOT` set, volare will use that instead. You can also manually override both values by supplying the `--pdk-root` commandline argument.\n\n## Listing All Available PDKs\nTo list all available pre-built PDKs hosted in this repository, you can just invoke `volare ls-remote --pdk <PDK>`. If you omit the `--pdk` argument, `sky130` will be used as a default.\n\n```sh\n$ volare ls-remote --pdk sky130\nPre-built sky130 PDK versions\n\u251c\u2500\u2500 44a43c23c81b45b8e774ae7a84899a5a778b6b0b (2022.08.16) (enabled)\n\u251c\u2500\u2500 e8294524e5f67c533c5d0c3afa0bcc5b2a5fa066 (2022.07.29) (installed)\n\u251c\u2500\u2500 41c0908b47130d5675ff8484255b43f66463a7d6 (2022.04.14) (installed)\n\u251c\u2500\u2500 660c6bdc8715dc7b3db95a1ce85392bbf2a2b195 (2022.04.08)\n\u251c\u2500\u2500 5890e791e37699239abedfd2a67e55162e25cd94 (2022.04.06)\n\u251c\u2500\u2500 8fe7f760ece2bb49b1c310e60243f0558977dae5 (2022.04.06)\n\u2514\u2500\u2500 7519dfb04400f224f140749cda44ee7de6f5e095 (2022.02.10)\n\n$ volare ls-remote --pdk gf180mcu\nPre-built gf180mcu PDK versions\n\u2514\u2500\u2500 120b0bd69c745825a0b8b76f364043a1cd08bb6a (2022.09.22)\n```\n\nIt includes a commit hash, which is the `open_pdks` version used to build this particular PDK, the date that this commit was created, and whether you already installed this PDK and/or if it is the currently enabled PDK.\n\n## Listing Installed PDKs\nTyping `volare ls --pdk <pdk>` in the terminal shows you your PDK Root and the PDKs you currently have installed. Again, if you omit the `--pdk` argument, `sky130` will be used as a default.\n\n```sh\n$ volare ls --pdk sky130\n/home/test/volare/sky130/versions\n\u251c\u2500\u2500 44a43c23c81b45b8e774ae7a84899a5a778b6b0b (2022.08.16) (enabled)\n\u251c\u2500\u2500 e8294524e5f67c533c5d0c3afa0bcc5b2a5fa066 (2022.07.29)\n\u2514\u2500\u2500 41c0908b47130d5675ff8484255b43f66463a7d6 (2022.04.14)\n```\n\n(If you're not connected to the Internet, the release date of the commit will not be included.)\n\n\n## Downloading and Enabling PDKs\nYou can enable a particular sky130 PDK by invoking `volare enable --pdk <pdk> <open_pdks commit hash>`. This will automatically download that particular version of the PDK, if found, and set it as your currently used PDK.\n\nFor example, to activate a build of sky130 using open_pdks `7519dfb04400f224f140749cda44ee7de6f5e095`, you invoke `volare enable --pdk sky130 7519dfb04400f224f140749cda44ee7de6f5e095`, as shown below:\n\n```sh\n$ volare enable --pdk sky130 7519dfb04400f224f140749cda44ee7de6f5e095\nDownloading pre-built tarball for 7519dfb04400f224f140749cda44ee7de6f5e095\u2026 \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 100% 0:00:00\nUnpacking\u2026                                                                  \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 100% 0:00:00\nPDK version 7519dfb04400f224f140749cda44ee7de6f5e095 enabled.\n```\n\nWhat's more is: if you're using a repository with a `tool_metadata.yml` file, such as [OpenLane](https://github.com/The-OpenROAD-Project/OpenLane) or [DFFRAM](https://github.com/Cloud-V/DFFRAM), you can just invoke `volare enable --pdk sky130` without the commit hash and Volare will automatically extract the version required by the utility. Once again, if you omit the `--pdk` argument, `sky130` will be used as a default.\n\n## Building PDKs\nFor special cases, you may have to build the PDK yourself, which Volare does support.\n\nYou'll need Magic installed and in PATH. You can either do that manually or, if you have [Nix](https://nixos.org), invoke `nix shell github:efabless/openlane2#magic` before building.\n\nYou can invoke `volare build --help` for more options. Be aware, the built PDK won't automatically be enabled and you'll have to `volare enable` the appropriate version.\n\n# License\nThe Apache License, version 2.0. See 'License'.\n\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "An open_pdks PDK builder/version manager",
    "version": "0.19.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "33a910e52f723019a53ebb294ee38e3c81ea24ac6855ecc1ddc25b47ef8d1aef",
                "md5": "f08ae7e10cd28b3b9b0dfa6ac2564880",
                "sha256": "f838453803288e149544cad2482f205787a6ae041dd1f6fef01205f6dfa6f7c4"
            },
            "downloads": -1,
            "filename": "volare-0.19.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f08ae7e10cd28b3b9b0dfa6ac2564880",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">3.6",
            "size": 32362,
            "upload_time": "2024-08-20T18:32:08",
            "upload_time_iso_8601": "2024-08-20T18:32:08.945274Z",
            "url": "https://files.pythonhosted.org/packages/33/a9/10e52f723019a53ebb294ee38e3c81ea24ac6855ecc1ddc25b47ef8d1aef/volare-0.19.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ba9164fb0d894588782a5d721cb90405c79ec8dd50fd94e082d2f6f9ad664fa3",
                "md5": "1a508af850712b24e29de822efcaa4be",
                "sha256": "e9b28dbac69d3f9b92ddf18ea72c3b01b1745281f25c5970a4d762dd5c04b19c"
            },
            "downloads": -1,
            "filename": "volare-0.19.1.tar.gz",
            "has_sig": false,
            "md5_digest": "1a508af850712b24e29de822efcaa4be",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">3.6",
            "size": 24955,
            "upload_time": "2024-08-20T18:32:10",
            "upload_time_iso_8601": "2024-08-20T18:32:10.072546Z",
            "url": "https://files.pythonhosted.org/packages/ba/91/64fb0d894588782a5d721cb90405c79ec8dd50fd94e082d2f6f9ad664fa3/volare-0.19.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-20 18:32:10",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "volare"
}
        
Elapsed time: 0.31669s