blob: 1b20a3bc4e0efa2288f74a5f7dad637fffc2656d (
plain)
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
|
* /home/fossee/updatedexamples/frequencyresponse_jfet/frequencyresponse_jfet.cir
.include NJF.lib
c1 net-_c1-pad1_ in 1u
c6 net-_c6-pad1_ gnd 0.1u
v2 net-_r3-pad1_ gnd dc 20
j1 out net-_c1-pad1_ net-_c6-pad1_ J2N3819
r3 net-_r3-pad1_ out 3k
r2 gnd net-_c1-pad1_ 1meg
r4 gnd net-_c6-pad1_ 470
* u1 in plot_v1
v1 in gnd ac 0.1m 0
* u3 out plot_log
* u2 out plot_phase
* u4 out plot_db
.ac dec 100 10KHz 100Meg
* Control Statements
.control
run
print allv > plot_data_v.txt
print alli > plot_data_i.txt
plot v(in)
plot log(out)
plot phase(out)
plot db(out)
.endc
.end
|