Hi all! I'm finally getting round to pushing my de...
# magic
d
Hi all! I'm finally getting round to pushing my design into layout with magic. Im having an issue open the tool so that it pulls in sw130 pdk. Im following the below youtube link:

https://www.youtube.com/watch?v=ZhArGvsA6gw

This states that to open magic I must enter the below line into the terminal: magic ~rcfile /home/slice/pdk/sky130A/libs.tech/magic/sky130A.magicrc & As shown in the attached, the crc file is contained in the above path. However, when magic opens it seems not to have pulled in the sw130 pdk as it does not appear in the techmgr or at the top of the GUI, as shown in the attached. Any ideas what basic step I am missing? Thanks, Diarmuid
m
@Diarmuid Collins
Copy code
magic ~rcfile /home/slice/pdk/sky130A/libs.tech/magic/sky130A.magicrc &
Is that a typo? I think it should be
Copy code
magic -rcfile /home/slice/pdk/sky130A/libs.tech/magic/sky130A.magicrc &
Is
/home/slice/pdk
the location of your installed pdk? If you set
PDK_ROOT
and
PDK
then you can
Copy code
export PDK_ROOT=<path-to-pdk-root>
export PDK=<sky130A or sky130B>
magic -rcfile $PDK_ROOT/$PDK/libs.tech/magic/$PDK.magicrc &
t
@Mitch Bailey: According to the first screenshot, yes, the PDK is in
/home/slice/pdk/
, so the issue must be the substitution of
~
for
-
.
👍 1
d
Thanks for the help @Mitch Bailey, @Tim Edwards. Yes this was the issue, Replacing ~ with - opens magic using SW130 devices as shown below. Btw, I am using sky130A version as it is the default. Plan is to T/O a predominantly analog chip on openframe so I presume this is ok? Cheers
👍 1
t
@Diarmuid Collins:
magic -d XR <other_options>
is recommended if you want a better graphics experience.