Hi everyone, I was trying to run the pm32 example ...
# openlane-2
k
Hi everyone, I was trying to run the pm32 example mentioned here (Openlane docs) . I copied the verilog files
pm32.v
and
spm.v
as well as the
config.json
from the website and stored them in a folder. I am using the iic-osic-tools docker image, it comes preinstalled with OpenLane 2, so there is no nix shell involved as far as I am aware. So I proceeded to enter the following in the terminal
openlane config.json
,from what I could gather since it showed no errors, I thought it would be fine to open the layout in klayout but when I enter
openlane --last-run --flow openinklayout config.json
I get the following error. I don't know what am I doing wrong since I copied all the files from the openlane doc website and from what it says on the iic-osic-tools github they have included openlane2 in the docker and my image is up-to-date. So if anybody could help me with getting this example up and running, it would be highly appreciated.
d
Long story short, the current stable version of OpenLane requires a patch for OpenROAD and the IIC-OSIC-TOOLS team does not apply this patch, so they have openlane aliased to
openlane --skip Odb.CheckDesignAntennaProperties --skip Odb.CheckMacroAntennaProperties
, which will break
OpenInKLayout
. https://github.com/iic-jku/IIC-OSIC-TOOLS/blob/b05c13fca5119f329f2d539db7a83edcd45843c9/_build/images/iic-osic-tools/skel/dockerstartup/scripts/env.sh#L127 We generally recommend using our installation instructions to get OpenLane and bundled tools unless you have a pressing need otherwisee.
👍 1
k
@donn does this break only openInKLayout or does it also break opening the layout in the OpenRoad GUI ? I didn't manually install OpenLane since I needed lots of the other tools included in the IIC-OSIC docker image, so I resorted to using their version. But I should be able to manually apply the patch, right? Could you please tell me how to do that ?
d
You can’t. The patch needs to be applied before the build, not after.
You can
unalias openlane
Just, be careful in that situation: 1. You’ll have to always pass
--manual-pdk
2. You’ll have to pass
--skip Odb.CheckDesignAntennaProperties --skip Odb.CheckMacroAntennaProperties
while running the Classic flow (but not any other flow)