Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

subcircuit files #316

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions library/SubcircuitLibrary/L603/D.lib
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.model 1N4148 D(is=2.495E-09 rs=4.755E-01 n=1.679E+00 tt=3.030E-09 cjo=1.700E-12 vj=1 m=1.959E-01 bv=1.000E+02 ibv=1.000E-04)

4 changes: 4 additions & 0 deletions library/SubcircuitLibrary/L603/NPN.lib
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.model Q2N2222 NPN( Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=400 Ne=1.307
+ Ise=14.34f Ikf=0.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p
+ Mjc=0.3416 Vjc=0.75 Fc=0.5 Cje=22.01p Mje=0.377 Vje=0.75 Tr=46.91n Tf=411.1p
+ Itf=0.6 Vtf=1.7 Xtf=3 Rb=10)
1 change: 1 addition & 0 deletions library/SubcircuitLibrary/L603/analysis
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.tran 0e-00 0e-00 0e-00
107 changes: 107 additions & 0 deletions library/SubcircuitLibrary/L603/l603-cache.lib
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# PORT
#
DEF PORT U 0 40 Y Y 26 F N
F0 "U" 50 100 30 H V C CNN
F1 "PORT" 0 0 30 H V C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
DRAW
A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
S -100 50 100 -50 0 1 0 N
X ~ 1 250 0 100 L 30 30 1 1 B
X ~ 2 250 0 100 L 30 30 2 1 B
X ~ 3 250 0 100 L 30 30 3 1 B
X ~ 4 250 0 100 L 30 30 4 1 B
X ~ 5 250 0 100 L 30 30 5 1 B
X ~ 6 250 0 100 L 30 30 6 1 B
X ~ 7 250 0 100 L 30 30 7 1 B
X ~ 8 250 0 100 L 30 30 8 1 B
X ~ 9 250 0 100 L 30 30 9 1 B
X ~ 10 250 0 100 L 30 30 10 1 B
X ~ 11 250 0 100 L 30 30 11 1 B
X ~ 12 250 0 100 L 30 30 12 1 B
X ~ 13 250 0 100 L 30 30 13 1 B
X ~ 14 250 0 100 L 30 30 14 1 B
X ~ 15 250 0 100 L 30 30 15 1 B
X ~ 16 250 0 100 L 30 30 16 1 B
X ~ 17 250 0 100 L 30 30 17 1 B
X ~ 18 250 0 100 L 30 30 18 1 B
X ~ 19 250 0 100 L 30 30 19 1 B
X ~ 20 250 0 100 L 30 30 20 1 B
X ~ 21 250 0 100 L 30 30 21 1 B
X ~ 22 250 0 100 L 30 30 22 1 B
X ~ 23 250 0 100 L 30 30 23 1 B
X ~ 24 250 0 100 L 30 30 24 1 B
X ~ 25 250 0 100 L 30 30 25 1 B
X ~ 26 250 0 100 L 30 30 26 1 B
ENDDRAW
ENDDEF
#
# eSim_Diode
#
DEF eSim_Diode D 0 40 N N 1 F N
F0 "D" 0 100 50 H V C CNN
F1 "eSim_Diode" 0 -100 50 H V C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
$FPLIST
TO-???*
*SingleDiode
*_Diode_*
*SingleDiode*
D_*
$ENDFPLIST
DRAW
T 0 -100 50 60 0 0 0 A Normal 0 C C
T 0 100 50 60 0 0 0 K Normal 0 C C
P 2 0 1 6 50 50 50 -50 N
P 3 0 1 0 -50 50 50 0 -50 -50 F
X A 1 -150 0 100 R 40 40 1 1 P
X K 2 150 0 100 L 40 40 1 1 P
ENDDRAW
ENDDEF
#
# eSim_NPN
#
DEF eSim_NPN Q 0 0 Y N 1 F N
F0 "Q" -100 50 50 H V R CNN
F1 "eSim_NPN" -50 150 50 H V R CNN
F2 "" 200 100 29 H V C CNN
F3 "" 0 0 60 H V C CNN
ALIAS BC547 Q2N2222
DRAW
C 50 0 111 0 1 10 N
P 2 0 1 0 25 25 100 100 N
P 3 0 1 0 25 -25 100 -100 100 -100 N
P 3 0 1 20 25 75 25 -75 25 -75 N
P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
X C 1 100 200 100 D 50 50 1 1 P
X B 2 -200 0 225 R 50 50 1 1 P
X E 3 100 -200 100 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# eSim_R
#
DEF eSim_R R 0 0 N Y 1 F N
F0 "R" 50 130 50 H V C CNN
F1 "eSim_R" 50 -50 50 H V C CNN
F2 "" 50 -20 30 H V C CNN
F3 "" 50 50 30 V V C CNN
ALIAS resistor
$FPLIST
R_*
Resistor_*
$ENDFPLIST
DRAW
S 150 10 -50 90 0 1 10 N
X ~ 1 -100 50 50 R 60 60 1 1 P
X ~ 2 200 50 50 L 60 60 1 1 P
ENDDRAW
ENDDEF
#
#End Library
75 changes: 75 additions & 0 deletions library/SubcircuitLibrary/L603/l603.cir
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
* D:\FOSSEE\eSim\library\SubcircuitLibrary\l603\l603.cir

* EESchema Netlist Version 1.1 (Spice format) creation date: 02/16/25 10:26:50

* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0

* Sheet Name: /
R20 Net-_D24-Pad2_ Net-_Q15-Pad2_ 2.7k
Q15 Net-_D18-Pad1_ Net-_Q15-Pad2_ Net-_Q15-Pad3_ eSim_NPN
R23 Net-_Q15-Pad2_ Net-_Q15-Pad3_ 7.2k
R24 Net-_Q15-Pad3_ GND 3k
Q16 Net-_D18-Pad1_ Net-_Q15-Pad3_ GND eSim_NPN
D18 Net-_D18-Pad1_ COM eSim_Diode
D24 GND Net-_D24-Pad2_ eSim_Diode
D22 GND Net-_D18-Pad1_ eSim_Diode
R1 Net-_D5-Pad2_ Net-_Q1-Pad2_ 2.7k
Q1 Net-_D1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN
R3 Net-_Q1-Pad2_ Net-_Q1-Pad3_ 7.2k
R4 Net-_Q1-Pad3_ GND 3k
Q3 Net-_D1-Pad1_ Net-_Q1-Pad3_ GND eSim_NPN
D1 Net-_D1-Pad1_ COM eSim_Diode
D5 GND Net-_D5-Pad2_ eSim_Diode
D3 GND Net-_D1-Pad1_ eSim_Diode
R7 Net-_D13-Pad2_ Net-_Q5-Pad2_ 2.7k
Q5 Net-_D10-Pad2_ Net-_Q5-Pad2_ Net-_Q5-Pad3_ eSim_NPN
R10 Net-_Q5-Pad2_ Net-_Q5-Pad3_ 7.2k
R11 Net-_Q5-Pad3_ GND 3k
Q6 Net-_D10-Pad2_ Net-_Q5-Pad3_ GND eSim_NPN
D7 Net-_D10-Pad2_ COM eSim_Diode
D13 GND Net-_D13-Pad2_ eSim_Diode
D10 GND Net-_D10-Pad2_ eSim_Diode
R8 Net-_D15-Pad2_ Net-_Q7-Pad2_ 2.7k
Q7 Net-_D11-Pad2_ Net-_Q7-Pad2_ Net-_Q7-Pad3_ eSim_NPN
R12 Net-_Q7-Pad2_ Net-_Q7-Pad3_ 7.2k
R13 Net-_Q7-Pad3_ GND 3k
Q9 Net-_D11-Pad2_ Net-_Q7-Pad3_ GND eSim_NPN
D8 Net-_D11-Pad2_ COM eSim_Diode
D15 GND Net-_D15-Pad2_ eSim_Diode
D11 GND Net-_D11-Pad2_ eSim_Diode
R17 Net-_D23-Pad2_ Net-_Q13-Pad2_ 2.7k
Q13 Net-_D16-Pad1_ Net-_Q13-Pad2_ Net-_Q13-Pad3_ eSim_NPN
R21 Net-_Q13-Pad2_ Net-_Q13-Pad3_ 7.2k
R22 Net-_Q13-Pad3_ GND 3k
Q14 Net-_D16-Pad1_ Net-_Q13-Pad3_ GND eSim_NPN
D16 Net-_D16-Pad1_ COM eSim_Diode
D23 GND Net-_D23-Pad2_ eSim_Diode
D20 GND Net-_D16-Pad1_ eSim_Diode
R2 Net-_D6-Pad2_ Net-_Q2-Pad2_ 2.7k
Q2 Net-_D2-Pad1_ Net-_Q2-Pad2_ Net-_Q2-Pad3_ eSim_NPN
R5 Net-_Q2-Pad2_ Net-_Q2-Pad3_ 7.2k
R6 Net-_Q2-Pad3_ GND 3k
Q4 Net-_D2-Pad1_ Net-_Q2-Pad3_ GND eSim_NPN
D2 Net-_D2-Pad1_ COM eSim_Diode
D6 GND Net-_D6-Pad2_ eSim_Diode
D4 GND Net-_D2-Pad1_ eSim_Diode
R9 Net-_D17-Pad2_ Net-_Q8-Pad2_ 2.7k
Q8 Net-_D12-Pad2_ Net-_Q8-Pad2_ Net-_Q10-Pad2_ eSim_NPN
R14 Net-_Q8-Pad2_ Net-_Q10-Pad2_ 7.2k
R15 Net-_Q10-Pad2_ GND 3k
Q10 Net-_D12-Pad2_ Net-_Q10-Pad2_ GND eSim_NPN
D9 Net-_D12-Pad2_ COM eSim_Diode
D17 GND Net-_D17-Pad2_ eSim_Diode
D12 GND Net-_D12-Pad2_ eSim_Diode
R16 Net-_D21-Pad2_ Net-_Q11-Pad2_ 2.7k
Q11 Net-_D14-Pad1_ Net-_Q11-Pad2_ Net-_Q11-Pad3_ eSim_NPN
R18 Net-_Q11-Pad2_ Net-_Q11-Pad3_ 7.2k
R19 Net-_Q11-Pad3_ GND 3k
Q12 Net-_D14-Pad1_ Net-_Q11-Pad3_ GND eSim_NPN
D14 Net-_D14-Pad1_ COM eSim_Diode
D21 GND Net-_D21-Pad2_ eSim_Diode
D19 GND Net-_D14-Pad1_ eSim_Diode
U1 Net-_D1-Pad1_ Net-_D2-Pad1_ Net-_D5-Pad2_ Net-_D6-Pad2_ GND COM Net-_D10-Pad2_ Net-_D13-Pad2_ Net-_D11-Pad2_ Net-_D15-Pad2_ Net-_D12-Pad2_ Net-_D17-Pad2_ Net-_D14-Pad1_ Net-_D21-Pad2_ Net-_D16-Pad1_ Net-_D23-Pad2_ Net-_D18-Pad1_ Net-_D24-Pad2_ PORT

.end
78 changes: 78 additions & 0 deletions library/SubcircuitLibrary/L603/l603.cir.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
* d:\fossee\esim\library\subcircuitlibrary\l603\l603.cir

.include NPN.lib
.include D.lib
r20 net-_d24-pad2_ net-_q15-pad2_ 2.7k
q15 net-_d18-pad1_ net-_q15-pad2_ net-_q15-pad3_ Q2N2222
r23 net-_q15-pad2_ net-_q15-pad3_ 7.2k
r24 net-_q15-pad3_ gnd 3k
q16 net-_d18-pad1_ net-_q15-pad3_ gnd Q2N2222
d18 net-_d18-pad1_ com 1N4148
d24 gnd net-_d24-pad2_ 1N4148
d22 gnd net-_d18-pad1_ 1N4148
r1 net-_d5-pad2_ net-_q1-pad2_ 2.7k
q1 net-_d1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
r3 net-_q1-pad2_ net-_q1-pad3_ 7.2k
r4 net-_q1-pad3_ gnd 3k
q3 net-_d1-pad1_ net-_q1-pad3_ gnd Q2N2222
d1 net-_d1-pad1_ com 1N4148
d5 gnd net-_d5-pad2_ 1N4148
d3 gnd net-_d1-pad1_ 1N4148
r7 net-_d13-pad2_ net-_q5-pad2_ 2.7k
q5 net-_d10-pad2_ net-_q5-pad2_ net-_q5-pad3_ Q2N2222
r10 net-_q5-pad2_ net-_q5-pad3_ 7.2k
r11 net-_q5-pad3_ gnd 3k
q6 net-_d10-pad2_ net-_q5-pad3_ gnd Q2N2222
d7 net-_d10-pad2_ com 1N4148
d13 gnd net-_d13-pad2_ 1N4148
d10 gnd net-_d10-pad2_ 1N4148
r8 net-_d15-pad2_ net-_q7-pad2_ 2.7k
q7 net-_d11-pad2_ net-_q7-pad2_ net-_q7-pad3_ Q2N2222
r12 net-_q7-pad2_ net-_q7-pad3_ 7.2k
r13 net-_q7-pad3_ gnd 3k
q9 net-_d11-pad2_ net-_q7-pad3_ gnd Q2N2222
d8 net-_d11-pad2_ com 1N4148
d15 gnd net-_d15-pad2_ 1N4148
d11 gnd net-_d11-pad2_ 1N4148
r17 net-_d23-pad2_ net-_q13-pad2_ 2.7k
q13 net-_d16-pad1_ net-_q13-pad2_ net-_q13-pad3_ Q2N2222
r21 net-_q13-pad2_ net-_q13-pad3_ 7.2k
r22 net-_q13-pad3_ gnd 3k
q14 net-_d16-pad1_ net-_q13-pad3_ gnd Q2N2222
d16 net-_d16-pad1_ com 1N4148
d23 gnd net-_d23-pad2_ 1N4148
d20 gnd net-_d16-pad1_ 1N4148
r2 net-_d6-pad2_ net-_q2-pad2_ 2.7k
q2 net-_d2-pad1_ net-_q2-pad2_ net-_q2-pad3_ Q2N2222
r5 net-_q2-pad2_ net-_q2-pad3_ 7.2k
r6 net-_q2-pad3_ gnd 3k
q4 net-_d2-pad1_ net-_q2-pad3_ gnd Q2N2222
d2 net-_d2-pad1_ com 1N4148
d6 gnd net-_d6-pad2_ 1N4148
d4 gnd net-_d2-pad1_ 1N4148
r9 net-_d17-pad2_ net-_q8-pad2_ 2.7k
q8 net-_d12-pad2_ net-_q8-pad2_ net-_q10-pad2_ Q2N2222
r14 net-_q8-pad2_ net-_q10-pad2_ 7.2k
r15 net-_q10-pad2_ gnd 3k
q10 net-_d12-pad2_ net-_q10-pad2_ gnd Q2N2222
d9 net-_d12-pad2_ com 1N4148
d17 gnd net-_d17-pad2_ 1N4148
d12 gnd net-_d12-pad2_ 1N4148
r16 net-_d21-pad2_ net-_q11-pad2_ 2.7k
q11 net-_d14-pad1_ net-_q11-pad2_ net-_q11-pad3_ Q2N2222
r18 net-_q11-pad2_ net-_q11-pad3_ 7.2k
r19 net-_q11-pad3_ gnd 3k
q12 net-_d14-pad1_ net-_q11-pad3_ gnd Q2N2222
d14 net-_d14-pad1_ com 1N4148
d21 gnd net-_d21-pad2_ 1N4148
d19 gnd net-_d14-pad1_ 1N4148
* u1 net-_d1-pad1_ net-_d2-pad1_ net-_d5-pad2_ net-_d6-pad2_ gnd com net-_d10-pad2_ net-_d13-pad2_ net-_d11-pad2_ net-_d15-pad2_ net-_d12-pad2_ net-_d17-pad2_ net-_d14-pad1_ net-_d21-pad2_ net-_d16-pad1_ net-_d23-pad2_ net-_d18-pad1_ net-_d24-pad2_ port
.tran 0e-00 0e-00 0e-00

* Control Statements
.control
run
print allv > plot_data_v.txt
print alli > plot_data_i.txt
.endc
.end
73 changes: 73 additions & 0 deletions library/SubcircuitLibrary/L603/l603.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
update=22/05/2015 07:44:53
version=1
last_client=kicad
[general]
version=1
RootSch=
BoardNm=
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries]
LibName1=adc-dac
LibName2=memory
LibName3=xilinx
LibName4=microcontrollers
LibName5=dsp
LibName6=microchip
LibName7=analog_switches
LibName8=motorola
LibName9=texas
LibName10=intel
LibName11=audio
LibName12=interface
LibName13=digital-audio
LibName14=philips
LibName15=display
LibName16=cypress
LibName17=siliconi
LibName18=opto
LibName19=atmel
LibName20=contrib
LibName21=power
LibName22=eSim_Plot
LibName23=transistors
LibName24=conn
LibName25=eSim_User
LibName26=regul
LibName27=74xx
LibName28=cmos4000
LibName29=eSim_Analog
LibName30=eSim_Devices
LibName31=eSim_Digital
LibName32=eSim_Hybrid
LibName33=eSim_Miscellaneous
LibName34=eSim_Power
LibName35=eSim_Sources
LibName36=eSim_Subckt
LibName37=eSim_Nghdl
LibName38=eSim_Ngveri
LibName39=eSim_SKY130
LibName40=eSim_SKY130_Subckts
Loading