When i am trying to create new design, a new folde...
# sky130
s
When i am trying to create new design, a new folder with name "openlane" is getting created. Any solution how to rectify this? And
And any source which i can follow to create a new design in WSL.
a
add to design option need to be set or the path needs to be absolute
The official documentation works for WSL. Also see my pull request with WSL related changes
s
Thank you, But can you ellaborate more on this? i tried giving complete path while adding new design but ended up with same result
a
did you try setting the path to abolute? Show command, the error and the folder where you are trying to create the design
s
here i gave designs/inverter_test but the new design was created inside /OpenLane/openlane folder that too without src folder in it
In this case as well. And src is not getting generated automatically and everytime i have to type sudo command to access the /OpenLane/openlane folder.
a
1. designs/inverter_test is not an absolute path. https://www.computerhope.com/issues/ch001708.htm 2. Delete the folders before running the command to make sure it is the correct folder
Again, if you want to put it in /OpenLane/designs then add -add_to_designs and use the name of design (e.g. new_inverter_test).
Copy code
./flow.tcl -design new_inverter_test -init_design_config -add_to_designs
Please read this page: https://openlane.readthedocs.io/en/latest/usage/designs.html
"And src is not getting generated automatically" As documentation suggests src/ folder is created by user. This is because the source might not be available in the src/ folder but might be placed somewhere else. As long as the VERILOG_FILES is set to correct value "i have to type sudo command to access the /OpenLane/openlane folder." You ran
sudo make mount
. This is incorrect. The make mount needs to be ran using
make mount
command
If you get permission error:
Copy code
docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "<http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create>": dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.
with make mount then you skipped following step: https://openlane.readthedocs.io/en/latest/getting_started/installation.html#step-2-making-docker-available-without-root Please do not follow outdated documentation. Can you post the docs you are trying to follow?
@SAI
s
Thank you very much, now i am able to edit without sudo command as well able as to add new_design to design folder. Followed this to add new design:- https://openlane-docs.readthedocs.io/en/rtd-develop/designs/README.html And this to install openlane:- https://github.com/The-OpenROAD-Project/OpenLane From now on will try to follow latest documents.
a
The openlane-docs is very outdated
use openlane official docs
👍 1
click on the link from github's readme file
👍 1