File: pz.0g.gc

package info (click to toggle)
gnucap-python 0.0.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,672 kB
  • sloc: python: 7,873; sh: 4,384; cpp: 1,786; makefile: 252
file content (37 lines) | stat: -rw-r--r-- 429 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
attach public c_python.so
attach d_brl.so
loadpy pz_spice.py
spice

* demo from hspice manual. circulates for ages & considered public domain.
* the level of invention amounts to the spice format adjustments

i1 1 gnd ac 1

R1 gnd 1 1
C3 gnd 1 1.52

C4 2 gnd 1.5
C5 3 gnd 0.83

C1 1 2 0.93
L1 1 2 0.65

C2 2 3 3.8
L2 2 3 1

R2 3 gnd 1
rr 0 gnd 1p

.list

.print op v(nodes)
.op

.pz 1 gnd 3 gnd

.print ac v(3)

.end
.mysim
.end