Really dumb question, but despite already taping o...
# magic
w
Really dumb question, but despite already taping out an IC I have forgotten how to reinstall Magic on my computer and have it linked to the SKY130 PDK. Whats the current up to date installation procedure? It seems that magic is not finding the PDK files
r
run magic with
-rc /pathtopdk/sky130A/magic/magic.rc
c
I usually start magic with
Copy code
magic -T sky130A.tech -rc sky130A.magicrc
t
Magic only automatically links to a PDK if there is a startup script file
.magicrc
in the directory where you start magic. Otherwise, you need to specify the startup script on the command line, as Ryan and Connie said. If you want the automatic behavior, just copy the PDK startup script
sky130A.magicrc
to your working directory and rename it to
.magicrc
. @User: The
sky130.magicrc
script contains the command
tech load sky130A.tech
, so specifying a technology file on the command line is redundant.
👍 1
j
hello @Tim Edwards, I updated (or tried to) the tools and the open_pdks local installations and I'm having the following issue: I copy the
sky130A.magicrc
file into my home directory and then try running magic, but the right bar is not loaded and I get the following errors: Could not find file 'STAGING_PATH/TECHNAME/MAGIC_CURRENT/TECHNAME-F.tech' in any of these directories: . $CAD_ROOT/magic/sys $CAD_ROOT/magic/sys/current Could not find file 'STAGING_PATH/TECHNAME/MAGIC_CURRENT/TECHNAME.tech' in any of these directories: . $CAD_ROOT/magic/sys $CAD_ROOT/magic/sys/current Error parsing user ".magicrc": couldn't read file "STAGING_PATH/TECHNAME/MAGIC_CURRENT/TECHNAME.tcl": no such file or directory any ideas what could be wrong?
and I run magic using: magic -rc ../../open_pdks/sky130/magic/sky130A.magicrc same behavior: the errors and the right bar with the layers not loaded neither...
t
The
.magicrc
file appears to be copied directly from the
sky130.magicrc
template in open_pdks, not properly installed by running
make
in open_pdks. The names like
STAGING_PATH
are template variables that get replaced during the open_pdks build.
j
How do i Solve this in practice?
t
@Jorge Marin: The solution is to clone open_pdks, then follow the instructions and run
configure
,
make
, and
make install
.
j
Hello @Tim Edwards, sorry, I'm not sure what I'm doing wrong I had a clone from open_pdks from around mpw4 time, so I'm going inside the cloned folder and doing "git pull" after that I'm doing configure, make and make install, and it seems to be successful, but sky130A.magicrc is not generated, please see the screenshot attached
t
@Jorge Marin:
configure
needs options. At least
configure --enable-sky130-pdk
.
j
that was it 🤦‍♂️
thanks