BSIM4_ANALYZER_DIM


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

Automatic BSIM4 Analysis Tool for CMOS 130nm DIM (L/W Sweep)
⚑ DIM-based model generation with Short-Channel Effects (SCE) + Fully Automated Analysis Flow


πŸ“˜ Overview

BSIM4_ANALYZER_DIM is a Python + ngspice environment for performing automatic L/W sweep analysis
of MOSFET Vg–Id and Vd–Id characteristics based on BSIM4 models.

The tool generates netlists, runs ngspice, extracts model parameters, and outputs plots fully automatically.

In addition, the DIM model generation step incorporates Short-Channel Effects (SCE), enabling realistic
130nm device behavior:

This enables dimension-aware device modeling for education, research, and standard-cell engineering.


πŸ“ Directory Structure

BSIM4_ANALYZER_DIM/
β”‚
β”œβ”€ models/
β”‚   β”œβ”€ 130nm_nmos_lxxx.sp
β”‚   β”œβ”€ 130nm_nmos_wxxx.sp
β”‚   β”œβ”€ 130nm_pmos_lxxx.sp
β”‚   └─ 130nm_pmos_wxxx.sp
β”‚
β”œβ”€ templates/
β”‚   β”œβ”€ template_vg_dim.cir
β”‚   └─ template_vd_dim.cir
β”‚
β”œβ”€ run/
β”‚   β”œβ”€ run_vg_dim.py
β”‚   └─ run_vd_dim.py
β”‚
β”œβ”€ plot/
β”‚   β”œβ”€ plot_vg_dim.py
β”‚   └─ plot_vd_dim.py
β”‚
└─ results/
    └─ 130nm/
        β”œβ”€ l_vg/
        β”œβ”€ w_vg/
        β”œβ”€ l_vd/
        └─ w_vd/

βš™ Analysis Conditions

Temperature

Technology

L Sweep (W = 1 Β΅m fixed)

0.10, 0.13, 0.16, 0.20, 0.50, 1.00 Β΅m

W Sweep (L = 0.13 Β΅m fixed)

0.50, 1.00, 2.00, 5.00, 10.00 Β΅m

Both NMOS and PMOS are fully analyzed.


πŸš€ How to Run

β–  Vg–Id Sweep

python run/run_vg_dim.py

β–  Vd–Id Sweep

python run/run_vd_dim.py

πŸ“Š Example Output Files

From:

results/130nm/l_vg/

You will see files such as:

130nm_nmos_L013_vg.cir
130nm_nmos_L013_vg.dat
130nm_nmos_L013_vg.csv
130nm_nmos_L013_vg.log
130nm_nmos_L013_vg.png  (generated by plot_vg_dim.py)

🧩 Template Specifications

β–  template_vg_dim.cir

β–  template_vd_dim.cir


πŸ“ˆ Extracted Parameters

β–  From Vg–Id

β–  From Vd–Id


πŸ”¬ DIM Model Generation with SCE Effects

generate_dim_models.py adjusts BSIM4 parameters based on device dimensions (L & W)
to reproduce short-channel physics realistically.

βœ” Vth Roll-off

βœ” DIBL

Enhanced:

βœ” Mobility Degradation

βœ” Narrow-Width Effect

These adjustments produce realistic L/W dependence of:


πŸ“˜ Why DIM Analysis Is Important

The framework enables exploration of:


πŸ“Ž Reference Examples (Screenshots)


β–  Vg–Id (L Sweep, NMOS, Linear)


β–  Vd–Id (L Sweep, NMOS, Linear)


β–  L vs. Id_sat (NMOS)


πŸ—‚ Version

Version: 1.0 (DIM Base / SCE Adjusted)
Last Update: 2025-01

πŸ“„ Hybrid License

Item License Description
Source Code MIT License Free to use, modify, redistribute
Documentation / Text Materials CC BY 4.0 Attribution required
Figures / Plots / Generated Data CC BY-NC 4.0 Non-commercial use only
External Model References Original license applies Cite properly

πŸ‘€ Author

πŸ“Œ Item Details
Name Shinichi Samizo
GitHub GitHub