ngspice

Run ngspice analog circuit simulations with PTM transistor models.

118|23|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/Arcadia-1/gmoverid-skill --skill ngspice
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ngspice
Source: https://github.com/Arcadia-1/gmoverid-skill/tree/main/ngspice
Command: npx skills add https://github.com/Arcadia-1/gmoverid-skill --skill ngspice

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, matplotlib, scipy, and includes scripts (resource) and assets (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive set of tools and examples for simulating analog electronic circuits using ngspice, a widely-used open-source SPICE simulator. It helps users learn SPICE simulation fundamentals and apply them to practical circuit design tasks.

Core Features & Use Cases

  • 9 Standard Simulation Examples: Covers essential analog circuit simulations like transient, DC, AC, and noise analysis.
  • PTM Model Library: Includes built-in models for 180nm, 45nm, and 22nm process nodes for realistic simulations.
  • Use Case: A circuit designer needs to verify the frequency response of a common-source amplifier. They can use this Skill to quickly set up and run an AC simulation, analyze the Bode plot, and determine the bandwidth.

Quick Start

Run the ngspice simulation for RC charging voltage and current.

Frequently Asked Questions about ngspice

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run an analog circuit simulation using ngspice?

To run an analog circuit simulation, you create a SPICE netlist and execute it using ngspice. This Skill provides standard examples for transient, DC, AC, and noise analysis to facilitate hands-on practice.

What PTM transistor models are available for SPICE simulation?

Available PTM transistor models include standard process nodes for 180nm, 45nm, and 22nm. These built-in models allow you to execute realistic analog electronic circuit simulations.

Can I plot frequency response and Bode plots for a common-source amplifier?

Yes, you can plot the frequency response of a common-source amplifier by running an AC simulation. This allows you to analyze the resulting Bode plot and determine the circuit bandwidth.

Do I need Python and matplotlib to simulate analog circuits with SPICE?

You need Python dependencies like numpy, matplotlib, and scipy to execute the provided simulation scripts and plot results. These tools handle the numerical analysis and data visualization for ngspice.

What types of analysis are covered in these analog circuit simulation examples?

The simulation examples cover transient, DC, AC, and noise analysis. These 9 standard examples help you learn SPICE fundamentals and apply them to practical electronics design tasks.