I'm having trouble using the magic device generato...
# magic
j
I'm having trouble using the magic device generator for PNP 3.4x3.4 devices. From the console I get the error
Cell sky130_fd_pr__pnp_05v5_W3p40L3p40 couldn't be read
. I am able to use the device generator for other things in the pdk like MOSFETs, resistors, and the MiM caps. Could I be missing some file?
q
Maybe check this folder?
~/skywater/open_pdks/sky130/sky130A/libs.ref
I had this problem before when I don't have the aforementioned folder installed. The solution for me was running the install commands in the
open_pdks
directory but without
--with-ef-style
option at the
./configure
step
t
Yes, that's the main issue, is not installing the
sky130_fd_pr
library when doing the
open_pdks
install. There are more issues, though, the main one of which is that somehow the cell named W3p40L3p40 is actually the 0.68x0.68um PNP, and the 3.4x3.4um PNP has gone missing (I have the source but will have to write a patch file to recover it). If you really do need the 3.4x3.4 device, let me know and I can make that correction.
j
I think I have the
sky130_fd_pr
library installed (at least to the extent that it holds all of the
.spice
related files), but in this path:
open_pdks/sky130/sky130A/libs.ref/sky130_fd_pr/mag
I only see the script
generate_magic.tcl
. Should I expect to see anything else in this directory? Would this have been run during a full
open_pdks
install? Also, if there's not much I can do then yes, @Tim Edwards I really would appreciate having that 3.4x3.4 device 🙂 Thanks
t
@John Kustin: I just updated the open_pdks repository with an update to fix the issue with the PNP, to provide the 3.4x3.4 device layout and not mix it up with the 0.68x0.68 device. The fix was pushes to the open_pdks repository on opencircuitdesign.com and the github mirror will update overnight (in about 6 hours).
j
Cheers!
t
@John Kustin: There should be device layouts in the mag/ directory, though, so we might have to go through a round of debugging to figure that out. At least pull the update and rerun configure and make, and then see what state it's in.
j
Will do @Tim Edwards. I'll update accordingly.
@Tim Edwards Sorry for the delayed response. I pulled the update and reran configure and make, got the PNP, and see the device layouts in the mag/ directory. Beforehand, I was using an open_pdks installed by someone else