docker_shell: unable to run user own designs

Đang mở
#4,940 0 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
56/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker
Lĩnh vực
backend, devops

Hướng nghiên cứu

Start with the documented DockerShell entry point, util/docker_shell, and trace how it passes DESIGN_CONFIG to make in flow. Compare that path with running the same design inside Docker and inspect flow/scripts/variables.mk, where the failure reports PLATFORM is unset. Done when a user design with its own config.mk and constraints.sdc runs through Docker Shell; the issue does not identify a test.

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

Mô tả

Subject

[Documentation] for documentation errors.

Describe the bug

Hello,
Im trying to follow this documentation, https://openroad-flow-scripts.readthedocs.io/en/latest/user/DockerShell.html#run-orfs-using-docker-shell

It is working fine for the built in designs, but when I create my own designs by following the directory structure and creating config.mk and constraints.sdc , fails with below error :

++ PATH=/OpenROAD-flow-scripts/tools/install/kepler-formal/bin:/OpenROAD-flow-scripts/tools/install/yosys/bin:/OpenROAD-flow-scripts/tools/install/OpenROAD/bin:/usr/local/bin/wrapped-cc:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
++ [[ linux-gnu == \d\a\r\w\i\n* ]]
++ export FLOW_HOME=/OpenROAD-flow-scripts/flow
++ FLOW_HOME=/OpenROAD-flow-scripts/flow
++ unset -f __setpaths
+ make DESIGN_CONFIG=./designs/sky130hd/counter/config.mk
/OpenROAD-flow-scripts/flow/scripts/variables.mk:23: *** PLATFORM variable not set..  Stop.

same design works fine inside the docker.

Expected Behavior

Using docker shell running user design as well

Environment
Git commit: d7fe768b690db33318f16b39bffacec501ded624
OpenSTA commit: dfe05bd30c21c9817a8cd52f047115269cbe66d4
kernel: Linux 6.18.58.1-microsoft-standard-WSL2 x86_64
os: Ubuntu 24.04.5 LTS (Noble Numbat)
Bazelisk version: v1.30.0
Build label: 9.3.2
bazelrc options outside the checked-in .bazelrc:
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=0 --terminal_columns=80
To Reproduce
  1. Create a new design under designs/ with respective RTL, SDC and config.mk.
  2. Run from OpenROAD-flow-scripts/flow:

util/docker_shell make DESIGN_CONFIG=./designs/<platform>/<design_name>/config.mk

and you are able to reproduce the error as mentioned

make DESIGN_CONFIG=./designs/sky130hd/counter_4bit/config.mk
/OpenROAD-flow-scripts/flow/scripts/variables.mk:22: *** PLATFORM variable not set..  Stop.
Relevant log output

Screenshots

No response

Additional Context

No response

Ngôn ngữ chính
Verilog
Star
825
Fork
561
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
84

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.