Browse files

Update everything for Eagle 6

  • Loading branch information...
1 parent 2299ae4 commit 63b827ec996baf8e768d7f220903b557f5f8e2c0 @xdissent committed Jan 30, 2012
View
116 Libraries/Passives/Inductors.lbr
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE eagle SYSTEM "eagle.dtd">
+<eagle version="6.1">
+<drawing>
+<settings>
+<setting alwaysvectorfont="no"/>
+<setting verticaltext="up"/>
+</settings>
+<grid distance="0.1" unitdist="inch" unit="inch" style="lines" multiple="1" display="no" altdistance="0.01" altunitdist="inch" altunit="inch"/>
+<layers>
+<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/>
+<layer number="16" name="Bottom" color="1" fill="1" visible="yes" active="yes"/>
+<layer number="17" name="Pads" color="2" fill="1" visible="yes" active="yes"/>
+<layer number="18" name="Vias" color="2" fill="1" visible="yes" active="yes"/>
+<layer number="19" name="Unrouted" color="6" fill="1" visible="yes" active="yes"/>
+<layer number="20" name="Dimension" color="15" fill="1" visible="yes" active="yes"/>
+<layer number="21" name="tPlace" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="22" name="bPlace" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="23" name="tOrigins" color="15" fill="1" visible="yes" active="yes"/>
+<layer number="24" name="bOrigins" color="15" fill="1" visible="yes" active="yes"/>
+<layer number="25" name="tNames" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="26" name="bNames" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="27" name="tValues" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="28" name="bValues" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="29" name="tStop" color="7" fill="3" visible="no" active="yes"/>
+<layer number="30" name="bStop" color="7" fill="6" visible="no" active="yes"/>
+<layer number="31" name="tCream" color="7" fill="4" visible="no" active="yes"/>
+<layer number="32" name="bCream" color="7" fill="5" visible="no" active="yes"/>
+<layer number="33" name="tFinish" color="6" fill="3" visible="no" active="yes"/>
+<layer number="34" name="bFinish" color="6" fill="6" visible="no" active="yes"/>
+<layer number="35" name="tGlue" color="7" fill="4" visible="no" active="yes"/>
+<layer number="36" name="bGlue" color="7" fill="5" visible="no" active="yes"/>
+<layer number="37" name="tTest" color="7" fill="1" visible="no" active="yes"/>
+<layer number="38" name="bTest" color="7" fill="1" visible="no" active="yes"/>
+<layer number="39" name="tKeepout" color="4" fill="11" visible="yes" active="yes"/>
+<layer number="40" name="bKeepout" color="1" fill="11" visible="yes" active="yes"/>
+<layer number="41" name="tRestrict" color="4" fill="10" visible="yes" active="yes"/>
+<layer number="42" name="bRestrict" color="1" fill="10" visible="yes" active="yes"/>
+<layer number="43" name="vRestrict" color="2" fill="10" visible="yes" active="yes"/>
+<layer number="44" name="Drills" color="7" fill="1" visible="no" active="yes"/>
+<layer number="45" name="Holes" color="7" fill="1" visible="no" active="yes"/>
+<layer number="46" name="Milling" color="3" fill="1" visible="no" active="yes"/>
+<layer number="47" name="Measures" color="7" fill="1" visible="no" active="yes"/>
+<layer number="48" name="Document" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="49" name="Reference" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="51" name="tDocu" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="52" name="bDocu" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="91" name="Nets" color="2" fill="1" visible="yes" active="yes"/>
+<layer number="92" name="Busses" color="1" fill="1" visible="yes" active="yes"/>
+<layer number="93" name="Pins" color="2" fill="1" visible="yes" active="yes"/>
+<layer number="94" name="Symbols" color="4" fill="1" visible="yes" active="yes"/>
+<layer number="95" name="Names" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="96" name="Values" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="97" name="Info" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/>
+</layers>
+<library>
+<packages>
+<package name="INDUCTOR">
+<wire x1="2.54" y1="1.27" x2="3.175" y2="0" width="0.2032" layer="21" curve="-53.130102"/>
+<wire x1="3.175" y1="0" x2="2.54" y2="-1.27" width="0.2032" layer="21" curve="-53.130102"/>
+<wire x1="-2.54" y1="-1.27" x2="-3.175" y2="0" width="0.2032" layer="21" curve="-53.130102"/>
+<wire x1="-3.175" y1="0" x2="-2.54" y2="1.27" width="0.2032" layer="21" curve="-53.130102"/>
+<wire x1="-2.54" y1="1.27" x2="-1.27" y2="1.27" width="0.2032" layer="21"/>
+<wire x1="-1.27" y1="1.27" x2="-0.9525" y2="0.9525" width="0.2032" layer="21"/>
+<wire x1="2.54" y1="1.27" x2="1.27" y2="1.27" width="0.2032" layer="21"/>
+<wire x1="1.27" y1="1.27" x2="0.9525" y2="0.9525" width="0.2032" layer="21"/>
+<wire x1="0.9525" y1="0.9525" x2="-0.9525" y2="0.9525" width="0.2032" layer="21"/>
+<wire x1="-2.54" y1="-1.27" x2="-1.27" y2="-1.27" width="0.2032" layer="21"/>
+<wire x1="-1.27" y1="-1.27" x2="-0.9525" y2="-0.9525" width="0.2032" layer="21"/>
+<wire x1="-0.9525" y1="-0.9525" x2="0.9525" y2="-0.9525" width="0.2032" layer="21"/>
+<wire x1="0.9525" y1="-0.9525" x2="1.27" y2="-1.27" width="0.2032" layer="21"/>
+<wire x1="1.27" y1="-1.27" x2="2.54" y2="-1.27" width="0.2032" layer="21"/>
+<wire x1="-3.175" y1="0" x2="-4.1275" y2="0" width="0.2032" layer="21"/>
+<wire x1="3.175" y1="0" x2="4.1275" y2="0" width="0.2032" layer="21"/>
+<pad name="1" x="-5.08" y="0" drill="0.9"/>
+<pad name="2" x="5.08" y="0" drill="0.9"/>
+<text x="-2.54" y="-0.635" size="1.016" layer="27" font="vector">&gt;VALUE</text>
+<text x="-4.1275" y="1.5875" size="1.524" layer="25" font="vector">&gt;NAME</text>
+</package>
+</packages>
+<symbols>
+<symbol name="INDUCTOR">
+<text x="-3.81" y="1.4986" size="1.778" layer="95">&gt;NAME</text>
+<text x="-3.81" y="-3.302" size="1.778" layer="96">&gt;VALUE</text>
+<pin name="2" x="5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1" rot="R180"/>
+<pin name="1" x="-5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1"/>
+<wire x1="-2.54" y1="0" x2="-1.27" y2="0" width="0.254" layer="94" curve="-180"/>
+<wire x1="-1.27" y1="0" x2="0" y2="0" width="0.254" layer="94" curve="-180"/>
+<wire x1="0" y1="0" x2="1.27" y2="0" width="0.254" layer="94" curve="-180"/>
+<wire x1="1.27" y1="0" x2="2.54" y2="0" width="0.254" layer="94" curve="-180"/>
+</symbol>
+</symbols>
+<devicesets>
+<deviceset name="INDUCTOR" prefix="L" uservalue="yes">
+<gates>
+<gate name="A" symbol="INDUCTOR" x="0" y="0"/>
+</gates>
+<devices>
+<device name="INDUCTOR" package="INDUCTOR">
+<connects>
+<connect gate="A" pin="1" pad="1"/>
+<connect gate="A" pin="2" pad="2"/>
+</connects>
+<technologies>
+<technology name="">
+<attribute name="SPICE" value="L{NAME} {1.NET} {2.NET} {VALUE}" constant="no"/>
+</technology>
+</technologies>
+</device>
+</devices>
+</deviceset>
+</devicesets>
+</library>
+</drawing>
+</eagle>
View
80 Projects/Bell 5630/Phase Inverter.cir
@@ -1,40 +1,40 @@
-Phase Inverter
-.CONTROL
-run
-.ENDC
-.SUBCKT 12AX7 A G K
-Bca ca 0 V=45+V(A,K)+95.43*V(G,K)
-Bre re 0 V=URAMP(V(A,K)/5)-URAMP(V(A,K)/5-1)
-Baa A K I=V(re)*1.147E-6*(URAMP(V(ca))^1.5)
-Bgg G K I=5E-6*(URAMP(V(G,K)+0.2)^1.5)
-Cgk G K 1.6P
-Cgp G A 1.7P
-Cpk A K 0.46P
-.ENDS
-CC1 AFAMPIN VR1AG 50nF
-CC2 VR1AA VR1BG 50nF
-CC3 N$7 0 50uF
-CC4 VR1BA PHASEINVOUT1 50nF
-CC5 N$9 PHASEINVOUT2 50nF
-.TRAN 1us 100ms
-.CONTROL
-plot AFAMPIN VR1BG PHASEINVOUT1 PHASEINVOUT2
-.ENDC
-.TRAN 1uS 100mS
-.CONTROL
-plot VR1BA VR1BK
-.ENDC
-RR1 VR1AA VCC 1Meg
-RR2 VR1BA VCC 270k
-RR3 0 VR1AK 5.6k
-RR4 N$9 VR1BK 5.1k
-RR5 0 VR1AG 1Meg
-RR6 N$9 VR1BG 1.2Meg
-RR7 0 N$9 270k
-RR8 N$7 VR1AK 270
-RR9 0 PHASEINVOUT2 220k
-RR10 0 PHASEINVOUT1 220k
-XVR1A VR1AA VR1AG VR1AK 12AX7
-XVR1B VR1AA VR1AG VR1AK 12AX7
-VVSIN1 AFAMPIN 0 AC 1 SIN(0 0.00001V 1kHz)
-VCC VCC 0 DC 340V
+Phase Inverter
+.CONTROL
+run
+.ENDC
+.SUBCKT 12AX7 A G K
+Bca ca 0 V=45+V(A,K)+95.43*V(G,K)
+Bre re 0 V=URAMP(V(A,K)/5)-URAMP(V(A,K)/5-1)
+Baa A K I=V(re)*1.147E-6*(URAMP(V(ca))^1.5)
+Bgg G K I=5E-6*(URAMP(V(G,K)+0.2)^1.5)
+Cgk G K 1.6P
+Cgp G A 1.7P
+Cpk A K 0.46P
+.ENDS
+CC1 AFAMPIN VR1AG 50nF
+CC2 VR1AA VR1BG 50nF
+CC3 N$7 0 50uF
+CC4 VR1BA PHASEINVOUT1 50nF
+CC5 N$9 PHASEINVOUT2 50nF
+.TRAN 1us 100ms
+.CONTROL
+plot AFAMPIN VR1BG PHASEINVOUT1 PHASEINVOUT2
+.ENDC
+.TRAN 1uS 100mS
+.CONTROL
+plot VR1BA VR1BK
+.ENDC
+RR1 VR1AA VCC 1Meg
+RR2 VR1BA VCC 270k
+RR3 0 VR1AK 5.6k
+RR4 N$9 VR1BK 5.1k
+RR5 0 VR1AG 1Meg
+RR6 N$9 VR1BG 1.2Meg
+RR7 0 N$9 270k
+RR8 N$7 VR1AK 270
+RR9 0 PHASEINVOUT2 220k
+RR10 0 PHASEINVOUT1 220k
+XVR1A VR1AA VR1AG VR1AK 12AX7
+XVR1B VR1AA VR1AG VR1AK 12AX7
+VVSIN1 AFAMPIN 0 AC 1 SIN(0 0.00001V 1kHz)
+VCC VCC 0 DC 340V
View
BIN Projects/Bell 5630/Phase Inverter.sch
Binary file not shown.
View
12 Projects/Bell 5630/eagle.epf
@@ -7,12 +7,12 @@ Desktop="Desktop"
[Globals]
AutoSaveProject=1
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Frames.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/SPICE Tools.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Supply.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Tubes.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Passives/Resistors.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Passives/Capacitors.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Frames.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/SPICE Tools.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Supply.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Tubes.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Passives/Resistors.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Passives/Capacitors.lbr"
[Win_1]
Type="Control Panel"
View
110 Projects/JCM800/Lead MV.cir
@@ -1,55 +1,55 @@
-Lead MV
-.CONTROL
-run
-.ENDC
-.SUBCKT 12AX7 A G K
-Bca ca 0 V=45+V(A,K)+95.43*V(G,K)
-Bre re 0 V=URAMP(V(A,K)/5)-URAMP(V(A,K)/5-1)
-Baa A K I=V(re)*1.147E-6*(URAMP(V(ca))^1.5)
-Bgg G K I=5E-6*(URAMP(V(G,K)+0.2)^1.5)
-Cgk G K 1.6P
-Cgp G A 1.7P
-Cpk A K 0.46P
-.ENDS
-.SUBCKT 12AX7 A G K
-Bca ca 0 V=45+V(A,K)+95.43*V(G,K)
-Bre re 0 V=URAMP(V(A,K)/5)-URAMP(V(A,K)/5-1)
-Baa A K I=V(re)*1.147E-6*(URAMP(V(ca))^1.5)
-Bgg G K I=5E-6*(URAMP(V(G,K)+0.2)^1.5)
-Cgk G K 1.6P
-Cgp G A 1.7P
-Cpk A K 0.46P
-.ENDS
-CC1 N$3 0 680nF
-CC2 N$4 N$11 22nF
-CC3 N$11 N$5 470pF
-CC4 N$5 IN2 1nF
-CC5 N$8 N$10 22nf
-CC6 N$10 IN3 470pF
-CC7 OUT ROUT 22nF
-.TRAN 1us 100ms
-.CONTROL
-plot IN IN2 IN3 ROUT
-.ENDC
-RR1 0 IN 1Meg
-RR2 IN N$1 68k
-RR3 0 N$3 2.7k
-RR4 N$4 VCC 100k
-RR5 N$5 N$11 470k
-RR6CW N$5 IN2 31065.001000
-RR6CCW IN2 0 968935.001000
-RR7 0 N$7 10k
-RR8 N$8 VCC 100k
-RR9 IN3 N$10 470k
-RR10 0 IN3 470k
-RR11 0 N$13 820
-RR12 N$12 VDD 100k
-RR13 0 OUT 100k
-RR14 0 ROUT 1Meg
-XVR1A N$8 IN2 N$7 12AX7
-XVR1B N$4 N$1 N$3 12AX7
-XVR2A N$12 IN3 N$13 12AX7
-XVR2B VDD N$12 OUT 12AX7
-VVSIN1 IN 0 AC 1 SIN(0 1V 666Hz)
-VCC VCC 0 DC 250V
-VDD VDD 0 DC 260V
+Lead MV
+.CONTROL
+run
+.ENDC
+.SUBCKT 12AX7 A G K
+Bca ca 0 V=45+V(A,K)+95.43*V(G,K)
+Bre re 0 V=URAMP(V(A,K)/5)-URAMP(V(A,K)/5-1)
+Baa A K I=V(re)*1.147E-6*(URAMP(V(ca))^1.5)
+Bgg G K I=5E-6*(URAMP(V(G,K)+0.2)^1.5)
+Cgk G K 1.6P
+Cgp G A 1.7P
+Cpk A K 0.46P
+.ENDS
+.SUBCKT 12AX7 A G K
+Bca ca 0 V=45+V(A,K)+95.43*V(G,K)
+Bre re 0 V=URAMP(V(A,K)/5)-URAMP(V(A,K)/5-1)
+Baa A K I=V(re)*1.147E-6*(URAMP(V(ca))^1.5)
+Bgg G K I=5E-6*(URAMP(V(G,K)+0.2)^1.5)
+Cgk G K 1.6P
+Cgp G A 1.7P
+Cpk A K 0.46P
+.ENDS
+CC1 N$3 0 680nF
+CC2 N$4 N$11 22nF
+CC3 N$11 N$5 470pF
+CC4 N$5 IN2 1nF
+CC5 N$8 N$10 22nf
+CC6 N$10 IN3 470pF
+CC7 OUT ROUT 22nF
+.TRAN 1us 100ms
+.CONTROL
+plot IN IN2 IN3 ROUT
+.ENDC
+RR1 0 IN 1Meg
+RR2 IN N$1 68k
+RR3 0 N$3 2.7k
+RR4 N$4 VCC 100k
+RR5 N$5 N$11 470k
+RR6CW N$5 IN2 31065.001000
+RR6CCW IN2 0 968935.001000
+RR7 0 N$7 10k
+RR8 N$8 VCC 100k
+RR9 IN3 N$10 470k
+RR10 0 IN3 470k
+RR11 0 N$13 820
+RR12 N$12 VDD 100k
+RR13 0 OUT 100k
+RR14 0 ROUT 1Meg
+XVR1A N$8 IN2 N$7 12AX7
+XVR1B N$4 N$1 N$3 12AX7
+XVR2A N$12 IN3 N$13 12AX7
+XVR2B VDD N$12 OUT 12AX7
+VVSIN1 IN 0 AC 1 SIN(0 1V 666Hz)
+VCC VCC 0 DC 250V
+VDD VDD 0 DC 260V
View
BIN Projects/JCM800/Lead MV.sch
Binary file not shown.
View
14 Projects/JCM800/eagle.epf
@@ -7,13 +7,13 @@ Desktop="Desktop"
[Globals]
AutoSaveProject=1
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Frames.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/SPICE Tools.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Supply.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Tubes.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Passives/Resistors.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Passives/Capacitors.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Passives/Potentiometers.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Frames.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/SPICE Tools.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Supply.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Tubes.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Passives/Resistors.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Passives/Capacitors.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Passives/Potentiometers.lbr"
[Win_1]
Type="Control Panel"
View
52 Projects/SPICE Examples/BJT Differential Amplifier.cir
@@ -1,26 +1,26 @@
-BJT Differential Amplifier
-.CONTROL
-run
-.ENDC
-.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
-+ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
-+ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
-+ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
-.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
-+ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
-+ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
-+ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
-.TRAN 1uS 10mS
-.CONTROL
-plot INVOUT OUT
-.ENDC
-Q1 INVOUT IN N$3 2N3904
-Q2 OUT 0 N$2 2N3904
-R1 INVOUT VCC 75k
-R2 OUT VCC 75k
-R3 N$1 N$3 1k
-R4 N$1 N$2 1k
-R5 VEE N$1 75k
-VVSIN1 IN 0 AC 1 SIN(0 100mV 1kHz)
-VCC VCC 0 DC 15V
-VEE VEE 0 DC -15V
+BJT Differential Amplifier
+.CONTROL
+run
+.ENDC
+.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
++ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
++ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
++ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
+.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
++ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
++ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
++ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
+.TRAN 1uS 10mS
+.CONTROL
+plot INVOUT OUT
+.ENDC
+Q1 INVOUT IN N$3 2N3904
+Q2 OUT 0 N$2 2N3904
+R1 INVOUT VCC 75k
+R2 OUT VCC 75k
+R3 N$1 N$3 1k
+R4 N$1 N$2 1k
+R5 VEE N$1 75k
+VVSIN1 IN 0 AC 1 SIN(0 100mV 1kHz)
+VCC VCC 0 DC 15V
+VEE VEE 0 DC -15V
View
BIN Projects/SPICE Examples/BJT Differential Amplifier.sch
Binary file not shown.
View
42 Projects/SPICE Examples/Cascaded Tube Stages.cir
@@ -1,21 +1,21 @@
-Cascaded Tube Stages
-.CONTROL
-run
-.ENDC
-CC1 N$1 G2 20nF
-CC2 N$5 OUT 100nF
-.TRAN 1uS 100mS
-.CONTROL
-plot G1 G2 OUT
-.ENDC
-RR1 N$1 VCC 100k
-RR2 IN G1 68k
-RR3 0 G1 1Meg
-RR4 0 N$3 1.5k
-RR5 0 G2 1Meg
-RR6 N$5 VCC 100k
-RR7 0 N$6 1.5k
-RR8 0 OUT 1Meg
-TEST
-VVSIN1 IN 0 AC 1 SIN(0 1V 1kHz)
-VCC VCC 0 DC 300V
+Cascaded Tube Stages
+.CONTROL
+run
+.ENDC
+CC1 N$1 G2 20nF
+CC2 N$5 OUT 100nF
+.TRAN 1uS 100mS
+.CONTROL
+plot G1 G2 OUT
+.ENDC
+RR1 N$1 VCC 100k
+RR2 IN G1 68k
+RR3 0 G1 1Meg
+RR4 0 N$3 1.5k
+RR5 0 G2 1Meg
+RR6 N$5 VCC 100k
+RR7 0 N$6 1.5k
+RR8 0 OUT 1Meg
+TEST
+VVSIN1 IN 0 AC 1 SIN(0 1V 1kHz)
+VCC VCC 0 DC 300V
View
BIN Projects/SPICE Examples/Cascaded Tube Stages.sch
Binary file not shown.
View
164 Projects/SPICE Examples/Double Balanced Multiplier.cir
@@ -1,82 +1,82 @@
-Double Balanced Multiplier
-.CONTROL
-run
-.ENDC
-.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
-+ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
-+ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
-+ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
-.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
-+ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
-+ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
-+ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
-.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
-+ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
-+ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
-+ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
-.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
-+ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
-+ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
-+ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
-.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
-+ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
-+ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
-+ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
-.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
-+ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
-+ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
-+ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
-.SUBCKT OPAMP 1 2 101 102 81
-.model NPN NPN(BF=50000)
-Q1 5 1 7 NPN
-Q2 6 2 8 NPN
-RC1 101 5 95.49
-RC2 101 6 95.49
-RE1 7 4 43.79
-RE2 8 4 43.79
-I1 4 102 0.001
-G1 100 10 6 5 0.0104719
-RP1 10 100 9.549MEG
-CP1 10 100 0.0016667UF
-EOUT 80 100 10 100 1
-RO 80 81 100
-RREF1 101 103 100K
-RREF2 103 102 100K
-EREF 100 0 103 0 1
-R100 100 0 1MEG
-.ENDS
-CC1 MOD N$13 10uF
-CC2 N$14 INVMOD 10uF
-.TRAN 1uS 100mS
-.CONTROL
-plot OUT
-.ENDC
-Q1 COL1 N$3 N$1 2N3904
-Q2 COL2 N$4 N$1 2N3904
-Q3 COL1 N$5 N$2 2N3904
-Q4 COL2 N$6 N$2 2N3904
-Q5 N$1 N$13 N$8 2N3904
-Q6 N$2 N$14 N$9 2N3904
-RR1 COL2 VCC 750
-RR2 COL1 VCC 750
-RR3 IN N$3 47
-RR4 N$4 0 47
-RR5 0 N$5 47
-RR6 N$6 IN 47
-RR7 VEE N$8 680
-RR8 VEE N$9 680
-RR9 N$13 VCC 3k
-RR10 VEE N$13 1k
-RR11 N$14 VCC 3k
-RR12 VEE N$14 1k
-RR13 0 MOD 100k
-RR14 0 INVMOD 100k
-RR15 COL2 N$7 20k
-RR16 N$7 OUT 20k
-RR17 COL1 N$10 15k
-RR18 0 N$10 15k
-XU1 N$10 N$7 VCC VEE OUT OPAMP
-VVSIN1 IN 0 AC 1 SIN(0 1V 440Hz)
-VVSIN2 MOD INVMOD SIN(0 100mV 10Hz)
-VCC VCC 0 DC 15V
-VEE VEE 0 DC -15V
+Double Balanced Multiplier
+.CONTROL
+run
+.ENDC
+.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
++ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
++ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
++ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
+.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
++ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
++ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
++ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
+.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
++ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
++ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
++ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
+.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
++ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
++ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
++ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
+.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
++ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
++ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
++ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
+.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
++ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
++ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
++ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
+.SUBCKT OPAMP 1 2 101 102 81
+.model NPN NPN(BF=50000)
+Q1 5 1 7 NPN
+Q2 6 2 8 NPN
+RC1 101 5 95.49
+RC2 101 6 95.49
+RE1 7 4 43.79
+RE2 8 4 43.79
+I1 4 102 0.001
+G1 100 10 6 5 0.0104719
+RP1 10 100 9.549MEG
+CP1 10 100 0.0016667UF
+EOUT 80 100 10 100 1
+RO 80 81 100
+RREF1 101 103 100K
+RREF2 103 102 100K
+EREF 100 0 103 0 1
+R100 100 0 1MEG
+.ENDS
+CC1 MOD N$13 10uF
+CC2 N$14 INVMOD 10uF
+.TRAN 1uS 100mS
+.CONTROL
+plot OUT
+.ENDC
+Q1 COL1 N$3 N$1 2N3904
+Q2 COL2 N$4 N$1 2N3904
+Q3 COL1 N$5 N$2 2N3904
+Q4 COL2 N$6 N$2 2N3904
+Q5 N$1 N$13 N$8 2N3904
+Q6 N$2 N$14 N$9 2N3904
+RR1 COL2 VCC 750
+RR2 COL1 VCC 750
+RR3 IN N$3 47
+RR4 N$4 0 47
+RR5 0 N$5 47
+RR6 N$6 IN 47
+RR7 VEE N$8 680
+RR8 VEE N$9 680
+RR9 N$13 VCC 3k
+RR10 VEE N$13 1k
+RR11 N$14 VCC 3k
+RR12 VEE N$14 1k
+RR13 0 MOD 100k
+RR14 0 INVMOD 100k
+RR15 COL2 N$7 20k
+RR16 N$7 OUT 20k
+RR17 COL1 N$10 15k
+RR18 0 N$10 15k
+XU1 N$10 N$7 VCC VEE OUT OPAMP
+VVSIN1 IN 0 AC 1 SIN(0 1V 440Hz)
+VVSIN2 MOD INVMOD SIN(0 100mV 10Hz)
+VCC VCC 0 DC 15V
+VEE VEE 0 DC -15V
View
BIN Projects/SPICE Examples/Double Balanced Multiplier.sch
Binary file not shown.
View
68 Projects/SPICE Examples/Op Amp Buffers.cir
@@ -1,34 +1,34 @@
-Op Amp Buffers
-.CONTROL
-run
-.ENDC
-.SUBCKT OPAMP 1 2 101 102 81
-.model NPN NPN(BF=50000)
-Q1 5 1 7 NPN
-Q2 6 2 8 NPN
-RC1 101 5 95.49
-RC2 101 6 95.49
-RE1 7 4 43.79
-RE2 8 4 43.79
-I1 4 102 0.001
-G1 100 10 6 5 0.0104719
-RP1 10 100 9.549MEG
-CP1 10 100 0.0016667UF
-EOUT 80 100 10 100 1
-RO 80 81 100
-RREF1 101 103 100K
-RREF2 103 102 100K
-EREF 100 0 103 0 1
-R100 100 0 1MEG
-.ENDS
-.TRAN 1uS 10mS
-.CONTROL
-plot OUT INVOUT
-.ENDC
-R1 IN N$1 100k
-R2 N$1 INVOUT 100k
-XU1A IN OUT VCC VEE OUT OPAMP
-XU1B 0 N$1 VCC VEE INVOUT OPAMP
-VVSIN1 IN 0 AC 1 SIN(0 1V 1kHz)
-VCC VCC 0 DC 10V
-VEE VEE 0 DC -10V
+Op Amp Buffers
+.CONTROL
+run
+.ENDC
+.SUBCKT OPAMP 1 2 101 102 81
+.model NPN NPN(BF=50000)
+Q1 5 1 7 NPN
+Q2 6 2 8 NPN
+RC1 101 5 95.49
+RC2 101 6 95.49
+RE1 7 4 43.79
+RE2 8 4 43.79
+I1 4 102 0.001
+G1 100 10 6 5 0.0104719
+RP1 10 100 9.549MEG
+CP1 10 100 0.0016667UF
+EOUT 80 100 10 100 1
+RO 80 81 100
+RREF1 101 103 100K
+RREF2 103 102 100K
+EREF 100 0 103 0 1
+R100 100 0 1MEG
+.ENDS
+.TRAN 1uS 10mS
+.CONTROL
+plot OUT INVOUT
+.ENDC
+R1 IN N$1 100k
+R2 N$1 INVOUT 100k
+XU1A IN OUT VCC VEE OUT OPAMP
+XU1B 0 N$1 VCC VEE INVOUT OPAMP
+VVSIN1 IN 0 AC 1 SIN(0 1V 1kHz)
+VCC VCC 0 DC 10V
+VEE VEE 0 DC -10V
View
BIN Projects/SPICE Examples/Op Amp Buffers.sch
Binary file not shown.
View
30 Projects/SPICE Examples/Potentiometer Tapers.cir
@@ -1,15 +1,15 @@
-Potentiometer Tapers
-.CONTROL
-run
-.ENDC
-.TRAN 1uS 10mS
-.CONTROL
-plot LINOUT LOGOUT REVLOGOUT
-.ENDC
-RR1CW IN LINOUT 50000.001000
-RR1CCW LINOUT 0 50000.001000
-RR2CW IN LOGOUT 88656.001000
-RR2CCW LOGOUT 0 11344.001000
-RR3CW IN REVLOGOUT 11344.001000
-RR3CCW REVLOGOUT 0 88656.001000
-VVSIN1 IN 0 AC 1 SIN(0 1V 1kHz)
+Potentiometer Tapers
+.CONTROL
+run
+.ENDC
+.TRAN 1uS 10mS
+.CONTROL
+plot LINOUT LOGOUT REVLOGOUT
+.ENDC
+RR1CW IN LINOUT 50000.001000
+RR1CCW LINOUT 0 50000.001000
+RR2CW IN LOGOUT 88656.001000
+RR2CCW LOGOUT 0 11344.001000
+RR3CW IN REVLOGOUT 11344.001000
+RR3CCW REVLOGOUT 0 88656.001000
+VVSIN1 IN 0 AC 1 SIN(0 1V 1kHz)
View
BIN Projects/SPICE Examples/Potentiometer Tapers.sch
Binary file not shown.
View
101 Projects/SPICE Examples/Voltage Controlled Oscillator.cir
@@ -1,49 +1,52 @@
-Voltage Controlled Oscillator
-.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
-+ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
-+ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
-+ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
-.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
-+ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
-+ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
-+ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
-.SUBCKT OPAMP 1 2 101 102 81
-.model NPN NPN(BF=50000)
-Q1 5 1 7 NPN
-Q2 6 2 8 NPN
-RC1 101 5 95.49
-RC2 101 6 95.49
-RE1 7 4 43.79
-RE2 8 4 43.79
-I1 4 102 0.001
-G1 100 10 6 5 0.0104719
-RP1 10 100 9.549MEG
-CP1 10 100 0.0016667UF
-EOUT 80 100 10 100 1
-RO 80 81 100
-RREF1 101 103 100K
-RREF2 103 102 100K
-EREF 100 0 103 0 1
-R100 100 0 1MEG
-.ENDS
-CC1 TRIANGLE N$1 0.01uF
-.CONTROL
-tran 1000uS 10S
-setplot tran1
-plot TRIANGLE SQUARE
-.ENDC
-Q1 N$9 N$8 0 2N3904
-Q2 VCC SQUARE N$7 2N3904
-RR1 IN N$1 100k
-RR2 IN N$2 49.9k
-RR3 0 N$2 49.9k
-RR4 N$9 N$1 49.9k
-RR5 0 N$5 100k
-RR6 N$5 VCC 100k
-RR7 N$5 SQUARE 100k
-RR8 N$8 N$7 10k
-RR9 0 N$7 47k
-XU1A N$2 N$1 VCC 0 TRIANGLE OPAMP
-XU1B N$5 TRIANGLE VCC 0 SQUARE OPAMP
-VCC VCC 0 10V
-VIN IN 0 9V
+Voltage Controlled Oscillator
+.CONTROL
+run
+.ENDC
+.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
++ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
++ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
++ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
+.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
++ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
++ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
++ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
+.SUBCKT OPAMP 1 2 101 102 81
+.model NPN NPN(BF=50000)
+Q1 5 1 7 NPN
+Q2 6 2 8 NPN
+RC1 101 5 95.49
+RC2 101 6 95.49
+RE1 7 4 43.79
+RE2 8 4 43.79
+I1 4 102 0.001
+G1 100 10 6 5 0.0104719
+RP1 10 100 9.549MEG
+CP1 10 100 0.0016667UF
+EOUT 80 100 10 100 1
+RO 80 81 100
+RREF1 101 103 100K
+RREF2 103 102 100K
+EREF 100 0 103 0 1
+R100 100 0 1MEG
+.ENDS
+CC1 TRIANGLE N$1 0.01uF
+.CONTROL
+tran 1000uS 10S
+setplot tran1
+plot TRIANGLE SQUARE
+.ENDC
+Q1 N$9 N$8 0 2N3904
+Q2 VCC SQUARE N$7 2N3904
+RR1 IN N$1 100k
+RR2 IN N$2 49.9k
+RR3 0 N$2 49.9k
+RR4 N$9 N$1 49.9k
+RR5 0 N$5 100k
+RR6 N$5 VCC 100k
+RR7 N$5 SQUARE 100k
+RR8 N$8 N$7 10k
+RR9 0 N$7 47k
+XU1A N$2 N$1 VCC 0 TRIANGLE OPAMP
+XU1B N$5 TRIANGLE VCC 0 SQUARE OPAMP
+VCC VCC 0 10V
+VIN IN 0 9V
View
BIN Projects/SPICE Examples/Voltage Controlled Oscillator.sch
Binary file not shown.
View
58 Projects/SPICE Examples/eagle.epf
@@ -1,29 +1,29 @@
-[Eagle]
-Version="05 10 00"
-Platform="Windows"
-Serial="7D07E7847B-LSR-WLM-NCP"
-Globals="Globals"
-Desktop="Desktop"
-
-[Globals]
-AutoSaveProject=1
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Frames.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Op Amps.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/SPICE Tools.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Supply.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Switches.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Transistors.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Tubes.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Passives/Resistors.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Passives/Capacitors.lbr"
-UsedLibrary="C:/Users/xdissent/Documents/monowave-eagle/Libraries/Passives/Potentiometers.lbr"
-
-[Win_1]
-Type="Control Panel"
-Loc="44 229 643 628"
-State=2
-Number=0
-
-[Desktop]
-Screen="1920 1174"
-Window="Win_1"
+[Eagle]
+Version="06 01 00"
+Platform="Mac OS X"
+Serial="62191E841E-LSR-WLM-1EL"
+Globals="Globals"
+Desktop="Desktop"
+
+[Globals]
+AutoSaveProject=1
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Frames.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Op Amps.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/SPICE Tools.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Supply.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Switches.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Transistors.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Tubes.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Passives/Resistors.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Passives/Capacitors.lbr"
+UsedLibrary="/Users/xdissent/Documents/Eagle/monowave-eagle/Libraries/Passives/Potentiometers.lbr"
+
+[Win_1]
+Type="Control Panel"
+Loc="132 132 1386 953"
+State=2
+Number=0
+
+[Desktop]
+Screen="1920 1200"
+Window="Win_1"
View
30 User Language Programs/Eagle to Spice.ulp
@@ -339,13 +339,13 @@ int main() {
if (P.attribute["SPICE"]) {
// The SPICE data to output.
- string out = P.attribute["SPICE"];
+ string pout = P.attribute["SPICE"];
// Substitute the name for "{NAME}".
- out = str_replace("{NAME}", P.name, out);
+ pout = str_replace("{NAME}", P.name, pout);
// Substitute the value for "{VALUE}".
- out = str_replace("{VALUE}", P.value, out);
+ pout = str_replace("{VALUE}", P.value, pout);
// Iterate over each part instance.
P.instances(I) {
@@ -354,46 +354,46 @@ int main() {
I.gate.symbol.pins(PIN) {
// Substitute the pin net name for "{P.NET}" where "P" is the pin name.
- out = str_replace("{" + PIN.name + ".NET}", PIN.net, out);
+ pout = str_replace("{" + PIN.name + ".NET}", PIN.net, pout);
// Substitute the pin net name for "{G.P.NET}" where "G" is the gate name.
- out = str_replace("{" + I.gate.name + "." + PIN.name + ".NET}", PIN.net, out);
+ pout = str_replace("{" + I.gate.name + "." + PIN.name + ".NET}", PIN.net, pout);
}
}
// Iterate over each part attribute.
P.attributes(A) {
// Substitute value of attribute named "A" for "{ATTR.A}"
- out = str_replace("{ATTR." + A.name + "}", A.value, out);
+ pout = str_replace("{ATTR." + A.name + "}", A.value, pout);
}
// Evaluate operations.
- out = math_replace(out);
+ pout = math_replace(pout);
// Handle newlines last so other substitutions can use them.
- out = str_replace("\\n", "\n", out);
+ pout = str_replace("\\n", "\n", pout);
- netlist[n++] = out;
+ netlist[n++] = pout;
}
}
// Process global SPICE data.
SCHEM.attributes(A) {
- if (A.name == "SPICE") {
- string out = A.value;
+ if (A.name == "GLOBALSPICE") {
+ string xout = A.value;
// Iterate over other global attributes.
SCHEM.attributes(B) {
- out = str_replace("{ATTR." + B.name + "}", B.value, out);
+ xout = str_replace("{ATTR." + B.name + "}", B.value, xout);
}
// Evaluate operations.
- out = math_replace(out);
+ xout = math_replace(xout);
// Handle newlines.
- out = str_replace("\\n", "\n", out);
+ xout = str_replace("\\n", "\n", xout);
- netlist[n++] = out;
+ netlist[n++] = xout;
}
}

0 comments on commit 63b827e

Please sign in to comment.