docker_shell: unable to run user own designs
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
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
- Create a new design under designs/ with respective RTL, SDC and
config.mk. - 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của The-OpenROAD-Project/OpenROAD-flow-scripts
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
The-OpenROAD-Project/OpenROAD-flow-scripts#4938 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
gf180: `-split_cuts {Metal3 0.128}` in the platform PDN config makes overlapping, off-grid Via2/Via3 cutsCó thể làm lại được @gadfort đã nhận 32 ngày trước và không có pull request nào đang mở. Đang mởpdn
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 71/100
The-OpenROAD-Project/OpenROAD-flow-scripts#4754 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
The-OpenROAD-Project/OpenROAD-flow-scripts#4739 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Make SYNTH_HDL_FRONTEND=slang defaultCó thể làm lại được @jeffng-or đã nhận 73 ngày trước và không có pull request nào đang mở. Đang mởStale
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
The-OpenROAD-Project/OpenROAD-flow-scripts#4548 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Web GUI: initial feedbackCó thể đã có người làm @jorge-ferreira-pii đã nhận 3 ngày trước. Đang mở
The-OpenROAD-Project/OpenROAD-flow-scripts#4932 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của The-OpenROAD-Project/OpenROAD-flow-scripts
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
superfly/contextwindow#18 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Lincoln-cn/JAiRouter#1452 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
accepted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
future-agi/future-agi#6351 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày