The-OpenROAD-Project / OpenLane

OpenLane is an automated RTL to GDSII flow based on several components including OpenROAD, Yosys, Magic, Netgen and custom methodology scripts for design exploration and optimization.
https://openlane.readthedocs.io/
Apache License 2.0
1.25k stars 365 forks source link

Synth explore broken #2084

Closed kareefardi closed 5 months ago

kareefardi commented 5 months ago

Description

Error while running with -synth_explore for any design

Expected Behavior

No error

Environment report

open_pdks cd1748bb197f9b7af62a54507de6624e30363943
Kernel: Linux v6.2.0-39-generic
Distribution: ubuntu 22.04
Python: v3.10.12 (OK)
Container Engine: docker v24.0.7 (OK)
OpenLane Git Version: a005df1fe0dd480097ff0bcd994f7286e820a405
python-venv: INSTALLED
---
PDK Version Verification Status: OK
---
Git Log (Last 3 Commits)

a005df1f 2024-01-08T10:51:06+02:00 Updated link to newer version of spanish docs (#2082) - Laboratorio de Investigación en Microelectrónica y Arquitectura de Computadoras, EIE -- UCR -  (HEAD -> master, tag: 2024.01.09, origin/master)
8bea8c51 2023-12-26T13:17:21+02:00 Update `OpenROAD` (#2062) - Kareem Farid -  (tag: 2023.12.27)
892d791f 2023-12-26T12:10:20+02:00 Check if `CLOCK_PORT` is found in the design (#2074) - Kareem Farid -  ()
---
Git Remotes

donn    git@github.com:donn/openlane.git (fetch)
donn    git@github.com:donn/openlane.git (push)
fork    git@github.com:kareefardi/OpenLane.git (fetch)
fork    git@github.com:kareefardi/OpenLane.git (push)
origin  git@github.com:The-OpenROAD-Project/OpenLane.git (fetch)
origin  git@github.com:The-OpenROAD-Project/OpenLane.git (push)

Reproduction material

n/a

Relevant log output

Traceback (most recent call last):
  File "/home/karim/work/OpenLane/scripts/check_clock_ports.py", line 32, in <module>
    main()
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/karim/work/OpenLane/scripts/check_clock_ports.py", line 23, in main
    netlist = json.load(open(netlist_in, encoding="utf8"))
FileNotFoundError: [Errno 2] No such file or directory: '/home/karim/work/OpenLane/designs/spm/runs/RUN_2024.01.11_11.42.33/tmp/synthesis/spm.json'
    while executing
"exec python3 $::env(SCRIPTS_DIR)/check_clock_ports.py --top $::env(DESIGN_NAME) --netlist-in $::env(synthesis_tmpfiles)/$::env(DESIGN_NAME).json {*}$:..."
    (procedure "run_yosys" line 62)
    invoked from within
"run_yosys -indexed_log $log"
    (procedure "run_synth_exploration" line 12)
    invoked from within
"run_synth_exploration"
    invoked from within
"if { [info exists flags_map(-interactive)] || [info exists flags_map(-it)] } {
    if { [info exists arg_values(-file)] } {
        run_file [file nor..."
    (file "./flow.tcl" line 402)