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.26k stars 366 forks source link

[ERROR]: Failed to compare PDKs. #1556

Closed msaideroglu closed 1 year ago

vijayank88 commented 1 year ago

@msaideroglu The command you're trying is wrong. Refer document for running design: https://openlane.readthedocs.io/en/latest/usage/designs.html

make mount
./flow.tcl -design spm

is the right way to run openlane flow.

msaideroglu commented 1 year ago

Thanks

msaideroglu commented 1 year ago

Hi again. I'm facing another issue now. When I clone latest version of Openlane and run make test command, it successfully runs with Magic's recent version of 8.3.348. However when I run make mount on terminal, it clones additional docker images: Screenshot from 2022-12-07 14-14-42 and I leave make mount environment and try to re-run make test command on terminal, it gives this error: Screenshot from 2022-12-07 14-15-50

vijayank88 commented 1 year ago
python3 ./env.py issue-survey

Provide environment report to proceed further

msaideroglu commented 1 year ago

Kernel: Linux v5.15.0-56-generic Distribution: ubuntu 20.04 Python: v3.8.10 (OK) Container Engine: docker v20.10.21 (OK) OpenLane Git Version: 235fa7a4a2872e779588919c58fc4fa32568e075 pip: INSTALLED python-venv: INSTALLED

PDK Version Verification Status: MISMATCH The version of open_pdks used in building the PDK does not match the version OpenLane was tested on (installed: b8c6129fb60851c452a3136c2b8c603bb92cb180, tested: 35c7265f51749ad8d9fdbb575af22c7c8fab974e) This may introduce some issues. You may want to re-install the PDK by invoking make pdk.

Git Log (Last 3 Commits)

235fa7a 2022-11-28T17:17:32+02:00 [BOT] Update PDK (#1516) - Openlane Bot - (grafted, HEAD, tag: 2022.11.29)

Git Remotes

origin https://github.com/The-OpenROAD-Project/OpenLane (fetch) origin https://github.com/The-OpenROAD-Project/OpenLane (push)

vijayank88 commented 1 year ago

Update your OpenLane master with following commands and re-try:

git checkout master
git pull
make
msaideroglu commented 1 year ago

git checkout master gave: error: pathspec 'master' did not match any file(s) known to git I tried git pull --depth 1 https://github.com/The-OpenROAD-Project/OpenLane.git master and make and make test. However Magic's version turned 8.3.331. I think the last commit #1540 and #1551 is not used right now. Because there was a Magic version update in commit #1540.

vijayank88 commented 1 year ago

Delete complete OpenLane directory or install in new directory location and follow steps from here: https://openlane.readthedocs.io/en/latest/getting_started/installation/installation_ubuntu.html#download-and-install-openlane

msaideroglu commented 1 year ago

I installed OpenLane. OpenLane's the last commit installs with Magic's recent version of 8.3.348 but when make mount runned it converts Magic's version to 8.3.331. Then my design flow is giving this error: Screenshot from 2022-12-07 16-03-32 issue_reproducible.zip

vijayank88 commented 1 year ago

That mean you want to update Magic version to latest and want to try right? Is that got fixed with upstream magic? or its new issue you're facing with your design?

msaideroglu commented 1 year ago

Yes it is fixed with upstream Magic and OpenLane did an update for it. However when I install OpenLane from master branch Magic's recent version comes. However when I run make mount, OpenLane does additional docker image clones. Magic's version changes. I think there are disagreements between the last commit and the previous ones. You can see same issue in #1531 @antonblanchard @vijayank88

donn commented 1 year ago

This is a different issue and your issue form is invalid- please re-file.