Hello @Weston Braun,
We are using the nmos_waffle from open_pmic. You isolated it, right?
In the layout of the power_stage, did you connect the 2nd guard ring of the nmos to GND? Shouldn't it be connected to Drain or Vdd?
w
Weston Braun
08/17/2022, 9:19 PM
In normal cases you connect the deep nwell to the positive supply rail, where it allows you to run the containing pwell at a voltage that is different from the substrate voltage.
Weston Braun
08/17/2022, 9:20 PM
In my case though the NMOS is already ground reference. I connected the deep nwell to ground to short out the parasitic NPN BJT
Weston Braun
08/17/2022, 9:21 PM
the deep nwell is really not doing anything in my design except making it a bit more robust to latch-up / possibly increasing efficiency slightly.
Weston Braun
08/17/2022, 9:21 PM
image.png
Weston Braun
08/17/2022, 9:24 PM
You have a NPN transistor between the nmos drain/source diffusions, the pwell, and whatever N well is near by. When you have a reverse current on the nmos you are injecting current though the base. If the nearby N well structures are VDD tied you will pull current from VDD. If you use deep nwell isolation connected to VSS you are shorting out that path