Hello all, I updated (or tried to) the tools and t...
# magic
j
Hello all, I updated (or tried to) the tools and the open_pdks local installations and I'm having the following issue: I copy the
sky130.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?
a
you are not supposed to copy the magicrc file, just pass it to magic as an argument of --rcfile or something like that
j
Hello @Arman Avetisyan, i tried this too but get the same result
a
Is magic installed correctly?
Why aren't you using the prebuilt ones?
t
This problem was reported elsewhere recently; I don't recall where.
sky130.magicrc
is a template, not a tech file. It is run through a preprocessor to get
sky130A.magicrc
and
sky130B.magicrc
, which are the setup scripts for the two technology variants. They all assume an open_pdks installation and the presence of the directory structure
$PDK_ROOT/sky130A/libs.tech/magic/
(or
sky130B
), containing at least the files
sky130A.tech
and
sky130A.magicrc
.
I supposed I could put some text into the template files that would generate the error
DO NOT USE THIS FILE;  IT IS A TEMPLATE
when you try to use the templates as a tech file or a startup script.
j
hello @Tim Edwards, I'm not sure if I understand well Is this a current issue in the open_pdks installation? Or am I doing something wrong and I need to run manually the sky130A.magicrc file to generate the correct files? I would really appreciate your help, I'm stuck here
t
This is nothing new; open_pdks has always had template files which are filtered through a preprocessor to generate the files for specific variants of the PDKs. I do not know what you are doing with open_pdks, but it should be a matter of following the instructions for
configure
(with options),
make
, and
(sudo) make install
.