Skip to content
Back to search

gmoverid-skill

Agent skill for simulating gmoverid characteristics and gmoverid-based design

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/arcadia-1--gmoverid-skill/badge.svg)](/listings/arcadia-1--gmoverid-skill)

HTML

<a href="/listings/arcadia-1--gmoverid-skill"><img src="/api/listings/arcadia-1--gmoverid-skill/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Global Installation (available to all projects, recommended)

git clone --depth 1 https://github.com/Arcadia-1/gmoverid-skill /tmp/gmoverid-skill \
  && cp -r /tmp/gmoverid-skill/{ngspice,gmoverid,transistor-models,sky130-pdk} ~/.claude/skills/ \
  && rm -rf /tmp/gmoverid-skill

Project-Level Installation (available only to the current project)

git clone --depth 1 https://github.com/Arcadia-1/gmoverid-skill /tmp/gmoverid-skill \
  && mkdir -p .claude/skills \
  && cp -r /tmp/gmoverid-skill/{ngspice,gmoverid,transistor-models,sky130-pdk} .claude/skills/ \
  && rm -rf /tmp/gmoverid-skill

Verify Installation

Run the following in Claude Code:

/skills

The output should include `ngspice`, `gmoverid`, `transistor-models`, and `sky130-pdk`, indicating that installation succeeded.

> If you are an Agent, perform the installation steps above on behalf of the user. Choose either the global or project-level installation path according to the user's needs; no manual user action is required.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 243 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. <p align="center">
  2. <img src="openclaw.png" alt="gmoverid-skill" width="100%">
  3. </p>
  4. <h1 align="center">gmoverid-skill</h1>
  5. <p align="center">
  6. <a href="https://github.com/Arcadia-1/gmoverid-skill/stargazers"><img src="https://img.shields.io/github/stars/Arcadia-1/gmoverid-skill?style=flat-square&color=f5c542&logo=github" alt="GitHub stars"></a>
  7. <a href="https://github.com/Arcadia-1/gmoverid-skill/network/members"><img src="https://img.shields.io/github/forks/Arcadia-1/gmoverid-skill?style=flat-square&color=f5c542" alt="GitHub forks"></a>
  8. <a href="https://github.com/Arcadia-1/gmoverid-skill/issues"><img src="https://img.shields.io/github/issues/Arcadia-1/gmoverid-skill?style=flat-square&color=3fb950" alt="Open Issues"></a>
  9. <a href="https://github.com/Arcadia-1/gmoverid-skill/commits/main"><img src="https://img.shields.io/github/last-commit/Arcadia-1/gmoverid-skill?style=flat-square&color=3fb950" alt="Last Commit"></a>
  10. </p>
  11. <p align="center">
  12. <a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-3.x-blue.svg" alt="Python 3.x"></a>
  13. <img src="https://img.shields.io/badge/license-MIT-green.svg" alt="License: MIT">
  14. <a href="https://github.com/Arcadia-1/gmoverid-skill/pulls"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs Welcome"></a>
  15. <img src="https://img.shields.io/badge/ngspice-required-orange.svg" alt="ngspice required">
  16. </p>
  17. Four skill packages that give an Agent the ability to design and simulate analog circuits: **ngspice basics** / **gm/ID design** / **PTM model library** / **Sky130A PDK workflow**.
  18. > **If you are human**: the examples below include images that show each skill's output at a glance.
  19. > **If you are an AI Agent**: skip the images and go directly to [Installation](#installation). The full instructions for each skill are in its own `SKILL.md`; runnable scripts and model files are in the `assets/` directories.
  20. ## Skill Overview
  21. | Skill | Positioning | Features |
  22. |------|------|------|
  23. | **ngspice** | Beginner | 9 standard simulation examples (DC / AC / Tran / Noise) for learning SPICE from scratch |
  24. | **gmoverid** | Advanced | gm/ID characterization simulation + design API, with automatic lookup of W, Id, Vgs, fT, and gm*ro |
  25. | **transistor-models** | Model library | Full PTM model files (bulk silicon 65-180nm, HP/LP 22-45nm, FinFET 7-20nm) |
  26. | **sky130-pdk** | Open PDK workflow | Install/locate Sky130A with Volare and run ngspice PVT + Monte Carlo smoke tests |
  27. ---
  28. ## Skill 1: ngspice
  29. 9 simulation examples covering the core concepts of introductory analog circuits:
  30. | # | Type | Description | Output |
  31. |---|------|------|------|
  32. | 1 | Tran | RC charging voltage and current | `tran_rc_charging.png` |
  33. | 2 | DC | NMOS Id-Vds family of curves | `dc_nmos_iv.png` |
  34. | 3 | AC | RC low-pass filter frequency response | `ac_rc_bw.png` |
  35. | 4 | Noise | RC filter output noise spectral density | `ac_rc_bw.png` |
  36. | 5 | Tran | Sample-and-hold switch comparison | `sample_hold_compare.png` |
  37. | 6 | Tran | kT/C noise time-domain statistics | `tran_ktc_noise_hist.png` |
  38. | 7 | DC | NMOS current mirror output characteristics | `dc_current_mirror.png` |
  39. | 8 | AC | Common-source amplifier Bode plot | `ac_cs_amp_bode.png` |
  40. | 9 | DC | Transmission-gate on-resistance | `dc_tgate_ron.png` |
  41. See [`ngspice/SKILL.md`](./ngspice/SKILL.md) for usage. The Agent will automatically deploy the assets and run the examples.
  42. **NMOS Id-Vds Family of Curves**
  43. ![NMOS Id-Vds](dc_nmos_iv.png)
  44. **RC Low-Pass Filter Frequency Response**
  45. ![RC low-pass filter](ac_rc_bw.png)
  46. **RC Charging Voltage and Current**
  47. ![RC charging](tran_rc_charging.png)
  48. **kT/C Noise Time-Domain Statistics**
  49. ![kT/C noise statistics](tran_ktc_noise_hist.png)
  50. ---
  51. ## Skill 2: gmoverid
  52. Each process node generates three sets of standard plots:
  53. **IV Characteristic Plot** (2x2)
  54. - Id vs Vov in linear scale: clearly shows the threshold and saturation current
  55. - Id vs Vov in log scale: subthreshold slope and an approximately 7-decade dynamic range
  56. - Id vs Vgs (full sweep from 0 to VDD)
  57. - Output characteristics, Id vs Vds (multiple curves at fixed Vgs values)
  58. ![IV characteristic plot](gmoverid_iv_nmos45hp_L45nm.png)
  59. **gm/ID Four-Quadrant Characteristic Plot** (2x2)
  60. - **gm/ID vs Vov**: full weak-inversion to strong-inversion behavior, including the BJT limit q/kT = 38.6 V^-1 and the 2/Vov asymptote reference
  61. - **Id/W vs gm/ID** (log Y-axis): current density as the bias point changes, spanning approximately 3 decades
  62. - **fT vs gm/ID**: cutoff frequency; PTM 180nm peaks at about 50 GHz, while PTM 22nm HP exceeds 600 GHz
  63. - **gm*ro vs gm/ID**: intrinsic gain distribution versus bias point; 180nm reaches about 40-42 in weak inversion (gm/ID ~= 20), while 22nm HP is only 2-4 because of significant short-channel effects
  64. ![gm/ID four-quadrant characteristic plot](gmoverid_nmos45hp_L45nm.png)
  65. **Gate Capacitance Plot**
  66. - Cgg / Cgs / Cgd / Cgb vs Vgs: shows capacitance distribution and transitions from cutoff to threshold to strong inversion
  67. **Comparison Plots**
  68. - Channel-length comparison (L = 180 / 360 / 1000 nm): longer channels significantly improve gm*ro (up to ~140), with a corresponding reduction in fT
  69. - Cross-node comparison (180nm SVT vs 22nm HP): clearly shows the speed-gain tradeoff across technology generations
  70. ![Gate capacitance plot](gmid_nmos_caps_comp.png)
  71. **Design API**: given a gm/ID target, automatically looks up W, Id, Vgs, gm, fT, and gm*ro
  72. ```python
  73. from design_gmoverid import GmIdTable, print_op
  74. tbl = GmIdTable('nmos180', W=10.0, L=0.18, vds=0.9)
  75. op = tbl.size(gmid=15.0, Id=100e-6) # Fixed gm/ID and drain current; solve for W
  76. op = tbl.size_from_ft(5e9, W=20.0) # fT >= 5 GHz; choose the lowest-power operating point
  77. print_op(op)
  78. ```
  79. The first call automatically runs the ngspice simulation and caches the result. Later calls read directly from the cache.
  80. The package includes three built-in PTM models: **180 / 45 / 22 nm**. Once installed, it is ready for simulation. If you need more process nodes, install the `transistor-models` skill.
  81. ---
  82. ## Skill 3: transistor-models
  83. PTM (Predictive Technology Model) is a public SPICE model set maintained by Arizona State University (ASU), intended for process exploration and teaching or research when no PDK is available. This skill packages all models from [mec.umn.edu/ptm](https://mec.umn.edu/ptm):
  84. - Traditional bulk silicon: 180 / 130 / 90 / 65 nm
  85. - Bulk silicon HP/LP: 45 / 32 / 22 nm
  86. - PTM-MG FinFET (multi-gate): 20 / 16 / 14 / 10 / 7 nm, HP + LSTP
  87. It is independent of `gmoverid`. `gmoverid` already includes commonly used nodes; install this skill only when you need additional nodes such as 32nm LP or 7nm FinFET.
  88. Copy the required `.lib` files from `transistor-models/assets/models/` into your project's `models/` directory as needed:
  89. ```bash
  90. cp transistor-models/assets/models/bulk_cmos/ptm32lp.lib <project-dir>/models/
  91. cp transistor-models/assets/models/finfet/nmos7mg_hp.lib <project-dir>/models/
  92. ```
  93. File naming rules:
  94. - `bulk_cmos/ptm{node}{hp|lp}.lib` - bulk silicon HP/LP, including NMOS + PMOS (model names: `nmos` / `pmos`)
  95. - `bulk_cmos/ptm{node}.lib` - traditional bulk silicon, including NMOS + PMOS
  96. - `finfet/{n|p}mos{node}mg_{hp|lstp}.lib` - FinFET (model names: `nfet` / `pfet`)
  97. For the detailed parameter table, see [`transistor-models/references/model_params.md`](./transistor-models/references/model_params.md).
  98. ---
  99. ## Skill 4: sky130-pdk
  100. Sky130A is a real open PDK workflow, not a PTM model file. This skill does not vendor the PDK payload; it teaches the Agent how to install or locate Sky130A with Volare/open_pdks and how to run ngspice PVT + Monte Carlo smoke tests.
  101. Included smoke examples:
  102. - NMOS Id-Vgs across `tt/ff/ss/fs/sf` plus MC current spread.
  103. - Three-stage CMOS ring oscillator frequency across process corners and MC.
  104. - Five-transistor OTA low-frequency gain across process corners and MC.
  105. - Standalone `.scs` and ngspice `.spi` examples for `ring_oscillator`, `ota-5t`, and `amp-2s-miller`, plus a small Sky130 SCS-to-ngspice-Sky130 converter for user circuit netlists.
  106. Typical install:
  107. ```bash
  108. python3 -m pip install --user volare
  109. export PATH="$HOME/.local/bin:$PATH"
  110. volare enable --pdk sky130 c6d73a35f524070e85faff4a6a9eef49553ebc2b
  111. ```
  112. Run a smoke test from a cloned repo:
  113. ```bash
  114. git clone https://github.com/Arcadia-1/gmoverid-skill
  115. cd gmoverid-skill/sky130-pdk
  116. python3 assets/run_sky130_mos_iv_pvt_mc.py --mc-runs 3
  117. python3 assets/run_sky130_ringosc_pvt_mc.py --mc-runs 3
  118. python3 assets/run_sky130_five_transistor_ota_pvt_mc.py --mc-runs 3
  119. ```
  120. Run a direct ngspice example:
  121. ```bash
  122. export PDK_ROOT="$(volare path)/volare/sky130/versions/$(volare output --pdk sky130)"
  123. cd gmoverid-skill/sky130-pdk/examples/ota-5t
  124. ngspice -b tb.spi
  125. ```
  126. Typical model entry:
  127. ```spice
  128. .lib "$PDK_ROOT/sky130A/libs.tech/combined/continuous/sky130.lib.spice" tt
  129. .lib "$PDK_ROOT/sky130A/libs.tech/combined/continuous/sky130.lib.spice" mc
  130. ```
  131. See [`sky130-pdk/SKILL.md`](./sky130-pdk/SKILL.md) for usage.
  132. ## Copyright Notice
  133. The model files are copyrighted by the Arizona State University PTM project and are free for academic research. Please cite the following when using them:
  134. - Bulk CMOS nodes:
  135. > W. Zhao and Y. Cao, "New Generation of Predictive Technology Model for Sub-45 nm Early Design Exploration," *IEEE Transactions on Electron Devices*, vol. 53, no. 11, pp. 2816-2823, Nov. 2006. doi: [10.1109/TED.2006.884077](https://doi.org/10.1109/TED.2006.884077)
  136. - PTM-MG FinFET nodes (only the 7-20nm models in `transistor-models`):
  137. > S. Sinha, G. Yeric, V. Chandra, B. Cline and Y. Cao, "Exploring sub-20nm FinFET design with Predictive Technology Models," *DAC 2012*, pp. 283-288. doi: [10.1145/2228360.2228414](https://doi.org/10.1145/2228360.2228414)
  138. ---
  139. ## Installation
  140. ### Global Installation (available to all projects, recommended)
  141. ```bash
  142. git clone --depth 1 https://github.com/Arcadia-1/gmoverid-skill /tmp/gmoverid-skill \
  143. && cp -r /tmp/gmoverid-skill/{ngspice,gmoverid,transistor-models,sky130-pdk} ~/.claude/skills/ \
  144. && rm -rf /tmp/gmoverid-skill
  145. ```
  146. ### Project-Level Installation (available only to the current project)
  147. ```bash
  148. git clone --depth 1 https://github.com/Arcadia-1/gmoverid-skill /tmp/gmoverid-skill \
  149. && mkdir -p .claude/skills \
  150. && cp -r /tmp/gmoverid-skill/{ngspice,gmoverid,transistor-models,sky130-pdk} .claude/skills/ \
  151. && rm -rf /tmp/gmoverid-skill
  152. ```
  153. ### Verify Installation
  154. Run the following in Claude Code:
  155. ```
  156. /skills
  157. ```
  158. The output should include `ngspice`, `gmoverid`, `transistor-models`, and `sky130-pdk`, indicating that installation succeeded.
  159. > If you are an Agent, perform the installation steps above on behalf of the user. Choose either the global or project-level installation path according to the user's needs; no manual user action is required.
  160. ## Requirements
  161. - [ngspice](http://ngspice.sourceforge.net/) (installed globally on the system)
  162. - Python 3, with dependencies: `numpy`, `matplotlib`, `scipy`; `volare` is recommended for Sky130A PDK installation
  163. <p align="center">
  164. <a href="./README.zh-CN.md"><img alt="中文 README" src="https://img.shields.io/badge/README-%E4%B8%AD%E6%96%87-blue?style=for-the-badge"></a>
  165. </p>

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.