blob: c2b9141b2db4095983c194b331276b4d1e54dfcb [file] [log] [blame]
Tim Edwards367711e2021-01-27 10:35:12 -05001*
2* spice test file for generating .prm files.
3*
4.lib /home/tim/projects/efabless/tech/XFAB/EFXH018D/libs.tech/models/lpmos/param.lib 3s
5.lib /home/tim/projects/efabless/tech/XFAB/EFXH018D/libs.tech/models/lpmos/xh018.lib tm
6*
7.option TEMP=27
8*
9* out1 - Output of Inverter to measure step response.
10*
11X0 out1 in1 GND GND ne L=0.18u W=0.8u
12X1 out1 in1 VDD VDD pe L=0.18u W=1.0u
13*
14* out2 - Output of Inverter driven by out1 to determine slow-input effect.
15*
16X6 out2 out1 GND GND ne L=0.18u W=0.8u
17X7 out2 out1 VDD VDD pe L=0.18u W=1.0u
18*
19* out3 - Output of a ne pulling up to determine dynamic-high resistance.
20*
21X2 out3 in2 VDD GND ne L=0.18u W=0.8u
22*
23* out4 - Output of a pe pulling down to determine dynamic-low resistance.
24*
25X3 out4 in3 GND VDD pe L=0.18u W=1.0u
26*
27* loading capacitors
28*
29C0 out1 GND 50f
30C1 out2 GND 50f
31C2 out3 GND 50f
32C3 out4 GND 50f
33
34VDD VDD 0 DC 1.62
35* VGnd GND 0 DC 0
36RGnd GND 0 0.01
37Vmid mid 0 DC 0.9
38
39Vin1 in1 0 0 pwl (0ns 0 0.1ns 1.62 40ns 1.62 40.1ns 0)
40Vin2 in2 0 0 pwl (0ns 0 0.1ns 1.62)
41Vin3 in3 0 5 pwl (0ns 1.62 0.1ns 0)
42
43.ic V(out4)=1.62
44
45.tran 0.01ns 80ns
46
47.save all
48
49.end