Tim Edwards
09/25/2020, 6:26 PMopen_pdks
and you want only the magic techfile, then do cd sky130
and make tools-a
, then use sky130/sky130A/libs.tech/magic/sky130A.tech
.
(With the most recent open_pdks
version, it is I think necessary to do ./configure
first from the top-level directory; there are two "mandatory" things to set during configure, although they are not needed for the command as I wrote it above, and can be set to any throw-away value.)
Also note that open_pdks
installs a file sky130A.magicrc
which is better to use, since it has a few additional setup items. So magic -rcfile sky130A.magicrc
is generally preferred to magic -T sky130A.tech
. What I usually do is to copy the sky130A.magicrc
file to the directory where I'm doing layout, as .magicrc
. Then all I need to do to start magic is just magic
, and it will automatically read .magicrc
, which will automatically load the right tech file.Wajeh ul hasan
09/26/2020, 10:42 AMrun_magic_spice_export
when I run this step in openlane I get an error which says your _*component_xyz*_ could not be read and that you might not have read the LEF file of it. Similarly, if I do drc check
after loading the design in magic it gives a similar error of not being able to readTim Edwards
09/26/2020, 3:04 PMrun_magic_spice_export
is a script in openlane, so you would need to raise the issue in the #openlane channel because I don't know what's in the script. However, the fact that the path has "home" without a leading "/" suggests that magic is out of date; that error was corrected in 8.3.54 (September 5).Wajeh ul hasan
09/28/2020, 4:26 AMWajeh ul hasan
10/05/2020, 7:26 AMsky130.magicrc
then copying it over and etc.
However after updating the PDK, following the same steps I now receive an error which says Segmentation fault (core dumped)
and the process is terminatedTim Edwards
10/05/2020, 1:09 PMgdb /usr/local/lib/magic/tcl/magicexec
and then getting a backtrace after it segfaults.Wajeh ul hasan
10/11/2020, 3:37 PM