milad
08/20/2022, 6:05 AMmake
result is like:
make[1]: Entering directory '/home/milad/EDA/OpenLane'
57f3f21d6e1d0403a88d7a7973f7447597aae160: Pulling from efabless/openlane
Digest: sha256:0b9a27fe51d8d709e77f653c39dd1244738885d0d39fdefd81a272824a33b46f
Status: Image is up to date for efabless/openlane:57f3f21d6e1d0403a88d7a7973f7447597aae160
<http://docker.io/efabless/openlane:57f3f21d6e1d0403a88d7a7973f7447597aae160|docker.io/efabless/openlane:57f3f21d6e1d0403a88d7a7973f7447597aae160>
make[1]: Leaving directory '/home/milad/EDA/OpenLane'
rm -rf ./venv
python3 -m venv ./venv
./venv/bin/python3 -m pip install --upgrade --no-cache-dir pip
Requirement already satisfied: pip in ./venv/lib/python3.10/site-packages (22.0.2)
Collecting pip
Downloading pip-22.2.2-py3-none-any.whl (2.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 898.9 kB/s eta 0:00:00
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 22.0.2
Uninstalling pip-22.0.2:
Successfully uninstalled pip-22.0.2
Successfully installed pip-22.2.2
./venv/bin/python3 -m pip install --upgrade --no-cache-dir -r ./requirements_dev.txt
Collecting cmake
Downloading cmake-3.24.1-py2.py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (23.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.3/23.3 MB 3.8 MB/s eta 0:00:00
Collecting pyinstaller
Downloading pyinstaller-5.3-py3-none-manylinux2014_x86_64.whl (555 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 555.5/555.5 kB 3.1 MB/s eta 0:00:00
Requirement already satisfied: pip in ./venv/lib/python3.10/site-packages (from -r ./././dependencies/python/precompile_time.txt (line 1)) (22.2.2)
Collecting wheel
Downloading wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting click<9,>=8.0.0
Downloading click-8.1.3-py3-none-any.whl (96 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 410.8 kB/s eta 0:00:00
Collecting pyyaml~=5.4.0
Downloading PyYAML-5.4.1.tar.gz (175 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 kB 4.3 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting install~=1.3.5
Downloading install-1.3.5-py3-none-any.whl (3.2 kB)
Collecting XlsxWriter~=3.0.2
Downloading XlsxWriter-3.0.3-py3-none-any.whl (149 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 150.0/150.0 kB 6.9 MB/s eta 0:00:00
Collecting black~=22.3.0
Downloading black-22.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 4.3 MB/s eta 0:00:00
Collecting flake8~=4.0.1
Downloading flake8-4.0.1-py2.py3-none-any.whl (64 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.1/64.1 kB 2.6 MB/s eta 0:00:00
Collecting flake8-no-implicit-concat==0.3.3
Downloading flake8_no_implicit_concat-0.3.3-py3-none-any.whl (5.2 kB)
Collecting altgraph
Downloading altgraph-0.17.2-py2.py3-none-any.whl (21 kB)
Requirement already satisfied: setuptools in ./venv/lib/python3.10/site-packages (from pyinstaller->-r ././dependencies/python/compile_time.txt (line 2)) (59.6.0)
Collecting pyinstaller-hooks-contrib>=2021.4
Downloading pyinstaller_hooks_contrib-2022.8-py2.py3-none-any.whl (239 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 239.8/239.8 kB 3.9 MB/s eta 0:00:00
Collecting tomli>=1.1.0
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting mypy-extensions>=0.4.3
Downloading mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting platformdirs>=2
Downloading platformdirs-2.5.2-py3-none-any.whl (14 kB)
Collecting pathspec>=0.9.0
Downloading pathspec-0.9.0-py2.py3-none-any.whl (31 kB)
Collecting pyflakes<2.5.0,>=2.4.0
Downloading pyflakes-2.4.0-py2.py3-none-any.whl (69 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 69.7/69.7 kB 139.3 kB/s eta 0:00:00
Collecting mccabe<0.7.0,>=0.6.0
Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
Collecting pycodestyle<2.9.0,>=2.8.0
Downloading pycodestyle-2.8.0-py2.py3-none-any.whl (42 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.1/42.1 kB 139.5 kB/s eta 0:00:00
Building wheels for collected packages: pyyaml
Building wheel for pyyaml (pyproject.toml) ... done
Created wheel for pyyaml: filename=PyYAML-5.4.1-cp310-cp310-linux_x86_64.whl size=45656 sha256=566cd567b90f1fe63468871f2889424f2c39c3c3f69d91816690dc42b8146436
Stored in directory: /tmp/pip-ephem-wheel-cache-7vhs5jzf/wheels/c7/0d/22/696ee92245ad710f506eee79bb05c740d8abccd3ecdb778683
Successfully built pyyaml
Installing collected packages: mypy-extensions, mccabe, cmake, altgraph, XlsxWriter, wheel, tomli, pyyaml, pyinstaller-hooks-contrib, pyflakes, pycodestyle, platformdirs, pathspec, install, click, pyinstaller, flake8, black, flake8-no-implicit-concat
Successfully installed XlsxWriter-3.0.3 altgraph-0.17.2 black-22.3.0 click-8.1.3 cmake-3.24.1 flake8-4.0.1 flake8-no-implicit-concat-0.3.3 install-1.3.5 mccabe-0.6.1 mypy-extensions-0.4.3 pathspec-0.9.0 platformdirs-2.5.2 pycodestyle-2.8.0 pyflakes-2.4.0 pyinstaller-5.3 pyinstaller-hooks-contrib-2022.8 pyyaml-5.4.1 tomli-2.0.1 wheel-0.37.1
touch venv/created
./venv/bin/python3 -m pip install --upgrade --no-cache-dir volare
Collecting volare
Downloading volare-0.2.4-py3-none-any.whl (23 kB)
Collecting click-default-group~=1.2.2
Downloading click-default-group-1.2.2.tar.gz (3.3 kB)
Preparing metadata (setup.py) ... done
Collecting requests~=2.27.0
Downloading requests-2.27.1-py2.py3-none-any.whl (63 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.1/63.1 kB 202.3 kB/s eta 0:00:00
Requirement already satisfied: click<9,>=8.0.0 in ./venv/lib/python3.10/site-packages (from volare) (8.1.3)
Collecting pcpp~=1.30
Downloading pcpp-1.30-py2.py3-none-any.whl (91 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 91.1/91.1 kB 833.3 kB/s eta 0:00:00
Collecting rich~=10.16.0
Downloading rich-10.16.2-py3-none-any.whl (214 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 214.4/214.4 kB 403.3 kB/s eta 0:00:00
Requirement already satisfied: pyyaml~=5.4.0 in ./venv/lib/python3.10/site-packages (from volare) (5.4.1)
Collecting charset-normalizer~=2.0.0
Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.11-py2.py3-none-any.whl (139 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.9/139.9 kB 2.0 MB/s eta 0:00:00
Collecting certifi>=2017.4.17
Downloading certifi-2022.6.15-py3-none-any.whl (160 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.2/160.2 kB 2.6 MB/s eta 0:00:00
Collecting idna<4,>=2.5
Downloading idna-3.3-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 766.2 kB/s eta 0:00:00
Collecting colorama<0.5.0,>=0.4.0
Downloading colorama-0.4.5-py2.py3-none-any.whl (16 kB)
Collecting pygments<3.0.0,>=2.6.0
Downloading Pygments-2.13.0-py3-none-any.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 1.4 MB/s eta 0:00:00
Collecting commonmark<0.10.0,>=0.9.0
Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.1/51.1 kB 51.3 MB/s eta 0:00:00
Building wheels for collected packages: click-default-group
Building wheel for click-default-group (setup.py) ... done
Created wheel for click-default-group: filename=click_default_group-1.2.2-py3-none-any.whl size=3385 sha256=cd5683dc92810858fd1d5e299bc4303b7cb2e084f4d11e164805717b9a588a64
Stored in directory: /tmp/pip-ephem-wheel-cache-vlzqhptq/wheels/2b/9c/67/f0b289bc6f573ea3269695a1b8f63846147e0e2f7140347181
Successfully built click-default-group
Installing collected packages: pcpp, commonmark, urllib3, pygments, idna, colorama, click-default-group, charset-normalizer, certifi, rich, requests, volare
Successfully installed certifi-2022.6.15 charset-normalizer-2.0.12 click-default-group-1.2.2 colorama-0.4.5 commonmark-0.9.1 idna-3.3 pcpp-1.30 pygments-2.13.0 requests-2.27.1 rich-10.16.2 urllib3-1.26.11 volare-0.2.4
./venv/bin/volare enable
[09:48:51] Found version 44a43c23c81b45b8e774ae7a84899a5a778b6b0b in common.py:140
./dependencies/tool_metadata.yml.
Downloading pre-built tarball for 44a43c23c81b45b8e774ae7a84899a5a778b6b0b… ━━━━━━ 100% 0:00:…
Unpacking… ━━━━━━ 100% 0:00:…
PDK version 44a43c23c81b45b8e774ae7a84899a5a778b6b0b enabled.
and when i run make test
there is an error
cd /home/milad/EDA/OpenLane && \
docker run --rm -v /home/milad/EDA/OpenLane:/openlane -v /home/milad/EDA/OpenLane/designs:/openlane/install -v /home/milad/EDA/OpenLane/pdks:/home/milad/EDA/OpenLane/pdks -e PDK_ROOT=/home/milad/EDA/OpenLane/pdks -e PDK=sky130A --user 1000:1000 -e DISPLAY=:1 -v /tmp/.X11-unix:/tmp/.X11-unix -v /home/milad/.Xauthority:/.Xauthority --network host efabless/openlane:57f3f21d6e1d0403a88d7a7973f7447597aae160-amd64 sh -c "./flow.tcl -design spm -tag openlane_test -overwrite"
OpenLane 57f3f21d6e1d0403a88d7a7973f7447597aae160
All rights reserved. (c) 2020-2022 Efabless Corporation and contributors.
Available under the Apache License, version 2.0. See the LICENSE file for more details.
[INFO]: Using configuration in 'designs/spm/config.json'...
[INFO]: PDK Root: /home/milad/EDA/OpenLane/pdks
[INFO]: Process Design Kit: sky130A
[INFO]: Standard Cell Library: sky130_fd_sc_hd
[INFO]: Optimization Standard Cell Library: sky130_fd_sc_hd
[INFO]: Run Directory: /openlane/designs/spm/runs/openlane_test
[INFO]: Preparing LEF files for the nom corner...
[INFO]: Preparing LEF files for the min corner...
[INFO]: Preparing LEF files for the max corner...
[STEP 1]
[INFO]: Running Synthesis (log: designs/spm/runs/openlane_test/logs/synthesis/1-synthesis.log)...
[ERROR]: during executing: "yosys -c /openlane/scripts/yosys/synth.tcl -l /openlane/designs/spm/runs/openlane_test/logs/synthesis/1-synthesis.log |& tee /dev/null"
[ERROR]: Exit code: 1
[ERROR]: Last 10 lines:
[INFO]: USING STRATEGY AREA 0
17. Executing ABC pass (technology mapping using ABC).
17.1. Extracting gate netlist of module `\spm' to `/tmp/yosys-abc-yKyZDW/input.blif'..
Extracted 253 gates and 350 wires to a netlist network with 97 inputs and 128 outputs.
17.1.1. Executing ABC.
ERROR: Can't open ABC output file `/tmp/yosys-abc-yKyZDW/output.blif'.
child process exited abnormally
[INFO]: Saving current set of views in 'designs/spm/runs/openlane_test/results/final'...
[INFO]: Generating final set of reports...
[INFO]: Created manufacturability report at 'designs/spm/runs/openlane_test/reports/manufacturability.rpt'.
[INFO]: Created metrics report at 'designs/spm/runs/openlane_test/reports/metrics.csv'.
[INFO]: Saving runtime environment...
[ERROR]: Flow failed.
while executing
"flow_fail"
(procedure "try_catch" line 17)
invoked from within
"try_catch $::env(SYNTH_BIN) -c $::env(SYNTH_SCRIPT) -l $arg_values(-log) |& tee $::env(TERMINAL_OUTPUT)"
(procedure "run_yosys" line 43)
invoked from within
"run_yosys -log $log"
(procedure "run_synthesis" line 13)
invoked from within
"[lindex $step_exe 0] [lindex $step_exe 1] "
(procedure "run_non_interactive_mode" line 52)
invoked from within
"run_non_interactive_mode {*}$argv"
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 401)
make: *** [Makefile:167: test] Error 1
what is this error for?
is openlane installed correctly?