blob: b7c56d1a4f9f40a5cf9088e16798eff9c85f103e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
* /home/fossee/updatedexamples/bjt_ce_config/bjt_ce_config.cir
.include NPN.lib
q1 net-_q1-pad1_ net-_q1-pad2_ gnd Q2N2222
v1 vce gnd dc 0
r1 net-_r1-pad1_ net-_q1-pad1_ 1k
r2 net-_q1-pad2_ ib 1k
* u_ic1 vce net-_r1-pad1_ plot_i2
i1 ib gnd dc 20m
v_u_ic1 vce net-_r1-pad1_ 0
.dc v1 0e-00 5e-00 0.05e-00 i1 0e-03 5e-03 1e-03
* Control Statements
.control
run
print allv > plot_data_v.txt
print alli > plot_data_i.txt
plot i(v_u_ic1)
.endc
.end
|