Python package for the Ghent University Gavanon course (Geavanceerd Analoog Ontwerp, English: Advanced Analog Design ).
Project description
gavanon
Python package for the Ghent University Gavanon course (Geavanceerd Analoog Ontwerp, English: Advanced Analog Design ).
This package let you define transistors and voltage/current sources so you can basically make an operational amplifier. The data of the transistors and sources is translated to a skill file which can be inported in Cadence.
Small example:
from gavanon import (Transistor, DoubleTransistor, NMOS, PMOS,
VoltageSource, CurrentSource,
CadenceCell, CadenceLib)
Mdiff = DoubleTransistor("nmos")
Mdiff.ID = 5e-3 # Choose current
Mdiff.gmoverid = 10 # Choose gm over ID
Mdiff.gm = Mdiff.gmoverid*Mdiff.ID
W_over_L = Mdiff.gm**2/2/Mdiff.ID/NMOS.KP_n # Piecewise linear model
Mdiff.W = W_over_L*Mdiff.L
Mdiff.ng = 10 # Set number of gates
ota_cell = CadenceCell("Simple_OTA")
ota_cell += Mdiff
lib = CadenceLib("CadenceLib")
lib += ota_cell
lib.export_sizing("simple_ota_sizing.il")
For more information see the simple_ota jupyter notebook in tests.
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
Built Distribution
File details
Details for the file gavanon-0.0.tar.gz
.
File metadata
- Download URL: gavanon-0.0.tar.gz
- Upload date:
- Size: 186.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6d5975148698e6cfc153b3645b34358737057dad0b3592da2085070aad23816 |
|
MD5 | 874187a43e3abedf30a5e0685d44c7f8 |
|
BLAKE2b-256 | 162e72e7bc36b90d74bded9331b8bf2ab2962007268628b37778e523ae1d79ba |
File details
Details for the file gavanon-0.0-py3-none-any.whl
.
File metadata
- Download URL: gavanon-0.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f73bb557e47c087dd08ae25c2c17dd8e8a6a0b553b429c5bbf9b1379f7d1102b |
|
MD5 | e196ee861220fcc85e0387fca9113bf4 |
|
BLAKE2b-256 | 897e1dcbae4e6fa3c7832f9d82054034beea475afc63209ccaf3e262fd116491 |