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.
- doc/user-guide.md
(local) --
.vpysyntax, walkthrough, CLI reference forgenesispyandgvpy, migrating from Genesis2. - doc/code-structure.md (local) -- pipeline, dedup, control flags.
- doc/interfaces.md (local) -- module-boundary interfaces.
- doc/genesis2-incompatibilities.md (local) -- non-obvious behavior differences from Perl Genesis2.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37e6f3a0ccfb3d1d40b5d3949e6e7e13cd33e0bf092ffb28a43041c765c6ae26
|
|
| MD5 |
29234b4539756dae467d4686248adde8
|
|
| BLAKE2b-256 |
bf04f721df4412f57e9a1dc1b2c0f2b775c24efca44c9ca929b1680e233e5f57
|
Provenance
The following attestation bundles were made for genesispy-0.6.0.tar.gz:
Publisher:
publish.yml on stfns-s/genesispy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
genesispy-0.6.0.tar.gz -
Subject digest:
37e6f3a0ccfb3d1d40b5d3949e6e7e13cd33e0bf092ffb28a43041c765c6ae26 - Sigstore transparency entry: 2704457095
- Sigstore integration time:
-
Permalink:
stfns-s/genesispy@987fbe09780b19bf42b24766c82e590adecdad2a -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/stfns-s
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@987fbe09780b19bf42b24766c82e590adecdad2a -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93138a4cd4199d297d07a02d85d77b02808beab0a7399581528ac1e2f17ac5ad
|
|
| MD5 |
ba8ba2272b4cb0fcbdb8f193f37418e0
|
|
| BLAKE2b-256 |
69cc5e0ee22984dc3988e956728c2a7b7b22da0d9c8bff2b62ba60c45bc181b2
|
Provenance
The following attestation bundles were made for genesispy-0.6.0-py3-none-any.whl:
Publisher:
publish.yml on stfns-s/genesispy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
genesispy-0.6.0-py3-none-any.whl -
Subject digest:
93138a4cd4199d297d07a02d85d77b02808beab0a7399581528ac1e2f17ac5ad - Sigstore transparency entry: 2704457117
- Sigstore integration time:
-
Permalink:
stfns-s/genesispy@987fbe09780b19bf42b24766c82e590adecdad2a -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/stfns-s
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@987fbe09780b19bf42b24766c82e590adecdad2a -
Trigger Event:
release
-
Statement type: