Custom IC Creator Simulation Tools
Project description
Custom IC Creator Simulation Tools
Why
This is a script package I use to control ngspice, it can
- Run corner simulations
- Create IPs (used in wulffern/aicex )
- Create simulation directories
- View waveforms
Changelog
| Version | Comment |
|---|---|
| 0.0.1 | First version of cicsim |
| 0.0.3 | All in on open source tools |
| 0.1.2 | First version on pipy |
| 0.1.3 | github action update |
| 0.1.4 | Added waveform viewer |
| 0.1.5 | Update waveform viewer |
| 0.1.6 | wave: added search. Added docs |
| 0.1.7 | Bugfix: ngraw deprecated float_ |
| 0.1.8 | Added template command |
| 0.1.9 | Bugfix: allow absolute path in template command |
| 0.1.11 | Added directory name option (dname) to template |
| 0.1.12 | Added sndrfs and enobfs to fftWithHanning |
| 0.1.13 | Added docs |
| 0.1.14 | Nothing exiting |
| 0.1.15 | Added "archive" command to save old simulations. Added "--no-color" option |
| 0.1.16 | Fixed ngspice-45 compatibility. Fixed regex escapes. Fixed seed value handling |
| 0.1.17 | Updated docs and spec |
| 0.1.18 | Code quality overhaul: replaced os.system with subprocess, replaced eval with ast.literal_eval, migrated to Python logging module, added documentation for all CLI commands, removed setup.py in favor of pyproject.toml |
| 0.1.19 | Wave viewer overhaul: measurement cursors (A/B) with delta readout, scroll-wheel zoom, keyboard shortcuts, engineering notation on axes (EngFormatter), Export PDF, legend toggle, regex search tooltip, Help menu. Fixed pyproject.toml license for Python 3.8. Added unit tests |
Install this module
If you want to follow the latest and greatest
git clone https://github.com/wulffern/cicsim
cd cicsim
python3 -m pip install --user -e .
If you want the latest stable
python3 -m pip install cicsim
Get started with simulation
Head over to Sky130nm tutorial to see cicsim in action.
Get started with waveform viewer
Make sure you install a python version with tk. On my mac it was
brew install python-tk
Once installed, I do
cicsim wave output_tran/tran_SchGtTtKffVh_*
Wave viewer keyboard shortcuts
| Key | Action |
|---|---|
a |
Set cursor A at mouse position |
b |
Set cursor B at mouse position |
Escape |
Clear cursors |
f |
Auto scale (fit) |
r |
Reload all waves |
l |
Toggle legend |
Delete |
Remove selected wave |
Ctrl+O |
Open raw file |
Ctrl+P |
Export PDF |
Ctrl+N |
New plot tab |
Ctrl+A |
Add axis |
Ctrl+Q |
Quit |
| Scroll | Zoom x-axis |
| Shift+Scroll | Zoom y-axis |
Commands
Usage: cicsim [OPTIONS] COMMAND [ARGS]...
Custom Integrated Circuit Simulation
This package provides helper scripts for simulating integrated circuits
Check website for more information : http://analogicus.com/cicsim/
Options:
--color / --no-color Enable/Disable color output
--help Show this message and exit.
Commands:
archive Save a cicsim run output
plot Plot from rawfile
portreplace Replace ${PORTS} and ${VPORTS} with the subcircuit ports...
results Results of single runfile
run Run a ngspice simulation of TESTBENCH
simcell Create a ngspice simulation directory for a Cell
srun Run a spectre simulation of TESTBENCH
summary Generate simulation summary for results
template Run an IP template with <options> YAML file
wave Open waveform viewer
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cicsim-0.1.19.tar.gz
(37.0 kB
view details)
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
cicsim-0.1.19-py3-none-any.whl
(51.3 kB
view details)
File details
Details for the file cicsim-0.1.19.tar.gz.
File metadata
- Download URL: cicsim-0.1.19.tar.gz
- Upload date:
- Size: 37.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d97778b9943da527a6a78e1ecf37a24fec67dd45ae04e6ad38143e4bdb022b2e
|
|
| MD5 |
faf88c9df6a6be1028b2923435517d30
|
|
| BLAKE2b-256 |
87d8314749e2ff2b476acf2a45cde2f6315158156de4f07a93b3278343f2f4ff
|
File details
Details for the file cicsim-0.1.19-py3-none-any.whl.
File metadata
- Download URL: cicsim-0.1.19-py3-none-any.whl
- Upload date:
- Size: 51.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39ce80b06beeb0deb92b07f3216611c0448534c59d5e7321589d2fd5be81445b
|
|
| MD5 |
49dd68f86d6be3f96822b38b74569f6d
|
|
| BLAKE2b-256 |
e95ee67e858d082a0d38bc4c07c8918df449940541d47306a7fc8a281b6ecc94
|