sgherbst / sky130-hello-world

Minimal SKY130 example with self-checking LVS, DRC, and PEX
Apache License 2.0
24 stars 10 forks source link

Error in install open_pdks #3

Open asedali opened 3 years ago

asedali commented 3 years ago

Hello my friend, I try to install open-pdk at ubuntu 20 but i have a problem. i can not add Sky130 tech files to Magic. Output of terminal is: asedali@ubuntu:~/Desktop/open_pdks$ ./configure --with-sky130-source=realpath ../skywater-pdk--with-sky130-local-path=realpath ../PDKS` configure: WARNING: unrecognized options: --with-sky130-source checking for a Python interpreter with version >= 3.4... python3 checking for python3... /usr/bin/python3 checking for python3 version... 3.8 checking for python3 platform... linux checking for python3 script directory... ${prefix}/lib/python3.8/site-packages checking for python3 extension module directory... ${exec_prefix}/lib/python3.8/site-packages checking python3 module: distutils... yes configure: Found technology directories: sky130 Checking technology sky130... configure: Found tools: klayout magic netgen irsim openlane qflow xschem checking for magic... /usr/local/bin/magic checking for patch... /usr/bin/patch configure: Package 'sky130_sram_macros' will be installed automatically during make. configure: Package 'sky130_ml_xx_hd' will be installed automatically during make. configure: Package 'xschem_sky130' will be installed automatically during make. configure: Tools enabled for PDK setup installation: klayout magic netgen irsim openlane qflow xschem configure: creating ./config.status config.status: creating ../sky130/Makefile config.status: creating ../Makefile configure: WARNING: unrecognized options: --with-sky130-source Build configured successfully asedali@ubuntu:~/Desktop/open_pdks$ make No techs configured. asedali@ubuntu:~/Desktop/open_pdks$ sudo make install [sudo] password for asedali: mkdir -p /usr/share/pdk/bin/ cp common/cleanup_unref.py /usr/share/pdk/bin/ cp common/soc_floorplanner.py /usr/share/pdk/bin/ common/preproc.py -DPREFIX=/usr/share common/create_project.py \ /usr/share/pdk/bin/create_project.py No techs configured.

`

sgherbst commented 3 years ago

Looks like the README file might be out of date. From the install.sh file in this repository, the configure command is

./configure --enable-sky130-pdk=`realpath ../skywater-pdk` --with-sky130-local-path=`realpath ../PDKS`

But in general, this repository has been out of date with the latest SKY130 updates for the last month or so, and I haven't had a chance to look at it yet. It might be beneficial to check the latest documentation from open_pdks and skywater-pdk.