This project analyzes the CMOS Inverter Circuit using LTSpice, focusing on its DC characteristics, delay, power dissipation, and noise margins. Various simulations are performed, including:
- DC Sweep Analysis
- Power Analysis
- Delay Calculation
- Voltage Transfer Characteristics (VTC)
- Effect of PMOS width (Wp) on inverter performance
The goal is to optimize transistor sizing and understand the switching behavior of CMOS inverters.
CMOS_Inverter_Analysis/
│── Documentation/ # Project documentation and analysis
│ ├── Characteristics_Of_CMOS_Inverter_Circuit.md
│ ├── CMOS_delay_detailed_analysis.md
│ ├── DC_Analysis_CMOS_Inverter.md
│ ├── DC_sweep_with_varying_Wp_analysis.md
│
│── Library/ # Required models and symbol files
│ ├── cmosn.asy # Custom NMOS symbol for LTSpice
│ ├── cmosp.asy # Custom PMOS symbol for LTSpice
│ ├── tsmc018.lib # TSMC 180nm MOSFET models
│
│── Reports/ # Generated images from simulations
│ ├── Characteristics_Of_CMOS_Inverter_Circuit.png
│ ├── CMOS_dc_sweep_Circuit.png
│ ├── CMOS_Delay_calculations.png
│ ├── CMOS_Power_Analysis_Circuit.png
│ ├── DC_Analysis_CMOS_circuit.png
│
│── Results/ # Final processed results
│ ├── Characteristics_Of_CMOS_Inverter.png
│ ├── CMOS_dc_power_analysis.png
│ ├── CMOS_delay_detailed_analysis.png
│ ├── DC_Analysis_CMOS_Inverter.png
│ ├── DC_sweep_with_varying_Wp_analysis.png
│
│── Schematics/ # LTSpice circuit schematics
│ ├── CMOS_dc_power_analysis.asc # LTSpice schematic for power analysis
│ ├── CMOS_inverter_dc_sweep.asc # LTSpice schematic for DC sweep
│ ├── CMOS_Inverter.asc # Main CMOS inverter schematic
│
│── README.md # Project documentation
│── .gitignore # Ignore unnecessary files (LTSpice backups, logs)
Ensure you have LTSpice installed. Download it from: 🔗 LTSpice Download
Optional: If you want to analyze results using Python, install the required libraries:
pip install numpy matplotlib pandas
To run the simulations:
- Open LTSpice.
- Load the
.asc
files from the Schematics/ directory. - Click Run Simulation (⏯️ button).
- Analyze the VTC curves, power, and delay characteristics.
- Schematic:
CMOS_inverter_dc_sweep.asc
- Objective: Plot the Voltage Transfer Characteristics (VTC).
- Key LTSpice commands:
.dc V2 0 1.8 0.02
.include tsmc018.lib
- Expected Output:
- Vout vs Vin plot
- Switching threshold calculation
- Schematic:
CMOS_Inverter.asc
- Objective: Measure propagation delay.
- Key LTSpice commands:
.tran 10n
.include tsmc018.lib
- Expected Output:
- Rise-time & Fall-time measurements
- tPLH, tPHL calculations
- Schematic:
CMOS_dc_power_analysis.asc
- Objective: Measure short-circuit and static power dissipation.
- Key LTSpice commands:
.meas DC SCPOWER FIND V(VDD)*I(V2) AT 0.8
.meas DC SSPOWER FIND V(VDD)*I(V2) AT 0
.include tsmc018.lib
- Expected Output:
- Power dissipation values for different inputs.
- Schematic:
DC_sweep_with_varying_Wp_analysis.asc
- Objective: Study how PMOS width (Wp) affects inverter behavior.
- Key LTSpice commands:
.step param Wp 800n 1600n 400n
.dc V2 0 1.8 0.02
.include tsmc018.lib
- Expected Output:
- VTC curve for different Wp values
- Effect on noise margins & power dissipation
📁 Find all simulation results in the Results/
directory.
Each .png
file represents the graph generated from the corresponding .asc
schematic.
Analysis | Image |
---|---|
VTC Characteristics | ![]() |
CMOS Delay Analysis | ![]() |
DC Sweep Analysis | ![]() |
Effect of Wp | ![]() |
- This project provides an in-depth CMOS inverter analysis.
- Transistor sizing significantly affects delay, power, and noise margins.
- Optimizing PMOS width (Wp) is key for balancing noise margins.
- LTSpice + Python can automate and enhance circuit analysis.