Tim Edwards
02/12/2021, 1:48 PMStefan Schippers
02/12/2021, 1:50 PMTim Edwards
02/12/2021, 3:22 PMgit clone <git://opencircuitdesign.com/open_pdks>
. Then do configure --enable-sky130-pdk=_<path>_
followed by make
and sudo make install
. This will put the open_pdks installation in /usr/share/pdk/sky130A/
. Xschem setup files end up in /usr/share/pdk/sky130A/libs.tech/xschem/
.Stefan Schippers
02/12/2021, 5:05 PMStefan Schippers
02/12/2021, 6:14 PMappend XSCHEM_LIBRARY_PATH :$env(PWD)
This is a quick and dirty setting that allows 1st time users to see xschem libs when running xschem from the xschem_sky130 install directory.
In final installations this line ends up adding a search path that depend on the directory where xschem is launched from. Since the sky130 libs are correctly set up in the line following my suggestion is to have this line commented or removed... Unless your usage model requires to start xschem from specific directories... so these are always added (this makes sense, as normally xschem is used on specific projects). If this is the case discard this message :-)Stefan Schippers
02/12/2021, 6:40 PMlappend tcl_files /home/schippes/sda7/open_pdks/sky130/sky130A/libs.tech/xschem/scripts/sky130_models.tcl
it should probably be:
lappend tcl_files /usr/share/pdk/sky130A/libs.tech/xschem/scripts/sky130_models.tcl
Tim Edwards
02/12/2021, 7:04 PMTim Edwards
02/12/2021, 7:05 PMStefan Schippers
02/12/2021, 7:12 PMappend XSCHEM_LIBRARY_PATH :/home/schippes/sda7/open_pdks/sky130/sky130A/libs.tech/xschem
Tim Edwards
02/12/2021, 7:16 PMcd open_pdks ; make veryclean ; cd sky130 ; make tools-a ; make install
. That will rebuild and reinstall just the tool setups. Then please post the output of sky130A_migrate.log
(which should be fairly short). It gives a summary of all the files where it made substitutions from the staging directory path to the install directory path.Stefan Schippers
02/12/2021, 7:23 PMStarting SKY130 PDK migration on ven 12 feb 2021, 20:21:19, CET
Installing in target directory /usr/share/pdk/sky130A
Removing files from target
Copying staging files to target
Done.
Changing local path references from /mnt/sda7/home/schippes/open_pdks/sky130/sky130A to /usr/share/pdk/sky130A
Part 1: Tools
Part 2: Libraries
sky130_fd_sc_hdll
sky130_fd_sc_lp
sky130_fd_sc_hs
sky130_ml_xx_hd
sky130_fd_io
sky130_fd_sc_hvl
sky130_fd_sc_ls
sky130_fd_pr
sky130_fd_sc_hd
sky130_osu_sc_t18
sky130_fd_sc_ms
Removing temporary files from destination.
Done with PDK migration.
Ended SKY130 PDK migration on ven 12 feb 2021, 20:21:29, CET
Stefan Schippers
02/12/2021, 7:24 PMStefan Schippers
02/12/2021, 7:26 PMif {[catch {set PDKPATH $env(PDKPATH)}]} {
set PDKPATH "/home/schippes/sda7/open_pdks/sky130/sky130A"
}
Stefan Schippers
02/12/2021, 7:33 PMStefan Schippers
02/12/2021, 8:59 PMTim Edwards
02/13/2021, 4:14 PMStefan Schippers
02/13/2021, 7:58 PMTim Edwards
02/13/2021, 7:59 PMStefan Schippers
02/13/2021, 11:00 PM