🧪 DRC・LVS・ERC の自動検証

🧪 Automated Checks: DRC, LVS, ERC


📘 概要|Overview

物理設計の完成後、レイアウトと回路の整合性を確認するために行われるのが
DRC(Design Rule Check)LVS(Layout vs. Schematic)ERC(Electrical Rule Check)です。

These checks—DRC (Design Rule Check), LVS (Layout vs. Schematic), and ERC (Electrical Rule Check)—are conducted
after completing the physical design to ensure consistency between layout and schematic.

これらは 設計ミスの早期発見と製造性の確保 に不可欠であり、
OpenLaneなどの自動設計フローにも組み込まれています。

They are essential for early bug detection and manufacturability, and are embedded in automated flows like OpenLane.


🔍 各種チェックの目的と役割|Purpose and Roles

項目|Check Type 検査対象|Scope 主なエラー例|Typical Errors
DRC レイアウトルール違反
Layout rule violations
配線幅不足、層間距離違反、オーバーラップ
Insufficient width, spacing violations, overlaps
LVS 回路図とレイアウトの論理一致
Logical match between schematic and layout
ネット名・端子名不整合、マクロのミス接続
Net/Pin mismatch, incorrect macro connections
ERC 電気的制約違反
Electrical constraints violations
フローティングノード、複数ドライバ、短絡
Floating nodes, multiple drivers, shorts

⚙️ チェックツールと実行例(Sky130の場合)

⚙️ Tools and Execution Examples (Sky130)

✔️ Magic による DRC|DRC via Magic

magic -d XR -rcfile sky130A.magicrc

✔️ Netgen による LVS|LVS via Netgen


✔️ ERC スクリプトによる検証|ERC Scripts


✔️ Makefile による自動化|Automation via Makefile


🎯 教材的意義|Educational Significance


🤖 応用編 第7章:自動化と実装検証技術|Applied Chapter 7: Automation and Implementation Verification

➡️ 章の詳細へ進む|Go to Chapter


© 2025 Shinichi Samizo / MIT License