hi, I've seen other Magic installs that have this ...
# magic
h
hi, I've seen other Magic installs that have this "devices" drop down but it doesn't seem to be there on mine. How do I install it?
t
Use the sky130A.magicrc file that comes with open_pdks:
magic -rcfile /usr/share/pdk/sky130A/libs.tech/magic/sky130A.magicrc
.
❤️ 1
h
got it, thank you 🙂
t
If you make a symbolic link called
.magicrc
in the working layout directory that points to the
sky130A.magicrc
file in the PDK, magic will run it automatically without you needing to type it in on the command line.
h
ah cool
j
@Tim Edwards Hello sir: I tried as you suggested. Attached is the image, where I'm seeing in the Devices 1 and Devices 2 tabs, but the technology is minimum. Can you please help me import the sky130A into the magic? Thanks for your time.
t
I was not aware that it can load the PDK device generator script if the technology file failed to load. Can you show the output of the console window, which is where any errors would have been reported?
j
sure, sir.
image.png
t
@Janani Aravind: Looks like you have an old version of magic. What does
magic --version
give you?
j
8.3.50
@Tim Edwards Sir, I have cloned the open_pdk from your GitHub page and that's the above version. Your advice on importing Sky130A into magic would be most valuable to me. Please help me resolve the issue. Thanks for your time.
t
open_pdks is not magic. Magic has its own repository, and the current version is 8.3.203.
j
Oh ok. Thanks. In that case, should I have to download the latest version and create a shortcut for sky130A.magicrc?
t
Yes, you should download and install the latest version.
j
It works! Thank you very much.
Also, I'm seeing missing symbols in the xschem while importing .sch files. Am I missing something?
t
Are you copying the xschem setup file from open_pdks to the directory where you are running xschem? Assuming an install in /usr/share/pdk, then you need the files /usr/share/pdk/sky130A/libs.tech/xschem/xschemrc, and also copy /usr/share/pdk/sky130A/libs.tech/ngspice/spinit to your local directory and rename it ".spiceinit".
j
Thank you for your time. I will check it.
@Tim Edwards, It's working fine now. Folder "devices" was missing in the "sky130_tests" and hence was the issue. I have added the folder and it's working fine now. /open_pdks/sky130/sky130A/libs.tech/xschem/sky130_tests/devices
Thank you very much for the guidance.