This release is a pre-release and may not be stable for production use.
pybis2spice
A python tool that converts IBIS models to SPICE models. The ibis model types currently supported are:
- Input
- Output
- 3-State
- Open_Drain
- I/O
This tool was originally developed and maintained by Kishan Amratia (https://github.com/kamratia1) but has since moved to a new repo (https://github.com/Jamanaman/pybis2spice) and the project will be continued there for the foreseeable future.
Usage
The bin folder holds a zipped file for each released version containing a windows executable program that can be run standalone.
The executable program allows the user to:
- Browse for an ibis model file
- Select the component and the model
- Create the SPICE subcircuit files
- View the ibis model characteristics (I-V and Voltage-Time graphs)
Spice Subcircuit option:
- LTSpice: LTSpice option produces a subcircuit file and corresponding LTSpice symbol file. This option creates a subcircuit that is specifically intended to be used with LTSpice. This is the recommended option as it provides the most flexibility for output model stimulus sources.
- Generic: generic option produces a subcircuit file that most Spice simulators should be able to parse.
- ngSPICE: ngSPICE option produces a subcircuit file that is compatible with ngSPICE and can therefore be used for KiCAD and QUCS-S simulation as well as PySPICE/InSPICE simulations. This works with the same output model stimulus sources as provided by the LTSpice option.
Corner Select:
- Weak-Slow: Combines the minimum (weak) I-V curves and minimum (slow) Voltage-Time waveforms
- Typical: Combines the typical I-V curves and typical Voltage-Time waveforms
- Fast-Strong: Combines the maximum (strong) I-V curves and maximum (fast) Voltage-Time waveforms
- All: Creates the subcircuit files for all corners simultaneously
Examples
LTSpice examples are given to highlight the different options available. These are available in the examples folder.
Contribution
Developers can contribute to the tool by forking the repository and submitting pull requests.
Issues and Feature Requests
- Please record any bugs, issues and feature requests here: https://github.com/Jamanaman/pybis2spice/issues
- Detailed information on how any issue can be reproduced should be provided including any IBIS files used and version number of the program. Screenshots would also help.
References
The tool would not be possible without the ecdtools library. This parses the ibis file into python data structures. https://ecdtools.readthedocs.io/en/latest/#
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
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 pybis2spice-1.3.0rc13-py3-none-any.whl.
File metadata
- Download URL: pybis2spice-1.3.0rc13-py3-none-any.whl
- Upload date:
- Size: 43.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ffd9a35c1fa4a650edbec29d8aad1b6d75966355de69d1eaa16eb67dbd5f44e
|
|
| MD5 |
49f832cbffd7d840ec1686aeec02bdf0
|
|
| BLAKE2b-256 |
5192fa236be59757cf56118565971ded3d1ca7fa5804bd712330483425feb0d3
|
Provenance
The following attestation bundles were made for pybis2spice-1.3.0rc13-py3-none-any.whl:
Publisher:
release.yml on Jamanaman/pybis2spice
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pybis2spice-1.3.0rc13-py3-none-any.whl -
Subject digest:
2ffd9a35c1fa4a650edbec29d8aad1b6d75966355de69d1eaa16eb67dbd5f44e - Sigstore transparency entry: 2546362610
- Sigstore integration time:
-
Permalink:
Jamanaman/pybis2spice@9ac54dc005a3cecf80299e189e6806eefb7da310 -
Branch / Tag:
refs/tags/v.1.3.0rc13 - Owner: https://github.com/Jamanaman
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9ac54dc005a3cecf80299e189e6806eefb7da310 -
Trigger Event:
push
-
Statement type: