The-OpenROAD-Project / OpenLane

OpenLane is an automated RTL to GDSII flow based on several components including OpenROAD, Yosys, Magic, Netgen and custom methodology scripts for design exploration and optimization.
https://openlane.readthedocs.io/
Apache License 2.0
1.3k stars 369 forks source link

PDK file path not exist - sky130_ef_io__gpiov2_pad_wrapped.v moved part of sky130_ef_io.v #1128

Closed vijayank88 closed 2 years ago

vijayank88 commented 2 years ago

Description

In libs.tech/openlane/config.tcl following configuration should be updated.

set ::env(GPIO_PADS_VERILOG) "\
    $::env(PDK_ROOT)/$::env(PDK)/libs.ref/sky130_fd_io/verilog/sky130_ef_io.v\
    $::env(PDK_ROOT)/$::env(PDK)/libs.ref/sky130_fd_io/verilog/sky130_ef_io__gpiov2_pad_wrapped.v\
"

Because $::env(PDK_ROOT)/$::env(PDK)/libs.ref/sky130_fd_io/verilog/sky130_ef_io__gpiov2_pad_wrapped.v file path not exist and sky130_ef_io__gpiov2_pad_wrapped module as part of sky130_ef_io.v

Environment

python3 ./env.py issue-survey
Kernel: Linux v3.10.0-1160.49.1.el7.x86_64
Distribution: centos 7
Python: v3.6.8 (OK)
Container Engine: docker v20.10.16 (OK)
OpenLane Git Version: c22c37b5121b0fa82c833e067841932dbb096972
pip: INSTALLED
pip:venv: INSTALLED
---
PDK Version Verification Status: OK
---

Reproduction Material

Following MPW shuttle design will re-produce this error: https://github.com/shalan/Caravel_Chameleon_SoC/blob/master/openlane/chip_io/config.tcl

Quick check in PDK path:

$ gvim OpenLane/pdks/sky130A/libs.ref/sky130_fd_io/verilog/
sky130_ef_io.v      sky130_fd_io.v 

Expected behavior

Following configuration will resolve the issues of missing file path:

set ::env(GPIO_PADS_VERILOG) "\
    $::env(PDK_ROOT)/$::env(PDK)/libs.ref/sky130_fd_io/verilog/sky130_ef_io.v\
    "

Logs

2. Executing Verilog-2005 frontend: /home/vijayan/MPW_CI/OpenLane-MPW-CI/OpenLane/pdks/sky130A/libs.ref/sky130_fd_io/verilog/sky130_ef_io.v
ERROR: Can't open input file `/home/vijayan/MPW_CI/OpenLane-MPW-CI/OpenLane/pdks/sky130A/libs.ref/sky130_fd_io/verilog/sky130_ef_io__gpiov2_pad_wrapped.v' for reading: No such file or directory
child process exited abnormally
donn commented 2 years ago

Please do not add labels haphazardly.