sky130ram: the macro LEFs leave met4 and all vias out of OBS (and part of met1–met3), so routes to the pins end up too close to macro metal
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by comparing the sky130ram macro LEFs with their GDS shapes using the KLayout script described in the issue; inspect PIN and OBS RECT/POLYGON coverage on met1–met4 and via layers. The issue names the four affected macros and reports that rebuilding OBS from GDS cleared the reproduced DRC markers. Done means the routing and cut shapes outside signal pins are represented in OBS and the reproduced design has no such markers.
索引モデルが issue の本文から書いたものです。
説明
Description
Comparing each sky130ram macro's GDS with its LEF (PIN and OBS shapes, RECT and POLYGON both counted), metal that is in the GDS but in neither PIN nor OBS:
| macro | met1 | met2 | met3 | met4 |
|---|---|---|---|---|
| sky130_sram_1rw1r_44x64_8 | 1,018 µm² (8.0 %) | 646 (5.1 %) | 898 (13.1 %) | all 98 shapes, 418 µm² |
| sky130_sram_1rw1r_64x256_8 | 3,230 (5.1 %) | 1,771 (2.5 %) | 5,882 (10.2 %) | all 144 shapes, 1,235 µm² |
| sky130_sram_1rw1r_80x64_8 | 1,320 (6.1 %) | 948 (4.1 %) | 1,718 (9.6 %) | all 177 shapes, 819 µm² |
| sky130_sram_1rw1r_128x256_8 | 5,063 (4.1 %) | 2,640 (1.9 %) | 5,297 (4.9 %) | all 288 shapes, 1,890 µm² |
The LEFs have no met4 at all (the met4 shapes sit along the edge with the signal pins) and no cut layers in OBS. The missing met1/met2 includes long lines, e.g. met1 151.485..151.745 × 79.545..585.445 in the 128x256 macro.
The router takes that space as free. In a small test design (a 128 × 256 FIFO on one sky130_sram_1rw1r_128x256_8, sky130hd, ORFS c06bf3c; routing DRC 0), sky130hd.lydrc found 466 markers that the macro checked on its own does not have, all inside the macro's footprint next to its pins: m1.2 148, m2.2 185, m3.2 40, m4.2 72, via.2 8, m2.7 6, m1.1 4, m1.7 3 — e.g. a met4 wire to a pin 0.135 µm from the macro's own met4 line at 332.915..333.215 × 3.305..31.05, and dout0 met1 wires 0.105 µm from unlisted met1. With an OBS rebuilt from the GDS (union of the old OBS and all met1–met4/via–via3 shapes, keeping a 0.5 µm way in to each signal pin on its own metal) the same design routes clean and the count drops to 0. (Separately from these, the macro alone has 320,604 markers from the missing SRAM core-area handling, #4735.)
To reproduce
The comparison needs only the platform files; a KLayout script that reads the LEF's PIN and OBS RECT/POLYGON shapes into one region per layer and subtracts it from the GDS layer (68/20, 69/20, 70/20, 71/20) gives the table above. The files are unchanged on current master (2021-02 OpenRAM output); no design in flow/designs/ uses them.
Suggested fix
Regenerate the LEFs (or the macros, see the vdd/gnd issue #4752) so OBS covers every routing-layer and cut-layer shape outside the pins; or document the gap and ship a script that rebuilds OBS from the GDS.
- 主要言語
- Verilog
- スター
- 777
- フォーク
- 549
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 85
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
The-OpenROAD-Project/OpenROAD-flow-scripts のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 71/100
The-OpenROAD-Project/OpenROAD-flow-scripts#4754 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
The-OpenROAD-Project/OpenROAD-flow-scripts#4726 ·
メンテナーはふだん 1 日以内に返信
-
build_openroad.sh: kepler-formal is installed with an absolute RUNPATH, so a moved or re-pointed install loads another build's libraries対応中かも @saikatchatrg が 6 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
The-OpenROAD-Project/OpenROAD-flow-scripts#4717 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Make SYNTH_HDL_FRONTEND=slang default再び着手できるかも @jeffng-or が 38 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
The-OpenROAD-Project/OpenROAD-flow-scripts#4548 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 49/100
The-OpenROAD-Project/OpenROAD-flow-scripts#4769 ·
メンテナーはふだん 1 日以内に返信
The-OpenROAD-Project/OpenROAD-flow-scripts の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
paperclipai/paperclip#18396 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
bug-unconfirmed
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
bug cad-precision priority: high
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
cofade/open-garden-planner#656 ·
メンテナーはふだん 1 日以内に返信