Ahmed Reda
11/23/2022, 10:49 PMMitch Bailey
11/24/2022, 12:04 AMCircuit 2 parallel/series network does not match Circuit 1
From your report, it looks like the collector node of 2 pnp are not connected as expected. In the schematic, their connected to ground, but in the layout they are not.
I’m not aware of any lvs error probing feature currently.Mitch Bailey
11/24/2022, 12:22 AMbgpg__pnp
device is where the pnp device is recognized, but there are no ports at this level and multiple met1. Ideally all these connections would be merged when doing the hierarchical extraction.
I’ve found that flattening cells that contain devices but do not have text gives better results. You can look at the extracted spice file to see what subckts have magic generated port names like w_1242_323#
.
If you’re running LVS on the gds, before gds read
in magic, try gds flatglob bgpg__pnp
Tim Edwards
11/24/2022, 1:58 AM.subckt bgpg__pnp w_153_153# a_330_330#
X0 a_26_26# w_153_153# a_330_330# sky130_fd_pr__pnp_05v5 area=0p
.ends
I will treat this as an error in magic's extraction. Fortunately, it has an easy workaround, which is to label the emitter, collector, and base with pins inside the bipolar device. Then it extracts as:
.subckt bgpg__pnp E B C
X0 C B E sky130_fd_pr__pnp_05v5 area=0p
.ends
And then I get a unique match for the circuit.
Note that there's an error in the cascode cell where the input pins are both labeled inn
. This can cause a problem if you don't use extract unique
, as the extraction of the circuit will virtually connect the two pins otherwise. But the main issue here is the missing collector pin in the PNP extraction.Ahmed Reda
11/26/2022, 8:08 AMMitch Bailey
11/26/2022, 8:50 AMAhmed Reda
11/26/2022, 3:51 PMMitch Bailey
11/26/2022, 8:50 PMgit clone <https://github.com/RTimothyEdwards/netgen.git>
cd netgen
./configure --prefix=<install_path>
make
make install
If you want to install to $HOME/local/bin
then <install_path>
= $HOME/local
.Ahmed Reda
11/29/2022, 1:01 PMMitch Bailey
11/29/2022, 2:30 PMTim Edwards
11/29/2022, 8:55 PMLinen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.
Powered by