Nelson Rodriguez
10/14/2022, 6:11 PMcorners/tt.spice wasn't found. I suppose I should not import the file libs.tech/ngspice/sky130.lib.spice but then, could anyone guide me which is the file I should add to work with the transistors I drew sky130_fd_pr__nfet_01v8?
Thanks in advance
Note: I installed my tools using open_pdks and my installation root is a folder in my home called cad.
What I understand of this error is that the file sky130.lib.spice is calling another file called corners/tt.spice but that file isn't located in that same folder where the first is.Tim Edwards
10/14/2022, 7:40 PM/home/nelson/cad/share/pdk/sky130A/libs.tech/ngspice/corners/ ? I'm suspicious that the open_pdks installation is somehow incomplete.Nelson Rodriguez
10/14/2022, 7:59 PMTim Edwards
10/14/2022, 8:41 PMmake clean in open_pdks, is the folder in the staging directory, which would be in the open_pdks source in the directory sky130/sky130A/libs.tech/ngspice/corners/? That is, did the error occur during make or during make install?Nelson Rodriguez
10/17/2022, 4:37 PMNelson Rodriguez
10/17/2022, 9:52 PMopen_pdks and install doing
./configure --enable-sky130-pdk=~/gits/skywater-pdk --prefix=/home/nelson/cad
make > log_make.txt 2>&1
make install > log_make_install.txt 2>&1
make clean
Then I checked the folder and corners folder appeared, so, good (fig 1).
I have some doubts about Step 5. (fig 2) apparently log files exists by default once I launch make and make install, and doing a redirection is not necessary (as I did). Tim, could you indicate me, where are those files? And one more question, in the future, if I want to update my repository, I only need to enter within open_pdks folder and run make update. To allow this, did I have to specify the installation to make symbolic links back to the repository sources (as it's said in step 5)?Tim Edwards
10/20/2022, 2:38 AMmake update will update the source repositories; you would then need to rebuild the PDK with make and make install.
The log files are in open_pdks under sky130/sky130A_make.log and sky130/sky130A_install.log (with two similar files for sky130B).
I generally don't make symbolic links back to the repository sources; there are not many sources that aren't changed in some way, although the .lib files alone might save a lot of space that way. I just dealt with the problem by getting a whopping large disk so I don't have to worry about having multiple copies of the PDK lying around. : )