Yueting Li
11/24/2022, 8:26 PMbgr_top_flat.mag
. When I’m inputting line extresist
, the error messaged popped up (see attached figure). This bgr_top_flat.mag
file passed lvs check already, so I don’t know why it suggests “missing terminal connection” still and error in extracting some nodes. Looking forward to your suggestions.
load bgr_top_flat.mag
select top cell
extract all
ext2sim labels on
ext2sim
extresist tolerance 10
extresist
ext2spice lvs
ext2spice cthresh 0
ext2spice extresist on
ext2spice
Tim Edwards
11/24/2022, 8:50 PMVSS
instead of one of the ground network terminals (e.g., VSS.t104
). I expect it doesn't really understand how to extract the substrate as a network. This seems to be true for every device that has a substrate connection, including nFETs, PNP bipolars, and resistors (which are modeled as 3-terminal devices). The pFETs have proper connections to terminals of the VDD
network, so in theory it ought to be able to do the same thing with the substrate, but I'm not sure why. The bipolar collector connection is probably the worst case here for inaccuracy; everywhere else using the generic name VSS
(which would equate to the ground net close to the pin name) for a substrate node won't introduce much inaccuracy into the simulation.Yueting Li
11/25/2022, 9:13 PMTim Edwards
11/25/2022, 9:21 PMYueting Li
11/25/2022, 11:10 PMngspice tran.sp
to generate v(bgr) raw file.
3. run python2 raw-txt.py
to check mean value of v(bgr).
I attached all files I used in the zip for your reference. If above steps are valid, for a closer look check why the “v(bgr)” from the post-layout differs a lot from its pre-layout simulation, where would you recommend me to check first? Appreciate your advice!Boris Murmann
11/26/2022, 1:52 PMTim Edwards
11/26/2022, 3:43 PMBoris Murmann
11/26/2022, 4:19 PMYueting Li
11/26/2022, 10:44 PMTim Edwards
11/28/2022, 2:07 PM