Skip to main content

genesispy

Python port of the Genesis2 Chip Generator (see https://github.com/StanfordVLSI/Genesis2). Replaces the Perl runtime with a pure-Python implementation while keeping the template hierarchy (now .vpy / .svpy). Configuration is JSON; legacy Genesis2 .xml configs convert via the bundled genesispy-xml2json helper.

Install

From PyPI

pip install genesispy

Installs the genesispy, gvpy, genesispy-vp2vpy, genesispy-xml2json, genesispy-json2xml and genesispy-jinja2j2 commands. There are no mandatory dependencies; three optional extras:

pip install 'genesispy[xml]'        # lxml: pretty-printed genesispy-json2xml
pip install 'genesispy[color]'      # colorama: coloured diagnostics
pip install 'genesispy[import-j2]'  # jinja2: required by genesispy-jinja2j2

From a checkout, without pip (recommended for developers -- bin/ launchers)

The repo ships shell launchers in bin/ (bin/genesispy, bin/gvpy) that set PYTHONPATH to the sibling src/ and exec python3 -m genesispy.cli. No build step, no pip -- just run from a checkout:

./bin/genesispy --input top.vpy --top top --json-cfg config.json

To "install" to a destination, copy bin/ and src/ together (the launchers resolve src/ as ../src relative to their own directory):

DEST=/path/to/install-dir
mkdir -p "$DEST"
cp -a bin src "$DEST/"
export PATH="$DEST/bin:$PATH"

From a checkout, with pip

pip install -e .
# or
pip install --target /path/to/install-dir .

Tests

Against the in-tree source, no install required:

PYTHONPATH=src pytest tests/

Against an installed copy (pip install -e . or pip install genesispy):

pytest tests/

Documentation

Each entry links to the rendered copy on GitHub; the local link resolves in a source checkout.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

genesispy-0.6.0.tar.gz (202.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genesispy-0.6.0-py3-none-any.whl (127.8 kB view details)

Uploaded Python 3

File details

Details for the file genesispy-0.6.0.tar.gz.

File metadata

  • Download URL: genesispy-0.6.0.tar.gz
  • Upload date:
  • Size: 202.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for genesispy-0.6.0.tar.gz
Algorithm Hash digest
SHA256 37e6f3a0ccfb3d1d40b5d3949e6e7e13cd33e0bf092ffb28a43041c765c6ae26
MD5 29234b4539756dae467d4686248adde8
BLAKE2b-256 bf04f721df4412f57e9a1dc1b2c0f2b775c24efca44c9ca929b1680e233e5f57

See more details on using hashes here.

Provenance

The following attestation bundles were made for genesispy-0.6.0.tar.gz:

Publisher: publish.yml on stfns-s/genesispy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file genesispy-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: genesispy-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 127.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for genesispy-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 93138a4cd4199d297d07a02d85d77b02808beab0a7399581528ac1e2f17ac5ad
MD5 ba8ba2272b4cb0fcbdb8f193f37418e0
BLAKE2b-256 69cc5e0ee22984dc3988e956728c2a7b7b22da0d9c8bff2b62ba60c45bc181b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for genesispy-0.6.0-py3-none-any.whl:

Publisher: publish.yml on stfns-s/genesispy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page