<@U0172QZ342D>: The view you're having is the so c...
# openlane
a
@User: The view you're having is the so called
maglef
view, which is an abstract one. To get magic to load the full views, you need to run it with the
MAGTYPE
environment variable set to
mag
instead. e.g.,
Copy code
MAGTYPE=mag magic -rcfile /home/matt/work/asic-workshop/openlane/pdks/open_pdks/sky130/sky130A/libs.tech/magic/20200508/sky130A.magicrc vga_clock.mag
m
ok I tried that and it looks the same
still no poly
though I get a lot of warnings in magic tcl interface:
a
If you want to see all the layers on the palette, try
tech unlock *
Does the layout itself look exactly the same?
m
ok here's without the MAGTYPE
image.png
and here's with
image.png
tech unlock * shows more squares in the palette
but it still looks to me like these cells are missing important layers!
a
Yes, I just noticed that the warnings show that magic is failing to find the
mag
views so it loads the
maglef
views instead...
m
ah ok
a
The issue has something to do with relative paths used to generate those views. This was fixed in yesterday's version which uses absolute paths. However, if you'd like to still load them for now, you can create a symbolic link to your
pdks
directory under that directory you're running magic from: i.e.,
Copy code
mkdir pdks
ln -s /home/matt/work/asic-workshop/openlane/pdks/open_pdks/sky130/sky130A pdks/sky130A
m
same issue, but this time magic takes about 10 seconds to print all the warnings there are so many!
I don't mind updating to the latest version
what needs to get updated? do I have to re-install everything?
aha! I have to have the pdks dir and link inside the same directory as the results from magic
now I can see all the layers
a
openlane and open_pdks got updated; you can re-use your skywater-pdk copy still though. Note that the instructions on the README are slightly different than before, but should give you a cleaner set-up. The main difference is that you need to define an environment variable
PDK_ROOK
.
m
image.png
👍 2
yes I saw the new instructions - looks clearer.
I will update it later on and review the instructions