Sky130 Pdkのロゴ

Sky130 Pdk

コミュニティ
Arcadia-1
sky130-pdk

Sky130A open PDK workflow for ngspice-based analog simulation. Use when an agent needs to install or locate Sky130A via Volare/open_pdks, run process-corner PVT simulations, run process Monte Carlo or mismatch-aware smoke tests, instantiate sky130_fd_pr devices, or validate Sky130A examples such as MOS Id-Vgs, ring oscillators, and five-transistor OTAs.

概要

公開者Arcadia-1
リポジトリgmoverid-skill
スキル名sky130-pdk
スター
139
フォーク
28
同梱ファイル
20
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 20個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    Arcadia-1がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Sky130 Pdk」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Arcadia-1/gmoverid-skill/tree/main/sky130-pdk
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Arcadia-1/gmoverid-skill.git /tmp/gmoverid-skill
mkdir -p .claude/skills
cp -r /tmp/gmoverid-skill/sky130-pdk .claude/skills/sky130-pdk
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSky130 Pdkを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にSky130 Pdkを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Sky130 Pdkは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Sky130A PDK Skill

Use this skill for Sky130A ngspice work with the open-source SkyWater/open_pdks PDK. It covers PDK installation, model-path discovery, process corners, process Monte Carlo, and small smoke examples.

Do not commit the PDK data itself. The sky130A/ runtime tree is installed outside the project, usually through Volare.

Quick Start

Install the PDK with Volare:

bash
python3 -m pip install --user volare
export PATH="$HOME/.local/bin:$PATH"
volare enable --pdk sky130 c6d73a35f524070e85faff4a6a9eef49553ebc2b

Run smoke examples from the skill directory:

bash
cd sky130-pdk
python3 assets/run_sky130_mos_iv_pvt_mc.py
python3 assets/run_sky130_ringosc_pvt_mc.py
python3 assets/run_sky130_five_transistor_ota_pvt_mc.py

Each script also accepts:

bash
--pdk-root <path-containing-sky130A-or-sky130A-itself>
--workdir <output-directory>
--mc-runs <N>
--jobs <parallel-ngspice-jobs>

Run direct ngspice examples:

bash
export PDK_ROOT="$(volare path)/volare/sky130/versions/$(volare output --pdk sky130)"
cd examples/ota-5t
ngspice -b tb.spi

Model Entry

Prefer the continuous model library for PVT/Monte Carlo smoke:

text
sky130A/libs.tech/combined/continuous/sky130.lib.spice

Use .lib sections:

spice
.lib ".../sky130.lib.spice" tt
.lib ".../sky130.lib.spice" ff
.lib ".../sky130.lib.spice" ss
.lib ".../sky130.lib.spice" fs
.lib ".../sky130.lib.spice" sf
.lib ".../sky130.lib.spice" mc

Common primitive devices:

spice
Xn d g s b sky130_fd_pr__nfet_01v8 l=0.15 w=1.0 nf=1
Xp d g s b sky130_fd_pr__pfet_01v8 l=0.15 w=2.0 nf=1

The continuous Sky130 models use micron-valued l and w parameters in these examples.

Included Smoke Examples

  • run_sky130_mos_iv_pvt_mc.py: NMOS Id-Vgs smoke across tt/ff/ss/fs/sf plus MC current spread.
  • run_sky130_ringosc_pvt_mc.py: three-stage CMOS ring oscillator PVT/MC frequency smoke.
  • run_sky130_five_transistor_ota_pvt_mc.py: five-transistor OTA low-frequency AC gain PVT/MC smoke.
  • examples/: three circuit folders, each with circuit.scs/.spi and a standalone tb.scs/.spi.

The ring oscillator and OTA examples belong in this skill because they are Sky130A PDK smoke/application examples. They are not generic ngspice tutorials and should not be placed in the PTM transistor-model library.

Sky130 SCS To ngspice Sky130

ngspice does not parse full Spectre .scs syntax. This skill includes a small Sky130-oriented converter for user circuit netlists:

Use --fragment when converting a user circuit/subcircuit file that will be included by another testbench. Fragment mode suppresses the auto-inserted model library, control block, and final .end:

bash
python3 assets/scs_sky130_to_ngspice_sky130.py examples/ring_oscillator/circuit.scs \
  --fragment -o /tmp/ring_oscillator.spi

The converter intentionally supports only a practical subset: parameters, include ... section=, local .scs includes, options, subckt/ends, Sky130 subcircuit instances, vsource/isource, vcvs, R/C/L passives, save, ic, measure/meas, simple tran/dc/ac/noise analyses, and basic ngspice .control pass-through. It does not translate the Sky130 PDK model files themselves; output netlists reference the installed ngspice model library.

Standalone examples are in examples/:

  • ring_oscillator/circuit.scs plus ring_oscillator/tb.scs.
  • ota-5t/circuit.scs plus ota-5t/tb.scs.
  • amp-2s-miller/circuit.scs plus amp-2s-miller/tb.scs.

Convert a standalone Spectre-style testbench directly:

bash
python3 assets/scs_sky130_to_ngspice_sky130.py examples/ota-5t/tb.scs -o /tmp/ota-5t_tb.spi
ngspice -b /tmp/ota-5t_tb.spi

References

Read these only when needed:

  • references/installation.md: installing Volare/Sky130A and locating PDK_ROOT.
  • references/ngspice-corners.md: ngspice .lib sections, PVT/MC usage, and troubleshooting.
  • references/five-transistor-ota-testbenches.md: guidance for extending the included OTA smoke bench.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Sky130 Pdk」では何ができますか?

Sky130A open PDK workflow for ngspice-based analog simulation. Use when an agent needs to install or locate Sky130A via Volare/open_pdks, run process-corner PVT simulations, run process Monte Carlo or mismatch-aware smoke tests, instantiate sky130_fd_pr devices, or validate Sky130A examples such as MOS Id-Vgs, ring oscillators, and five-transistor OTAs.

TypingMindでSky130 Pdkを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Sky130 Pdkはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSky130 Pdkをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Arcadia-1/gmoverid-skill/tree/main/sky130-pdkを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Sky130 Pdkを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Sky130 Pdkで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSky130 Pdkを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Sky130 Pdk」は無料ですか?

Arcadia-1がGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇