blob: 092e39d77cb2b05811f0717b02ec11714ba3288d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
* /home/saurabh/installer_main_workshop/esim-1.1.2/examples/bjt_ce_config/bjt_ce_config.cir
.include NPN.lib
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
q1 net-_q1-pad1_ net-_q1-pad2_ gnd Q2N2222
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
|