I loaded the buff_4.mag file in Magic from sky130_...
# magic
s
I loaded the buff_4.mag file in Magic from sky130_fd_sc_hd library and was trying to export a gds and it shows me error - Calma output error: Can't find GDS file "$PDKPATH/libs.ref/sky130_fd_sc_hd/gds/sky130_fd_sc_hd.gds" for vendor cell "sky130_fd_sc_hd__buf_4". It will not be output. I was using the magicrc file from latest open_pdks version volare/sky130/versions/41c0908b47130d5675ff8484255b43f66463a7d6/sky130B/libs.tech/magic/sky130B.magicrc
t
$PDKPATH
in the name should be derived from
$PDK_ROOT
, which itself is derived from the environment variable of the same name. Volare should have (? @donn ?) set this environment variable appropriately, but if not, you should be able to set it yourself and the GDS file corresponding to the path specified in the layout view will be found.
s
I added the
$PDKPATH
in the magicrc file which seems to be working -
if {[catch {set PDKPATH $env(PDKPATH)}]} {
set PDKPATH "../dependencies/pdks/volare/sky130/versions/41c0908b47130d5675ff8484255b43f66463a7d6/sky130B"
}