Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

CURRENT_ODB is unset when follow Designing a chip with an OpenRAM (sky130) #2032

Open
PeterBorisenko opened this issue Oct 30, 2023 · 3 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@PeterBorisenko
Copy link

Description

Following a tutorial I got an error in interactive mode. Any step of a tutorial which requires an interactive mode do not work.

Expected Behavior

On the command

or_gui

The openroad GUI must be opened

Environment report

open_pdks dd7771c384ed36b91a25e9f8b314355fc26561be
WARNING: issue-survey appears to be running inside the OpenLane
container.

This makes it difficult to rule out issues with your
environment.

Unless instructed specifically to do so, please run this command
outside the OpenLane container.
---

Kernel: Linux v6.2.0-33-generic
Distribution: centos 7
Python: v3.6.8 (OK)
OpenLane Git Version: 6ab36bf20edfd4d111b7a59b21f4050622a03f5a
pip: INSTALLED
python-venv: INSTALLED
---
PDK Version Verification Status: OK
---
Git Log (Last 3 Commits)

6ab36bf2 2023-10-26T15:03:27+03:00 Update Yosys (#2027) - Kareem Farid -  (HEAD -> master, tag: 2023.10.27, origin/master, origin/HEAD)
32e7a56b 2023-10-26T15:01:04+03:00 Update OpenROAD (#2028) - Kareem Farid -  ()
dc5af982 2023-10-20T14:26:03+03:00 ci: fix issue with pip package (#2022) - Vitor Bandeira -  (tag: 2023.10.21)
---
Git Remotes

origin	https://github.com/The-OpenROAD-Project/OpenLane (fetch)
origin	https://github.com/The-OpenROAD-Project/OpenLane (push)

Reproduction material

All reproduction material is according to the fresh installation of a OpenLANE

Relevant log output

OpenLane Container (6ab36bf):/openlane$ ./flow.tcl -design ./designs/ci/test_sram_macro -tag floorplan_v2 -overwrite -interactive
OpenLane 6ab36bf20edfd4d111b7a59b21f4050622a03f5a
All rights reserved. (c) 2020-2022 Efabless Corporation and contributors.
Available under the Apache License, version 2.0. See the LICENSE file for more details.

[INFO]: Using configuration in 'designs/ci/test_sram_macro/config.json'...
[INFO]: PDK Root: /home/peter/.volare
[INFO]: Process Design Kit: sky130A
[INFO]: Standard Cell Library: sky130_fd_sc_hd
[INFO]: Optimization Standard Cell Library: sky130_fd_sc_hd
[INFO]: Run Directory: /openlane/designs/ci/test_sram_macro/runs/floorplan_v2
[INFO]: Removing existing /openlane/designs/ci/test_sram_macro/runs/floorplan_v2...
[INFO]: Saving runtime environment...
[INFO]: Preparing LEF files for the nom corner...
[INFO]: Preparing LEF files for the min corner...
[INFO]: Preparing LEF files for the max corner...
[WARNING]: PNR_SDC_FILE is not set. It is recommended to write a custom SDC file for the design. Defaulting to BASE_SDC_FILE
[WARNING]: SIGNOFF_SDC_FILE is not set. It is recommended to write a custom SDC file for the design. Defaulting to BASE_SDC_FILE
% package require openlane
0.9
% set_def designs/ci/test_sram_macro/runs/floorplan_v2/results/floorplan/test_sram_macro.def
% or_gui
[ERROR]: CURRENT_ODB is unset.

% ^C
@kareefardi kareefardi added bug Something isn't working documentation Improvements or additions to documentation labels Nov 9, 2023
@donn donn added this to the 1.0.0 milestone Nov 12, 2023
@ShankarSNP
Copy link

[PeterBorisenko]

Please try the below.

set_odb designs/ci/test_sram_macro/runs/floorplan_v2/results/floorplan/test_sram_macro.odb

Then you can read the def then you give the gui command.

@donn donn removed this from the 1.0.0 milestone May 7, 2024
@kietuan
Copy link

kietuan commented May 24, 2024

Has this issue been resolved? I seem to be facing a similar problem.

@kietuan
Copy link

kietuan commented May 24, 2024

[PeterBorisenko]

Please try the below.

set_odb designs/ci/test_sram_macro/runs/floorplan_v2/results/floorplan/test_sram_macro.odb

Then you can read the def then you give the gui command.

I tried, but encountered the error stating "unable to read “::env(GLB_CFG_FILE)”: variable does not exist" while setting the odb

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

5 participants