βš™οΈ Paramus Physical Edition


Language GitHub Pages 🌐 GitHub πŸ’»
πŸ‡ΊπŸ‡Έ English GitHub Pages EN GitHub Repo EN

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

● physical/poisson.py

Computes:

● physical/iv.py

Implements simplified MOSFET I–V behavior:

● physical/mapping.py

Maps physical quantities to BSIM4 parameters:

● modelcard/build.py


🎯 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 GitHub