Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#4,753 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
backend, databases

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Verilog
Star
777
Fork
549
Merge trung bình
2 ngày 10 giờ
Pull request đã merge (30 ngày)
91

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của The-OpenROAD-Project/OpenROAD-flow-scripts

Tất cả issue của The-OpenROAD-Project/OpenROAD-flow-scripts

Issue tương tự

Thêm issue về Backend & API Design

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.