βοΈ Paramus Physical Edition
Links
| Language | GitHub Pages π | GitHub π» |
|---|---|---|
| πΊπΈ English |
Generate BSIM4 model cards from five fundamental physical parameters
Paramus Physical Edition is a Python-based utility that automatically generates
BSIM4 SPICE model cards (.sp) from a small set of key MOSFET physical parameters:
tox / Na / Vfb / ΞΌ0 / L/W
It is designed for device engineers, students, and researchers who want a clean and interpretable
bridge between MOSFET physical characteristics and compact modeling (BSIM4).
π Project Structure
Paramus/
β
βββ modelcard/
β βββ build.py # Inserts parameters into the BSIM4 template
β βββ template_bsim4.tpl # BSIM4 model card template
β
βββ physical/
β βββ extract.py # Loads presets & interprets physical parameters
β βββ poisson.py # Surface potential & Vth calculation
β βββ iv.py # Simplified IβV model (Ids, gm)
β βββ mapping.py # Physical values β BSIM4 parameter mapping
β
βββ presets/
β βββ nmos_90nm.json
β βββ nmos_130nm.json
β βββ pmos_90nm.json
β βββ pmos_130nm.json
β
βββ paramus.py # Main entry point
βββ README.md
π How to Use
1. Move to the Paramus directory
cd Path/To/Paramus
2. Generate a model card
NMOS 130nm
python paramus.py --node 130nm --type nmos --out model.sp
PMOS 130nm
python paramus.py --node 130nm --type pmos --out pmos130.sp
NMOS 90nm
python paramus.py --node 90nm --type nmos --out nmos90.sp
Generated output example:
model.sp
π§ Input Parameters (5 Physical Quantities)
| Parameter | Description |
|---|---|
| tox | Gate oxide thickness |
| Na | Channel doping concentration |
| Vfb | Flat-band voltage |
| ΞΌ0 | Low-field mobility |
| L/W | Device geometry (length & width ratio) |
π§ Model Generation Flow
[ Physical Model ] physical/
extract.py β Load & process physical parameters
poisson.py β Compute Οs, Vth0, Cox, Es
iv.py β Compute Ids, gm
mapping.py β Map physical values to BSIM4 parameters
[ Template ] modelcard/
template_bsim4.tpl
build.py β Embed mapped values into template
[ Execution ]
paramus.py β Outputs model.sp
π Source Code Overview
β physical/extract.py
- Loads JSON preset
- Performs unit normalization
- Prepares data for Poisson / IV stages
β physical/poisson.py
Computes:
- Surface potential Οs
- Threshold voltage Vth0
- Oxide capacitance Cox
- Surface electric field Es
β physical/iv.py
Implements simplified MOSFET IβV behavior:
- Ids(Vgs, Vds)
- gm, gds
- Linear / Saturation regions
β physical/mapping.py
Maps physical quantities to BSIM4 parameters:
- ΞΌ0 β u0, ua, ub
- tox β tox, epsrox
- Οs β vth0
- SCE terms β dvt0, dvt1, eta0
β modelcard/build.py
- Replaces `` placeholders
- Outputs the final BSIM4 model card
π― Custom Presets
To use your own MOSFET parameters:
python paramus.py --preset presets/my_nmos.json --out my_model.sp
π BSIM4 Template (template_bsim4.tpl)
A standard BSIM4 template.
`` entries are filled automatically by build.py.
π Hybrid License
Paramus Physical Edition adopts a hybrid licensing model designed to handle code, documentation, and figures appropriately.
| Item | License | Description |
|---|---|---|
| Source Code | MIT License | Free to use, modify, redistribute |
| Documentation / Text Materials | CC BY 4.0 | Attribution required |
| Figures / Diagrams / Generated Plots | CC BY-NC 4.0 | Non-commercial use only |
| External References | Original license applies | Cite sources properly |
π¬ Contact
For requests, improvements, or extensions to the physical modeling,
please open an Issue in the repository.
π€ Author
| π Item | Details |
|---|---|
| Name | Shinichi Samizo |
| GitHub |