nangate45: placement blockages exported to GDS on auto-assigned layer cause false VIA9 DRC violations

未关闭 适合新手
#4,938 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
86/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
领域
build-system

调研方向

阅读 platforms/nangate45/FreePDK45.lyt 并检查其中的层映射条目。从 flow 目录运行 make DESIGN_CONFIG=./designs/nangate45/tinyRocket/config.mk drc 以复现问题;issue 报告称,将 PLACEMENT_BLK 映射到 236/0 可以消除错误的 VIA9 违规。生成的 DRC 报告中不再包含由 placement blockage 导致的 VIA9.3 或 VIA9.4 违规时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

01_VIA9 3 02_VIA9 3 03_VIA9 4 04_VIA9 4
Subject

[Stage]: GDS generation.

Describe the bug

On nangate45/tinyRocket, KLayout DRC reports false VIA9.3 (2) and VIA9.4 (2)
violations. The marked areas match soft placement blockages around the
fakeram45_64x32 macros.
platforms/nangate45/FreePDK45.lyt enables produce-placement-blockages with
layer name PLACEMENT_BLK, but the layer-map has no entry for it and KLayout
assigns the first free layer number. Here that was 28/0, which
FreePDK45_drc.py reads as via9.

Expected Behavior

Placement blockages should not be checked as a manufacturing layer.
Suggested fix: add 'PLACEMENT_BLK : 236/0' to the layer-map in FreePDK45.lyt.

Environment
ORFS commit: 8ba54e7 (26 Nov 2026)
KLayout Python module: 0.30.14
OpenROAD commit: 93e80ffb10e39dc3ab0a8aca889c84f5a0ba8e3b
OpenSTA commit: 39f9dec68a07d658b38d7d99a493479e077c1c30
Kernel: Linux 6.18.58.1-microsoft-standard-WSL2 x86_64
OS: Ubuntu 26.04.1 LTS
Note: Env.sh warns that this OpenROAD version is outdated, and reports
bazelisk not found. The layer-map entry is also missing in ORFS commit 58710a4.
To Reproduce

With an unmodified FreePDK45.lyt:
cd flow
make DESIGN_CONFIG=./designs/nangate45/tinyRocket/config.mk drc

Relevant log output
Original:
      2 <category>'VIA9.3'</category>
      2 <category>'VIA9.4'</category>
     11 <category>METAL7_ANTENNA</category>

With 'PLACEMENT_BLK : 236/0' added to the layer-map:
     11 <category>METAL7_ANTENNA</category>
Screenshots

KLayout VIA9.3 marker (before the fix)
OpenROAD Inspector showing the soft placement blockage

Screenshot 2026-12-03 142344
Additional Context

Attached: final DEF and FreePDK45.lyt. The .lyt INCLUDES the suggested fix.
Setting produce-placement-blockages to false also removed the VIA9 errors.

主要语言
Verilog
星标
825
派生
561
平均合并
2 天 15 小时
30 天内合并 PR
84

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

The-OpenROAD-Project/OpenROAD-flow-scripts 的其他 Issue

查看 The-OpenROAD-Project/OpenROAD-flow-scripts 的全部 Issue

相似的 Issue

更多 Build System Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。