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
Tim Edwards
08/03/2022, 9:19 PM
$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
Soumil Jain
08/04/2022, 6:40 PM
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"
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.