Hello everyone, Has anyone seen this issue before?...
# lvs
a
Hello everyone, Has anyone seen this issue before? I am trying to run LVS on a simple pnp BJT where the 3 terminals are connected to ports as shown below. However, I keep getting the port error shown in the report. I am using Klayout to draw the PNP and export the gds file, and I tried using different pin names, pin layers (m1, li1) and text layers as well but none of them worked.
Update: Creating gds for the pnp cell using magic seems to solve this issue.
m
@Ahmed Aboulsaad The attached gds above has a layout cell with the same name as the primitive device
sky130_fd_pr__pnp_05v0_W3p40L3p40
. I think this is confusing netgen. Could you try renaming this layout cell?
t
Agreed. The extraction model is a subcircuit named
sky130_fd_pr__pnp_05v0_W3p40L3p40
and so it cannot be used as another subcircuit name. Magic's generated PNP cell gets around this problem by using the name of the RF layout (although there isn't anything RF about the layout other than the name) which is
sky130_fd_pr__rf_pnp_05v0_W3p40L3p40
and avoids the name collision with the model. This layout appears to have been done with gdsfactory and has several unfortunate properties that are either errors or don't play well with other tools. The labels appear to be using the wrong types, and it outputs a disassociated top-level cell called $$$CONTEXT_INFO$$$.
a
Thank you @Tim Edwards and @Mitch Bailey! Oh, that's right, I found the extension rf in the cell name in the LVS report. I am indeed using gdsfactory for generating the pcell in klayout, and I tried renaming the sub-cell manually (shown below) but it didn't work. I think I will stick to the pcell generation using magic from now on. Thank you!