Any help? I followed all the instructions and also...
# sky130
m
Any help? I followed all the instructions and also installed everything in my home directory Everything seems to be installed yet this error persists Thread in #xschem
v
set PDK_ROOT to point where your sky130 pdk got installaed
m
I did this
the error still persists
Screenshot from 2022-03-24 18-18-55.png
v
export PDK_ROOT="/home/dcursd/AICD:$PDK_ROOT"
m
Yes, that is exactly what I did...
v
do and verify with
echo $PDK_ROOT
m
Nothing prints
so that means this statement is not executed ?
v
just check the screenshot and my msg. Is both same
export PDK_ROOT="/home/dcursd/AICD:$PDK_ROOT"
m
Ah okay, my double quotes are in a different place. Lemme change that. Thanks for pointing that our
Still the same issue
Attaching all three screenshots here. SOrry if I made any clumsy error again
v
is
dcursd/AICD
contains sky130 pdks?
m
Yes. It's the place where openpdk and skywater pdk exists
And i have checked the locations mentioned in the xschemrc file
v
something wrong with your xschemrc. What are the configuration you added after copying xschemrc?
m
Nothing. Just added a pdk root path
a
Wait, why are you running export from the xschemrc?
its a bash command, not tcl one
m
Oh, was just trying to set PDK_ROOT path.
Lemme search an equivalent for TCL.
a
Either set it from the terminal then run xschem OR use proper tcl syntax
👍 1
set ::env(PDK_ROOT) "...your path here..."
m
Thanks! Lemme update you soon
@User I added : set ::env(PDK_ROOT)"<my path>" inside the xschemrc file, Yet I get the same popup as above and xschem does not work
Also the above sent me an invalid command error too
a
without screenshot I won't understand what you mean.
m
This
a
1. you forgot space 2. post the tcl code + screenshot of an error.
there is a space before double quotes
👍 1
m
I fixed that somehow by just using set PDK_ROOT {/home/dcursd/AICD}
Thanks @User The xschem seems to work now. I have run into some other error but I think it's an issue with the library files location and test model location.
m
I don't think this is good: export PDK_ROOT="/home/dcursd/AICD:$PDK_ROOT"
you need to export PDK_ROOT to an absolute path, but the above is a circular reference
anyway, after fixing that you should be able to source the .bashrc like this:
Copy code
. ~/.bashrc
and then
Copy code
echo $PDK_ROOT
ls $PDK_ROOT
should print what the variable is set to and the list the files inside the pdk
m
Okay let me try this. Thanks Matt