docker_shell: unable to run user own designs

オープン
#4,940 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
56/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker
領域
backend, devops

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Verilog
スター
836
フォーク
566
平均マージ
2日 15時間
マージ済み PR(30日)
84

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

The-OpenROAD-Project/OpenROAD-flow-scripts のほかの issue

The-OpenROAD-Project/OpenROAD-flow-scripts の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。