docker_shell: unable to run user own designs

Offen
#4,940 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
56/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
docker
Bereich
backend, devops

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Verilog
Sterne
836
Forks
566
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
84

Entwicklungsumgebung

  • Enthält ein Dockerfile oder eine Docker-Compose-Datei
  • Keine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus The-OpenROAD-Project/OpenROAD-flow-scripts

Alle Issues in The-OpenROAD-Project/OpenROAD-flow-scripts

Ähnliche Issues

Weitere Issues zu Backend & API Design

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.