I'm probably missing something obvious, but I inst...
# analog-design
p
I'm probably missing something obvious, but I installed open_pdks and I don't see any explanation of how to tell the tools about it? Looking to get started with klayout or magic. Trying to source the magicrc give file not found errors, I assume it needs som env variable. In klayout I cna open the lyp and lydrc file, but no clue about lyt. Does klayout have pcells? Else probably easier to start with magic to get familiar with the cells.
t
I am not familiar with how to run klayout---I've never been able to get it to compile on my systems. We have it installed on the efabless platform now, so I will be spending more time learning how to drive it. In the meantime, to start magic, either copy the file
sky130A.magicrc
from the installed PDK to your local directory where you are running magic and rename it to
.magicrc
, or else run magic with the option
-rcfile <path_to>/sky130A.magicrc
. My intent this summer is to work with an intern to create a "project manager" type application that will do these kind of setups automatically, so that you don't have to remember what files need to be copied from where every time, since similar copies are needed for netgen, xschem, etc.
p
I was doing that from the staging area and got errors, but after installing it seems to work
t
It was supposed to work exactly the same from the staging area, though. . .
p
Error parsing user "code/open_pdks/sky130/magic/sky130.magicrc": couldn't read file "STAGING_PATH/TECHNAME/MAGIC_CURRENT/TECHNAME.tcl": no such file or directory
t
That's not the staging area; that's the source. After you do
make
but before you run
make install
, you can use the file in
open_pdks/sky130/sky130A/libs.tech/magic/sky130A.magicrc
.
p
oh ok