Metadata-Version: 2.1
Name: softworks
Version: 0.3.0
Summary: Software and documentation view types in Cadence Virtuoso
Keywords: circuit design,design automation,Cadence,virtuoso,SKILL,Python
Author-email: Curtis Mayberry <Curtisma3@gmail.com>
Maintainer-email: Curtis Mayberry <Curtisma3@gmail.com>
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Other Scripting Engines
Classifier: Programming Language :: Other
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Development Status :: 3 - Alpha
Requires-Dist: virtue-skill >= 0.3, < 1
Requires-Dist: pre-commit == 2.20.0 ; extra == "dev"
Requires-Dist: sphinx == 4.5.0 ; extra == "doc"
Requires-Dist: pydata-sphinx-theme == 0.9.0 ; extra == "doc"
Requires-Dist: sphinx-panels == 0.6.0 ; extra == "doc"
Requires-Dist: sphinx_copybutton == 0.5.0 ; extra == "doc"
Requires-Dist: sphinx-autobuild == 2021.3.14 ; extra == "doc"
Requires-Dist: sphinx-github-changelog == 1.2.0 ; extra == "doc"
Requires-Dist: sphinx-sitemap == 2.2.0 ; extra == "doc"
Requires-Dist: skillbridge ; extra == "optional"
Requires-Dist: pytest >=7.1.2 ; extra == "test"
Requires-Dist: pylint >= 2.14.4 ; extra == "test"
Requires-Dist: mypy >= 0.961 ; extra == "test"
Project-URL: Documentation, http://www.cascode-labs.org/softworks/
Project-URL: Home, http://www.cascode-labs.org/softworks/
Project-URL: Source, https://github.com/cascode-labs/softworks
Provides-Extra: dev
Provides-Extra: doc
Provides-Extra: optional
Provides-Extra: test

![Views supported by Softworks](docs/source/_static/logo/softworks_logo_named.jpg)

[![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/cascode-labs/softworks?include_prereleases)](https://github.com/cascode-labs/softworks/releases/latest)
[![Conda](https://img.shields.io/conda/v/conda-forge/softworks?label=conda-forge)](https://anaconda.org/conda-forge/softworks)
[![PyPI](https://img.shields.io/pypi/v/softworks)](https://pypi.org/project/softworks/)
[![GitHub issues](https://img.shields.io/github/issues/cascode-labs/softworks)](https://github.com/cascode-labs/softworks/issues)
[![PyPI - License](https://img.shields.io/pypi/l/softworks)](https://choosealicense.com/licenses/mit/)

Software and documentation view types in the Cadence Virtuoso IC design environment.

## Overview

Softworks defines cell view types for documentation and software views in
the Cadence Virtuoso integrated circuit design environment.  It supports
automated design of circuit IP and makes it accessible to the average designer.  

It is an open-source library written in SKILL++ and built on the
[Virtue SKILL and Python design automation framework](http://www.cascode-labs.org/virtue/).

![Views supported by Softworks](docs/source/_static/view_list.png)

The software views make automated design more accessible to both the average
IC design engineer and those with software experience.  It allows the
tool interface to be simplified to a simple template run script where the
inputs are defined in a dictionary and passed to an API function.

The documentation views support the development of IP libraries by attaching
the documentation directly to the cells.  This makes it easier to communicate
the performance of the cell and keep track of it.

## Custom Cell Views

| View Type   | Extensions     | Editors          | Description                 |
| ----------- | -------------- | ---------------- | --------------------------- |
| pdf         | *.pdf          | xpdf             | A pdf Document              |
| ppt         | *.pptx         | open office      | A power point presentation  |
| Excel       | *.xlsx \*.xlsm | open office      | A spreadsheet               |
| html        | *.html         | firefox          | A web page                  |
| module      | *.py \*.pyc    | VS Code, gedit   | A Python module             |
| notebook    | *.ipynb        | VS Code, gedit   | A Python Jupyter notebook   |
| markdown    | *.md           | VS Code, gedit   | A markdown document. VS code enables editing and rendering |
| yaml        | *.yml          | VS Code, gedit   | A yaml data file            |
| skill       | *.il           | Skill IDE, gedit | A SKILL code file           |
| skillpp     | *.ils          | Skill IDE, gedit | A SKILL++ code file         |

## Creating a New View

A new blank document view can be created by using the standard "File -> New -> Cell View..." selection.
Then some view types will create a new cellview directly based on a template file while the
documentation views will open a GUI.  This GUI has the option to either create the new cell view from a template or
import an existing file to the cell view.

![New Document GUI](docs/source/_static/new_doc_gui.png)

## License

Softworks is MIT licensed, see the [LICENSE file](LICENSE) for more details.

## Installation

1. Make sure Virtuoso IC6.1.8 (though it may work with other IC6 versions) 
   is installed
2. Make sure the following programs are installed to support editing the 
   associated views.
   - Libre office (pptx, xlsx)
     ```which libre```
   - xpdf (PDF)
     ```which xpdf```
   - firefox (HTML)
     ```which firefox```
3. Install by following
  [Virtue framework installation instructions](https://www.cascode-labs.org/virtue/overview/install.html#).  

4. Install Softworks using the same method as Virtue.  If skyworks wasn't a
part of your initial environment definition file when creating the environment,
then you can install them after the fact:

Conda:

```bash
conda activate virtuoso  # or your environment's name
conda install softworks
```

Pip:

```bash
pip install softworks
```

