Hi All, I am using the open PDK sky130 tech file for magic which I have linked to my install path us...
a
Hi All, I am using the open PDK sky130 tech file for magic which I have linked to my install path using ln -s, When I invoke #magic with #sky130 (magic -T sky130) I get quite a few warnings (Picture attached) Magic does have access to sky130 when I try to layout my designs but I keep seeing a repetition of these pink warnings at most of the steps which are really annoying. Any ideas on how to fix this? #ieee-sscs-dc-22
t
sky130.tech
is the tech file base name used by open_pdks and is not a tech file, but a template tech file that is run through a pre-processor to get the actual tech files
sky130A.tech
and
sky130B.tech
. You should not use the
-T
switch on the command line, but should use the
-rcfile
switch with the startup script (e.g.,
sky130A.magicrc
).
Also you should not have the tech file in magic's install directory in
/usr/local/lib/magic/sys/
. The PDK installation from open_pdks provides many different files and is best accessed by setting environment variable
$PDK_ROOT
to point to the install location. The actual location of
$PDK_ROOT
depends on the way open_pdks installs the PDK. Openlane installs it locally somewhere, although if you run the open_pdks installation yourself (and have superuser privileges on your machine), the default location is
/usr/local/share/pdk
.
a
Thank you so much Tim, However I am not getting the steps that I should do, I do have the default installation in /usr/local magiand I believe I should point to the sky sky130.magicrc which exist in the open_pdk/sky130/magic, but I do not know how! I have tried running using
magic -rcfile sky130A.magicrc
but magic opens on default minimum technology and when I choose sky130 in techmanager (I do not have sky130A in tech manager, just sky 130 and sk130gds) I see all the pink warnings again. Previously I have followed this one and this one which does not seem to be correct based on your comment.
t
The first of those links is pretty thorough, although it contains a number of errors. Make sure you follow the instructions to build the sky130 PDK from open_pdks. The installation will have the structure
$PDK_ROOT/sky130A/libs.tech/magic/
and you can find the correct techfile
sky130A.tech
and startup script
sky130A.magicrc
there.
180 Views