# 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:
```python
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.
Raw data
{
"_id": null,
"home_page": null,
"name": "gavanon",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "Advanced Analog Design, Geavanceerd Analoog Ontwerp, Ghent University, Universiteit Gent",
"author": "Senne Vanden Berghe",
"author_email": "sennevandenberghe2002@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/16/2e/72e7bc36b90d74bded9331b8bf2ab2962007268628b37778e523ae1d79ba/gavanon-0.0.tar.gz",
"platform": null,
"description": "# gavanon\r\nPython package for the Ghent University Gavanon course (Geavanceerd Analoog Ontwerp, English: Advanced Analog Design ).\r\n\r\nThis package let you define transistors and voltage/current sources so you can basically make an operational amplifier.\r\nThe data of the transistors and sources is translated to a skill file which can be inported in Cadence.\r\n\r\nSmall example:\r\n```python\r\nfrom gavanon import (Transistor, DoubleTransistor, NMOS, PMOS,\r\n VoltageSource, CurrentSource,\r\n CadenceCell, CadenceLib)\r\n\r\nMdiff = DoubleTransistor(\"nmos\")\r\nMdiff.ID = 5e-3 # Choose current\r\nMdiff.gmoverid = 10 # Choose gm over ID\r\nMdiff.gm = Mdiff.gmoverid*Mdiff.ID\r\nW_over_L = Mdiff.gm**2/2/Mdiff.ID/NMOS.KP_n # Piecewise linear model\r\nMdiff.W = W_over_L*Mdiff.L\r\nMdiff.ng = 10 # Set number of gates\r\n\r\nota_cell = CadenceCell(\"Simple_OTA\")\r\nota_cell += Mdiff \r\n\r\nlib = CadenceLib(\"CadenceLib\")\r\nlib += ota_cell\r\nlib.export_sizing(\"simple_ota_sizing.il\")\r\n```\r\n\r\nFor more information see the simple_ota jupyter notebook in tests.\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python package for the Ghent University Gavanon course (Geavanceerd Analoog Ontwerp, English: Advanced Analog Design ).",
"version": "0.0",
"project_urls": {
"Documentation": "https://github.com/S3nn3k3/gavanon",
"Source Code": "https://github.com/S3nn3k3/gavanon"
},
"split_keywords": [
"advanced analog design",
" geavanceerd analoog ontwerp",
" ghent university",
" universiteit gent"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "897e1dcbae4e6fa3c7832f9d82054034beea475afc63209ccaf3e262fd116491",
"md5": "e196ee861220fcc85e0387fca9113bf4",
"sha256": "f73bb557e47c087dd08ae25c2c17dd8e8a6a0b553b429c5bbf9b1379f7d1102b"
},
"downloads": -1,
"filename": "gavanon-0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e196ee861220fcc85e0387fca9113bf4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 9041,
"upload_time": "2024-07-23T19:19:38",
"upload_time_iso_8601": "2024-07-23T19:19:38.292236Z",
"url": "https://files.pythonhosted.org/packages/89/7e/1dcbae4e6fa3c7832f9d82054034beea475afc63209ccaf3e262fd116491/gavanon-0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "162e72e7bc36b90d74bded9331b8bf2ab2962007268628b37778e523ae1d79ba",
"md5": "874187a43e3abedf30a5e0685d44c7f8",
"sha256": "f6d5975148698e6cfc153b3645b34358737057dad0b3592da2085070aad23816"
},
"downloads": -1,
"filename": "gavanon-0.0.tar.gz",
"has_sig": false,
"md5_digest": "874187a43e3abedf30a5e0685d44c7f8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 186748,
"upload_time": "2024-07-23T19:19:41",
"upload_time_iso_8601": "2024-07-23T19:19:41.489524Z",
"url": "https://files.pythonhosted.org/packages/16/2e/72e7bc36b90d74bded9331b8bf2ab2962007268628b37778e523ae1d79ba/gavanon-0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-23 19:19:41",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "S3nn3k3",
"github_project": "gavanon",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "gavanon"
}