From b83e6393bb33477e175e359c0382ecd9687cf9b1 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sun, 7 Dec 2025 17:13:42 +0100 Subject: [PATCH] example netlist: 3 inverters in series --- .../degradation/Inverter_degmon_new_2.cir | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 examples/degradation/Inverter_degmon_new_2.cir diff --git a/examples/degradation/Inverter_degmon_new_2.cir b/examples/degradation/Inverter_degmon_new_2.cir new file mode 100644 index 000000000..6abe66f7c --- /dev/null +++ b/examples/degradation/Inverter_degmon_new_2.cir @@ -0,0 +1,40 @@ +test of integrated degradation monitor + +*Inverter sequence + +.lib "$PDK_ROOT/$PDK/libs.tech/ngspice/models/cornerMOSlv.lib" mos_tt + +.include "aging_par_ng.scs" + +* the voltage sources: +Vdd vdd gnd DC 1.8 +V1 in gnd pulse(0 1.8 0p 100p 100p 0.5n 2n) + +Xnot1 in vdd gnd out1 not1 +Xnot2 out1 vdd gnd out2 not1 +Xnot3 out2 vdd gnd out not1 + + +.subckt not1 a vdd vss z +xm01 z a vdd vdd sg13_lv_pmos l=0.15u w=0.99u as=0.26235p ad=0.26235p ps=2.51u pd=2.51u +xm02 z a vss vss sg13_lv_nmos l=0.15u w=0.495u as=0.131175p ad=0.131175p ps=1.52u pd=1.52u +*adegmon1 %v([z a vss vss]) mon degmon1 +*.model degmon1 degmon (tfuture=315336e4 l=0.15e-6 devmod="sg13_lv_nmos") +c3 a vss 0.384f +c2 z vss 0.576f +.ends + +* simulation command: +.tran 1ps 20ns 0 10p + +.control +pre_osdi ../lib/ngspice/psp103_nqs.osdi +run +rusage +*set nolegend +set xbrushwidth=3 +plot xnot1.mon1 xnot2.mon1 xnot3.mon1 +plot in out+2 +.endc + +.end \ No newline at end of file