Has anyone else run into the problem of missing th...
# magic
d
Has anyone else run into the problem of missing the “Import SPICE” option under the “File” dropdown menu? I am running Magic 8.3.485 on a Mac M1 and everything appears to have compiled fine, however I’m missing this command. See two screenshots below, one showing a screenshot of a video tutorial, and the other from my local machine:
m
@Dale Julson The
Import SPICE
menu item is not part of the magic installation, but rather included in the pdk. Try starting magic with
Copy code
magic -rcfile $PDK_ROOT/$PDK/libs.tech/magic/$PDK.magicrc
Or alternatively, you can copy that file to
.magicrc
in your working directory.
👍 2
h
@Mitch Bailey Thanks for the idea of copying to
.magicrc
. I just tweaked it a bit and added
source $::env(PDK_ROOT)/$::env(PDK)/libs.tech/magic/$::env(PDK).magicrc
to my
.magicrc
and now I can skip supplying
-rcfile
every time.
👍 2
d
@Mitch Bailey that worked! Thank you. I didn’t know a configuration file could change a compiled program like that.
t
@Dale Julson: The GUI window isn't compiled; it's created from the Tcl/Tk interpreter. Since it's done through an interpreter, the GUI can be changed on the fly. Menus can be added, deleted, rearranged, etc.
👍 2
d
@Tim Edwards Interesting! I’ve never programmed using tcl/tk before, so that is all new to me. Thank you for the insight.