Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#4,753 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
領域
backend, databases

調査の方向性

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 ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

The-OpenROAD-Project/OpenROAD-flow-scripts のほかの issue

The-OpenROAD-Project/OpenROAD-flow-scripts の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。