summaryrefslogtreecommitdiff
path: root/src/SubcircuitLibrary/lm555n
diff options
context:
space:
mode:
authorTanay Mathur2015-06-23 11:50:52 +0530
committerTanay Mathur2015-06-23 11:50:52 +0530
commit39fecda9f1be8b1007552437d53c06bdc02f4b47 (patch)
tree3f4bffd09e28240509a215a4b00b3f8b4dda712a /src/SubcircuitLibrary/lm555n
parentf47a744451fe634efb487023f073321ceed4664c (diff)
downloadeSim-39fecda9f1be8b1007552437d53c06bdc02f4b47.tar.gz
eSim-39fecda9f1be8b1007552437d53c06bdc02f4b47.tar.bz2
eSim-39fecda9f1be8b1007552437d53c06bdc02f4b47.zip
Added subcircuit functionality
Diffstat (limited to 'src/SubcircuitLibrary/lm555n')
-rw-r--r--src/SubcircuitLibrary/lm555n/analysis1
-rw-r--r--src/SubcircuitLibrary/lm555n/lm555n.bak435
-rw-r--r--src/SubcircuitLibrary/lm555n/lm555n.cir25
-rw-r--r--src/SubcircuitLibrary/lm555n/lm555n.cir.ckt35
-rw-r--r--src/SubcircuitLibrary/lm555n/lm555n.cir.out31
-rw-r--r--src/SubcircuitLibrary/lm555n/lm555n.cir.out~30
-rw-r--r--src/SubcircuitLibrary/lm555n/lm555n.cir~25
-rw-r--r--src/SubcircuitLibrary/lm555n/lm555n.pro73
-rw-r--r--src/SubcircuitLibrary/lm555n/lm555n.sch435
-rw-r--r--src/SubcircuitLibrary/lm555n/lm555n.sub25
-rw-r--r--src/SubcircuitLibrary/lm555n/lm555n_Previous_Values.xml1
11 files changed, 1116 insertions, 0 deletions
diff --git a/src/SubcircuitLibrary/lm555n/analysis b/src/SubcircuitLibrary/lm555n/analysis
new file mode 100644
index 00000000..52ccc5ec
--- /dev/null
+++ b/src/SubcircuitLibrary/lm555n/analysis
@@ -0,0 +1 @@
+.ac lin 0 0Hz 0Hz \ No newline at end of file
diff --git a/src/SubcircuitLibrary/lm555n/lm555n.bak b/src/SubcircuitLibrary/lm555n/lm555n.bak
new file mode 100644
index 00000000..92d1f7a7
--- /dev/null
+++ b/src/SubcircuitLibrary/lm555n/lm555n.bak
@@ -0,0 +1,435 @@
+EESchema Schematic File Version 2 date Monday 17 December 2012 10:48:46 AM IST
+LIBS:power
+LIBS:device
+LIBS:transistors
+LIBS:conn
+LIBS:linear
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:special
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:valves
+LIBS:analogSpice
+LIBS:analogXSpice
+LIBS:converterSpice
+LIBS:digitalSpice
+LIBS:linearSpice
+LIBS:measurementSpice
+LIBS:portSpice
+LIBS:sourcesSpice
+LIBS:digitalXSpice
+LIBS:lm555n-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11700 8267
+encoding utf-8
+Sheet 1 1
+Title ""
+Date "17 dec 2012"
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L D_INVERTER U5
+U 1 1 50CEA9C5
+P 6700 4050
+F 0 "U5" H 6550 4150 40 0000 C CNN
+F 1 "D_INVERTER" H 6800 4150 40 0000 C CNN
+ 1 6700 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L D_SRLATCH U6
+U 1 1 50CEA9AE
+P 7100 3400
+F 0 "U6" H 6900 3650 60 0000 C CNN
+F 1 "D_SRLATCH" H 7100 3500 60 0000 C CNN
+ 1 7100 3400
+ 1 0 0 -1
+$EndComp
+Text Notes 5750 3050 0 60 ~ 0
+IC 555
+Wire Wire Line
+ 4700 3000 4900 3000
+Wire Wire Line
+ 4700 4750 4700 4650
+Connection ~ 4400 3550
+Connection ~ 4400 4900
+Wire Wire Line
+ 4300 4900 7700 4900
+Wire Wire Line
+ 4400 4200 4400 4100
+Wire Wire Line
+ 7700 4900 7700 4800
+Wire Wire Line
+ 7700 3250 7850 3250
+Wire Wire Line
+ 7400 4600 7100 4600
+Wire Wire Line
+ 7100 4600 7100 4250
+Wire Wire Line
+ 7700 3650 7700 3550
+Wire Wire Line
+ 6350 4050 6450 4050
+Wire Wire Line
+ 6950 3900 6950 4000
+Wire Wire Line
+ 7150 4000 7150 4050
+Wire Wire Line
+ 7150 4050 6950 4050
+Wire Wire Line
+ 6500 3550 6200 3550
+Wire Wire Line
+ 6350 3250 6500 3250
+Wire Wire Line
+ 5400 3250 5100 3250
+Wire Wire Line
+ 5100 3250 5100 3750
+Wire Wire Line
+ 5550 4500 5550 4350
+Wire Wire Line
+ 5700 3550 5800 3550
+Wire Wire Line
+ 5900 3250 6000 3250
+Wire Wire Line
+ 6000 3850 6350 3850
+Wire Wire Line
+ 5800 4150 6200 4150
+Wire Wire Line
+ 5200 3550 5200 3700
+Wire Wire Line
+ 5200 3700 5550 3700
+Wire Wire Line
+ 5550 3700 5550 3750
+Connection ~ 5550 4450
+Wire Wire Line
+ 5750 4400 5750 4450
+Wire Wire Line
+ 5100 4350 5100 4450
+Wire Wire Line
+ 5100 4450 5750 4450
+Wire Wire Line
+ 6500 3400 6450 3400
+Wire Wire Line
+ 6450 3400 6450 4050
+Wire Wire Line
+ 6950 4000 7250 4000
+Wire Wire Line
+ 7250 4000 7250 3900
+Connection ~ 7150 4000
+Wire Wire Line
+ 7600 4250 7700 4250
+Wire Wire Line
+ 7700 4400 7700 4350
+Wire Wire Line
+ 7700 4350 7800 4350
+Wire Wire Line
+ 7850 3850 7900 3850
+Wire Wire Line
+ 4400 4900 4400 4700
+Wire Wire Line
+ 4400 3600 4400 3500
+Wire Wire Line
+ 4300 3000 4400 3000
+Wire Wire Line
+ 4400 4150 4700 4150
+Connection ~ 4400 4150
+Wire Wire Line
+ 4300 3550 4700 3550
+Wire Wire Line
+ 4700 3550 4700 3500
+Wire Wire Line
+ 6350 4750 6350 4650
+Text Label 4850 4100 0 60 ~ 0
+d
+$Comp
+L VCVS E2
+U 1 1 50AA12FF
+P 5050 4050
+F 0 "E2" H 4850 4150 50 0000 C CNN
+F 1 "10000" H 4850 4000 50 0000 C CNN
+ 1 5050 4050
+ 0 1 1 0
+$EndComp
+$Comp
+L LIMIT8 U4
+U 2 1 50B4E21B
+P 6000 3550
+F 0 "U4" H 6000 3650 30 0000 C CNN
+F 1 "LIMIT8" H 6000 3550 30 0000 C CNN
+ 2 6000 3550
+ 0 1 1 0
+$EndComp
+$Comp
+L LIMIT8 U4
+U 1 1 50B4E215
+P 5800 3850
+F 0 "U4" H 5800 3950 30 0000 C CNN
+F 1 "LIMIT8" H 5800 3850 30 0000 C CNN
+ 1 5800 3850
+ 0 1 1 0
+$EndComp
+$Comp
+L DAC8 U3
+U 2 1 50AAFCE7
+P 7700 3950
+F 0 "U3" H 7600 4050 40 0000 C CNN
+F 1 "DAC8" H 7700 3950 40 0000 C CNN
+ 2 7700 3950
+ 0 1 1 0
+$EndComp
+$Comp
+L DAC8 U3
+U 1 1 50AAFC9A
+P 7850 3550
+F 0 "U3" H 7750 3650 40 0000 C CNN
+F 1 "DAC8" H 7850 3550 40 0000 C CNN
+ 1 7850 3550
+ 0 1 1 0
+$EndComp
+$Comp
+L ADC8 U2
+U 3 1 50AAFB76
+P 6350 4350
+F 0 "U2" H 6250 4450 40 0000 C CNN
+F 1 "ADC8" H 6350 4350 40 0000 C CNN
+ 3 6350 4350
+ 0 -1 -1 0
+$EndComp
+$Comp
+L ADC8 U2
+U 2 1 50AAFB64
+P 6350 3550
+F 0 "U2" H 6250 3650 40 0000 C CNN
+F 1 "ADC8" H 6350 3550 40 0000 C CNN
+ 2 6350 3550
+ 0 -1 -1 0
+$EndComp
+$Comp
+L ADC8 U2
+U 1 1 50AAFB55
+P 6200 3850
+F 0 "U2" H 6100 3950 40 0000 C CNN
+F 1 "ADC8" H 6200 3850 40 0000 C CNN
+ 1 6200 3850
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PWR_FLAG #FLG01
+U 1 1 50AA39A3
+P 5750 4400
+F 0 "#FLG01" H 5750 4670 30 0001 C CNN
+F 1 "PWR_FLAG" H 5750 4630 30 0000 C CNN
+ 1 5750 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 50AA2210
+P 4050 3550
+F 0 "U1" H 4050 3500 30 0000 C CNN
+F 1 "PORT" H 4050 3550 30 0000 C CNN
+ 5 4050 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 50AA21C7
+P 4050 4900
+F 0 "U1" H 4050 4850 30 0000 C CNN
+F 1 "PORT" H 4050 4900 30 0000 C CNN
+ 1 4050 4900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 50AA21BC
+P 4700 5000
+F 0 "U1" H 4700 4950 30 0000 C CNN
+F 1 "PORT" H 4700 5000 30 0000 C CNN
+ 2 4700 5000
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 4 1 50AA21A9
+P 6350 5000
+F 0 "U1" H 6350 4950 30 0000 C CNN
+F 1 "PORT" H 6350 5000 30 0000 C CNN
+ 4 6350 5000
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 7 1 50AA21A0
+P 8050 4350
+F 0 "U1" H 8050 4300 30 0000 C CNN
+F 1 "PORT" H 8050 4350 30 0000 C CNN
+ 7 8050 4350
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 50AA2181
+P 8150 3850
+F 0 "U1" H 8150 3800 30 0000 C CNN
+F 1 "PORT" H 8150 3850 30 0000 C CNN
+ 3 8150 3850
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 50AA2171
+P 5150 3000
+F 0 "U1" H 5150 2950 30 0000 C CNN
+F 1 "PORT" H 5150 3000 30 0000 C CNN
+ 6 5150 3000
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 50AA2162
+P 4050 3000
+F 0 "U1" H 4050 2950 30 0000 C CNN
+F 1 "PORT" H 4050 3000 30 0000 C CNN
+ 8 4050 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R8
+U 1 1 50AA20DA
+P 7350 4250
+F 0 "R8" V 7430 4250 50 0000 C CNN
+F 1 "1500" V 7350 4250 50 0000 C CNN
+ 1 7350 4250
+ 0 1 1 0
+$EndComp
+$Comp
+L NPN Q1
+U 1 1 50AA2050
+P 7600 4600
+F 0 "Q1" H 7600 4450 50 0000 R CNN
+F 1 "QNOM" H 7600 4750 50 0000 R CNN
+ 1 7600 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L GND #PWR02
+U 1 1 50AA140C
+P 5550 4500
+F 0 "#PWR02" H 5550 4500 30 0001 C CNN
+F 1 "GND" H 5550 4430 30 0001 C CNN
+ 1 5550 4500
+ 1 0 0 -1
+$EndComp
+Text Label 4850 4000 0 60 ~ 0
+c
+Text Label 4700 4650 0 60 ~ 0
+d
+Text Label 4700 4150 0 60 ~ 0
+c
+$Comp
+L R R7
+U 1 1 50AA12F7
+P 5650 3250
+F 0 "R7" V 5730 3250 50 0000 C CNN
+F 1 "25" V 5650 3250 50 0000 C CNN
+ 1 5650 3250
+ 0 -1 -1 0
+$EndComp
+$Comp
+L R R6
+U 1 1 50AA12B0
+P 5450 3550
+F 0 "R6" V 5530 3550 50 0000 C CNN
+F 1 "25" V 5450 3550 50 0000 C CNN
+ 1 5450 3550
+ 0 -1 -1 0
+$EndComp
+Text Label 5300 4000 0 60 ~ 0
+b
+Text Label 5300 4100 0 60 ~ 0
+a
+Text Label 4700 3000 0 60 ~ 0
+b
+Text Label 4700 3500 0 60 ~ 0
+a
+$Comp
+L VCVS E1
+U 1 1 50AA11B6
+P 5500 4050
+F 0 "E1" H 5300 4150 50 0000 C CNN
+F 1 "10000" H 5300 4000 50 0000 C CNN
+ 1 5500 4050
+ 0 1 1 0
+$EndComp
+$Comp
+L R R4
+U 1 1 50A9E00B
+P 4700 3250
+F 0 "R4" V 4780 3250 50 0000 C CNN
+F 1 "2E6" V 4700 3250 50 0000 C CNN
+ 1 4700 3250
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R5
+U 1 1 50A9E001
+P 4700 4400
+F 0 "R5" V 4780 4400 50 0000 C CNN
+F 1 "2E6" V 4700 4400 50 0000 C CNN
+ 1 4700 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R3
+U 1 1 50A9DF09
+P 4400 4450
+F 0 "R3" V 4480 4450 50 0000 C CNN
+F 1 "5000" V 4400 4450 50 0000 C CNN
+ 1 4400 4450
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R2
+U 1 1 50A9DF03
+P 4400 3850
+F 0 "R2" V 4480 3850 50 0000 C CNN
+F 1 "5000" V 4400 3850 50 0000 C CNN
+ 1 4400 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R1
+U 1 1 50A9DEFE
+P 4400 3250
+F 0 "R1" V 4480 3250 50 0000 C CNN
+F 1 "5000" V 4400 3250 50 0000 C CNN
+ 1 4400 3250
+ 1 0 0 -1
+$EndComp
+$EndSCHEMATC
diff --git a/src/SubcircuitLibrary/lm555n/lm555n.cir b/src/SubcircuitLibrary/lm555n/lm555n.cir
new file mode 100644
index 00000000..8f6f81c6
--- /dev/null
+++ b/src/SubcircuitLibrary/lm555n/lm555n.cir
@@ -0,0 +1,25 @@
+* EESchema Netlist Version 1.1 (Spice format) creation date: Monday 17 December 2012 10:57:49 AM IST
+
+* 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:/
+U5 5 21 D_INVERTER
+U6 1 4 5 21 21 8 10 D_SRLATCH
+E2 18 0 23 14 10000
+*U4 19 20 11 12 LIMIT8
+*U3 8 10 7 9 DAC8
+*U2 11 12 6 4 1 5 ADC8
+U1 22 14 7 6 15 16 3 13 PORT
+R8 9 2 1500
+Q1 22 2 3 QNOM
+R7 18 20 25
+R6 17 19 25
+E1 17 0 16 15 10000
+R4 16 15 2E6
+R5 23 14 2E6
+R3 23 22 5000
+R2 15 23 5000
+R1 13 15 5000
+
+.end
diff --git a/src/SubcircuitLibrary/lm555n/lm555n.cir.ckt b/src/SubcircuitLibrary/lm555n/lm555n.cir.ckt
new file mode 100644
index 00000000..90f04a32
--- /dev/null
+++ b/src/SubcircuitLibrary/lm555n/lm555n.cir.ckt
@@ -0,0 +1,35 @@
+* eeschema netlist version 1.1 (spice format) creation date: monday 17 december 2012 10:57:49 am ist
+
+* Inverter d_inverter
+* SR Latch d_srlatch
+e2 18 0 23 14 10000
+* Limiter limit8
+* Digital to Analog converter dac8
+* Analog to Digital converter adc8
+u1 22 14 7 6 15 16 3 13 port
+r8 9 2 1500
+q1 3 2 22 qnom
+r7 18 20 25
+r6 17 19 25
+e1 17 0 16 15 10000
+r4 16 15 2e6
+r5 23 14 2e6
+r3 23 22 5000
+r2 15 23 5000
+r1 13 15 5000
+a1 5 21 u5
+.model u5 d_inverter(rise_delay=1e-12 fall_delay=1e-12 input_load=1e-12)
+a2 1 4 5 21 21 8 10 u6
+.model u6 d_srlatch(rise_delay=1e-12 fall_delay=1e-12 ic=0
++sr_load=1e-12 enable_load=1e-12 set_load=1e-12 reset_load=1e-12
++sr_delay=1e-12 enable_delay=1e-12 set_delay=1e-12 reset_delay=1e-12)
+a3 19 11 u4
+a4 20 12 u4
+.model u4 limit(out_lower_limit=0.0 out_upper_limit=5.0)
+a5 [8] [7] u3
+a6 [10] [9] u3
+.model u3 dac_bridge(out_low=0.2 out_high=5.0 out_undef=5.0 )
+a7 [11] [4] u2
+a8 [12] [1] u2
+a9 [6] [5] u2
+.model u2 adc_bridge(in_low=0.8 in_high=2.0 )
diff --git a/src/SubcircuitLibrary/lm555n/lm555n.cir.out b/src/SubcircuitLibrary/lm555n/lm555n.cir.out
new file mode 100644
index 00000000..f25b1e46
--- /dev/null
+++ b/src/SubcircuitLibrary/lm555n/lm555n.cir.out
@@ -0,0 +1,31 @@
+* eeschema netlist version 1.1 (spice format) creation date: monday 17 december 2012 10:57:49 am ist
+
+* u5 5 21 d_inverter
+* u6 1 4 5 21 21 8 10 d_srlatch
+e2 18 0 23 14 10000
+* u1 22 14 7 6 15 16 3 13 port
+r8 9 2 1500
+q1 22 2 3 qnom
+r7 18 20 25
+r6 17 19 25
+e1 17 0 16 15 10000
+r4 16 15 2e6
+r5 23 14 2e6
+r3 23 22 5000
+r2 15 23 5000
+r1 13 15 5000
+a1 5 21 u5
+a2 1 4 5 21 21 8 10 u6
+* Schematic Name: d_inverter, NgSpice Name: d_inverter
+.model u5 d_inverter(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Schematic Name: d_srlatch, NgSpice Name: d_srlatch
+.model u6 d_srlatch(ic=0 sr_load=1.0e-12 set_delay=1.0e-9 set_load=1.0e-12 sr_delay=1.0e-9 reset_load=1.0e-12 enable_delay=1.0e-9 reset_delay=1.0e-9 rise_delay=1.0e-9 fall_delay=1.0e-9 enable_load=1.0e-12 )
+.ac lin 0 0Hz 0Hz
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/src/SubcircuitLibrary/lm555n/lm555n.cir.out~ b/src/SubcircuitLibrary/lm555n/lm555n.cir.out~
new file mode 100644
index 00000000..bc50c640
--- /dev/null
+++ b/src/SubcircuitLibrary/lm555n/lm555n.cir.out~
@@ -0,0 +1,30 @@
+* eeschema netlist version 1.1 (spice format) creation date: monday 17 december 2012 10:57:49 am ist
+
+* u5 5 21 d_inverter
+* u6 1 4 5 21 21 8 10 d_srlatch
+e2 18 0 23 14 10000
+r8 9 2 1500
+q1 22 2 3 qnom
+r7 18 20 25
+r6 17 19 25
+e1 17 0 16 15 10000
+r4 16 15 2e6
+r5 23 14 2e6
+r3 23 22 5000
+r2 15 23 5000
+r1 13 15 5000
+a1 5 21 u5
+a2 1 4 5 21 21 8 10 u6
+* Schematic Name: d_inverter, NgSpice Name: d_inverter
+.model u5 d_inverter(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Schematic Name: d_srlatch, NgSpice Name: d_srlatch
+.model u6 d_srlatch(ic=0 sr_load=1.0e-12 set_delay=1.0e-9 set_load=1.0e-12 sr_delay=1.0e-9 reset_load=1.0e-12 enable_delay=1.0e-9 reset_delay=1.0e-9 rise_delay=1.0e-9 fall_delay=1.0e-9 enable_load=1.0e-12 )
+.ac lin 0 0Hz 0Hz
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/src/SubcircuitLibrary/lm555n/lm555n.cir~ b/src/SubcircuitLibrary/lm555n/lm555n.cir~
new file mode 100644
index 00000000..7ef9e6a5
--- /dev/null
+++ b/src/SubcircuitLibrary/lm555n/lm555n.cir~
@@ -0,0 +1,25 @@
+* EESchema Netlist Version 1.1 (Spice format) creation date: Monday 17 December 2012 10:57:49 AM IST
+
+* 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:/
+U5 5 21 D_INVERTER
+U6 1 4 5 21 21 8 10 D_SRLATCH
+E2 18 0 23 14 10000
+*U4 19 20 11 12 LIMIT8
+*U3 8 10 7 9 DAC8
+*U2 11 12 6 4 1 5 ADC8
+*U1 22 14 7 6 15 16 3 13 PORT
+R8 9 2 1500
+Q1 22 2 3 QNOM
+R7 18 20 25
+R6 17 19 25
+E1 17 0 16 15 10000
+R4 16 15 2E6
+R5 23 14 2E6
+R3 23 22 5000
+R2 15 23 5000
+R1 13 15 5000
+
+.end
diff --git a/src/SubcircuitLibrary/lm555n/lm555n.pro b/src/SubcircuitLibrary/lm555n/lm555n.pro
new file mode 100644
index 00000000..c8e151fb
--- /dev/null
+++ b/src/SubcircuitLibrary/lm555n/lm555n.pro
@@ -0,0 +1,73 @@
+update=Monday 19 November 2012 04:56:38 PM IST
+last_client=eeschema
+[eeschema]
+version=1
+LibDir=/home/yogesh/FreeEDA/library
+NetFmt=1
+HPGLSpd=20
+HPGLDm=15
+HPGLNum=1
+offX_A4=0
+offY_A4=0
+offX_A3=0
+offY_A3=0
+offX_A2=0
+offY_A2=0
+offX_A1=0
+offY_A1=0
+offX_A0=0
+offY_A0=0
+offX_A=0
+offY_A=0
+offX_B=0
+offY_B=0
+offX_C=0
+offY_C=0
+offX_D=0
+offY_D=0
+offX_E=0
+offY_E=0
+RptD_X=0
+RptD_Y=100
+RptLab=1
+LabSize=60
+[eeschema/libraries]
+LibName1=power
+LibName2=device
+LibName3=transistors
+LibName4=conn
+LibName5=linear
+LibName6=regul
+LibName7=74xx
+LibName8=cmos4000
+LibName9=adc-dac
+LibName10=memory
+LibName11=xilinx
+LibName12=special
+LibName13=microcontrollers
+LibName14=dsp
+LibName15=microchip
+LibName16=analog_switches
+LibName17=motorola
+LibName18=texas
+LibName19=intel
+LibName20=audio
+LibName21=interface
+LibName22=digital-audio
+LibName23=philips
+LibName24=display
+LibName25=cypress
+LibName26=siliconi
+LibName27=opto
+LibName28=atmel
+LibName29=contrib
+LibName30=valves
+LibName31=analogSpice
+LibName32=analogXSpice
+LibName33=converterSpice
+LibName34=digitalSpice
+LibName35=linearSpice
+LibName36=measurementSpice
+LibName37=portSpice
+LibName38=sourcesSpice
+LibName39=digitalXSpice
diff --git a/src/SubcircuitLibrary/lm555n/lm555n.sch b/src/SubcircuitLibrary/lm555n/lm555n.sch
new file mode 100644
index 00000000..fabbb666
--- /dev/null
+++ b/src/SubcircuitLibrary/lm555n/lm555n.sch
@@ -0,0 +1,435 @@
+EESchema Schematic File Version 2 date Monday 17 December 2012 10:57:52 AM IST
+LIBS:power
+LIBS:device
+LIBS:transistors
+LIBS:conn
+LIBS:linear
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:special
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:valves
+LIBS:analogSpice
+LIBS:analogXSpice
+LIBS:converterSpice
+LIBS:digitalSpice
+LIBS:linearSpice
+LIBS:measurementSpice
+LIBS:portSpice
+LIBS:sourcesSpice
+LIBS:digitalXSpice
+LIBS:lm555n-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11700 8267
+encoding utf-8
+Sheet 1 1
+Title ""
+Date "17 dec 2012"
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L D_INVERTER U5
+U 1 1 50CEA9C5
+P 6700 4050
+F 0 "U5" H 6550 4150 40 0000 C CNN
+F 1 "D_INVERTER" H 6800 4150 40 0000 C CNN
+ 1 6700 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L D_SRLATCH U6
+U 1 1 50CEA9AE
+P 7100 3400
+F 0 "U6" H 6900 3650 60 0000 C CNN
+F 1 "D_SRLATCH" H 7100 3500 60 0000 C CNN
+ 1 7100 3400
+ 1 0 0 -1
+$EndComp
+Text Notes 5750 3050 0 60 ~ 0
+IC 555
+Wire Wire Line
+ 4700 3000 4900 3000
+Wire Wire Line
+ 4700 4750 4700 4650
+Connection ~ 4400 3550
+Connection ~ 4400 4900
+Wire Wire Line
+ 4300 4900 7700 4900
+Wire Wire Line
+ 4400 4200 4400 4100
+Wire Wire Line
+ 7700 4900 7700 4800
+Wire Wire Line
+ 7700 3250 7850 3250
+Wire Wire Line
+ 7400 4600 7100 4600
+Wire Wire Line
+ 7100 4600 7100 4250
+Wire Wire Line
+ 7700 3650 7700 3550
+Wire Wire Line
+ 6350 4050 6450 4050
+Wire Wire Line
+ 6950 3900 6950 4000
+Wire Wire Line
+ 7150 4000 7150 4050
+Wire Wire Line
+ 7150 4050 6950 4050
+Wire Wire Line
+ 6500 3550 6200 3550
+Wire Wire Line
+ 6350 3250 6500 3250
+Wire Wire Line
+ 5400 3250 5100 3250
+Wire Wire Line
+ 5100 3250 5100 3750
+Wire Wire Line
+ 5550 4500 5550 4350
+Wire Wire Line
+ 5700 3550 5800 3550
+Wire Wire Line
+ 5900 3250 6000 3250
+Wire Wire Line
+ 6000 3850 6350 3850
+Wire Wire Line
+ 5800 4150 6200 4150
+Wire Wire Line
+ 5200 3550 5200 3700
+Wire Wire Line
+ 5200 3700 5550 3700
+Wire Wire Line
+ 5550 3700 5550 3750
+Connection ~ 5550 4450
+Wire Wire Line
+ 5750 4400 5750 4450
+Wire Wire Line
+ 5100 4350 5100 4450
+Wire Wire Line
+ 5100 4450 5750 4450
+Wire Wire Line
+ 6500 3400 6450 3400
+Wire Wire Line
+ 6450 3400 6450 4050
+Wire Wire Line
+ 6950 4000 7250 4000
+Wire Wire Line
+ 7250 4000 7250 3900
+Connection ~ 7150 4000
+Wire Wire Line
+ 7600 4250 7700 4250
+Wire Wire Line
+ 7700 4400 7700 4350
+Wire Wire Line
+ 7700 4350 7800 4350
+Wire Wire Line
+ 7850 3850 7900 3850
+Wire Wire Line
+ 4400 4900 4400 4700
+Wire Wire Line
+ 4400 3600 4400 3500
+Wire Wire Line
+ 4300 3000 4400 3000
+Wire Wire Line
+ 4400 4150 4700 4150
+Connection ~ 4400 4150
+Wire Wire Line
+ 4300 3550 4700 3550
+Wire Wire Line
+ 4700 3550 4700 3500
+Wire Wire Line
+ 6350 4750 6350 4650
+Text Label 4850 4100 0 60 ~ 0
+d
+$Comp
+L VCVS E2
+U 1 1 50AA12FF
+P 5050 4050
+F 0 "E2" H 4850 4150 50 0000 C CNN
+F 1 "10000" H 4850 4000 50 0000 C CNN
+ 1 5050 4050
+ 0 1 1 0
+$EndComp
+$Comp
+L LIMIT8 U4
+U 2 1 50B4E21B
+P 6000 3550
+F 0 "U4" H 6000 3650 30 0000 C CNN
+F 1 "LIMIT8" H 6000 3550 30 0000 C CNN
+ 2 6000 3550
+ 0 1 1 0
+$EndComp
+$Comp
+L LIMIT8 U4
+U 1 1 50B4E215
+P 5800 3850
+F 0 "U4" H 5800 3950 30 0000 C CNN
+F 1 "LIMIT8" H 5800 3850 30 0000 C CNN
+ 1 5800 3850
+ 0 1 1 0
+$EndComp
+$Comp
+L DAC8 U3
+U 2 1 50AAFCE7
+P 7700 3950
+F 0 "U3" H 7600 4050 40 0000 C CNN
+F 1 "DAC8" H 7700 3950 40 0000 C CNN
+ 2 7700 3950
+ 0 1 1 0
+$EndComp
+$Comp
+L DAC8 U3
+U 1 1 50AAFC9A
+P 7850 3550
+F 0 "U3" H 7750 3650 40 0000 C CNN
+F 1 "DAC8" H 7850 3550 40 0000 C CNN
+ 1 7850 3550
+ 0 1 1 0
+$EndComp
+$Comp
+L ADC8 U2
+U 3 1 50AAFB76
+P 6350 4350
+F 0 "U2" H 6250 4450 40 0000 C CNN
+F 1 "ADC8" H 6350 4350 40 0000 C CNN
+ 3 6350 4350
+ 0 -1 -1 0
+$EndComp
+$Comp
+L ADC8 U2
+U 2 1 50AAFB64
+P 6350 3550
+F 0 "U2" H 6250 3650 40 0000 C CNN
+F 1 "ADC8" H 6350 3550 40 0000 C CNN
+ 2 6350 3550
+ 0 -1 -1 0
+$EndComp
+$Comp
+L ADC8 U2
+U 1 1 50AAFB55
+P 6200 3850
+F 0 "U2" H 6100 3950 40 0000 C CNN
+F 1 "ADC8" H 6200 3850 40 0000 C CNN
+ 1 6200 3850
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PWR_FLAG #FLG01
+U 1 1 50AA39A3
+P 5750 4400
+F 0 "#FLG01" H 5750 4670 30 0001 C CNN
+F 1 "PWR_FLAG" H 5750 4630 30 0000 C CNN
+ 1 5750 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 50AA2210
+P 4050 3550
+F 0 "U1" H 4050 3500 30 0000 C CNN
+F 1 "PORT" H 4050 3550 30 0000 C CNN
+ 5 4050 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 50AA21C7
+P 4050 4900
+F 0 "U1" H 4050 4850 30 0000 C CNN
+F 1 "PORT" H 4050 4900 30 0000 C CNN
+ 1 4050 4900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 50AA21BC
+P 4700 5000
+F 0 "U1" H 4700 4950 30 0000 C CNN
+F 1 "PORT" H 4700 5000 30 0000 C CNN
+ 2 4700 5000
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 4 1 50AA21A9
+P 6350 5000
+F 0 "U1" H 6350 4950 30 0000 C CNN
+F 1 "PORT" H 6350 5000 30 0000 C CNN
+ 4 6350 5000
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 7 1 50AA21A0
+P 8050 4350
+F 0 "U1" H 8050 4300 30 0000 C CNN
+F 1 "PORT" H 8050 4350 30 0000 C CNN
+ 7 8050 4350
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 50AA2181
+P 8150 3850
+F 0 "U1" H 8150 3800 30 0000 C CNN
+F 1 "PORT" H 8150 3850 30 0000 C CNN
+ 3 8150 3850
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 50AA2171
+P 5150 3000
+F 0 "U1" H 5150 2950 30 0000 C CNN
+F 1 "PORT" H 5150 3000 30 0000 C CNN
+ 6 5150 3000
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 50AA2162
+P 4050 3000
+F 0 "U1" H 4050 2950 30 0000 C CNN
+F 1 "PORT" H 4050 3000 30 0000 C CNN
+ 8 4050 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R8
+U 1 1 50AA20DA
+P 7350 4250
+F 0 "R8" V 7430 4250 50 0000 C CNN
+F 1 "1500" V 7350 4250 50 0000 C CNN
+ 1 7350 4250
+ 0 1 1 0
+$EndComp
+$Comp
+L NPN Q1
+U 1 1 50AA2050
+P 7600 4600
+F 0 "Q1" H 7600 4450 50 0000 R CNN
+F 1 "QNOM" H 7600 4750 50 0000 R CNN
+ 1 7600 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L GND #PWR02
+U 1 1 50AA140C
+P 5550 4500
+F 0 "#PWR02" H 5550 4500 30 0001 C CNN
+F 1 "GND" H 5550 4430 30 0001 C CNN
+ 1 5550 4500
+ 1 0 0 -1
+$EndComp
+Text Label 4850 4000 0 60 ~ 0
+c
+Text Label 4700 4650 0 60 ~ 0
+d
+Text Label 4700 4150 0 60 ~ 0
+c
+$Comp
+L R R7
+U 1 1 50AA12F7
+P 5650 3250
+F 0 "R7" V 5730 3250 50 0000 C CNN
+F 1 "25" V 5650 3250 50 0000 C CNN
+ 1 5650 3250
+ 0 -1 -1 0
+$EndComp
+$Comp
+L R R6
+U 1 1 50AA12B0
+P 5450 3550
+F 0 "R6" V 5530 3550 50 0000 C CNN
+F 1 "25" V 5450 3550 50 0000 C CNN
+ 1 5450 3550
+ 0 -1 -1 0
+$EndComp
+Text Label 5300 4000 0 60 ~ 0
+b
+Text Label 5300 4100 0 60 ~ 0
+a
+Text Label 4700 3000 0 60 ~ 0
+b
+Text Label 4700 3500 0 60 ~ 0
+a
+$Comp
+L VCVS E1
+U 1 1 50AA11B6
+P 5500 4050
+F 0 "E1" H 5300 4150 50 0000 C CNN
+F 1 "10000" H 5300 4000 50 0000 C CNN
+ 1 5500 4050
+ 0 1 1 0
+$EndComp
+$Comp
+L R R4
+U 1 1 50A9E00B
+P 4700 3250
+F 0 "R4" V 4780 3250 50 0000 C CNN
+F 1 "2E6" V 4700 3250 50 0000 C CNN
+ 1 4700 3250
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R5
+U 1 1 50A9E001
+P 4700 4400
+F 0 "R5" V 4780 4400 50 0000 C CNN
+F 1 "2E6" V 4700 4400 50 0000 C CNN
+ 1 4700 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R3
+U 1 1 50A9DF09
+P 4400 4450
+F 0 "R3" V 4480 4450 50 0000 C CNN
+F 1 "5000" V 4400 4450 50 0000 C CNN
+ 1 4400 4450
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R2
+U 1 1 50A9DF03
+P 4400 3850
+F 0 "R2" V 4480 3850 50 0000 C CNN
+F 1 "5000" V 4400 3850 50 0000 C CNN
+ 1 4400 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R1
+U 1 1 50A9DEFE
+P 4400 3250
+F 0 "R1" V 4480 3250 50 0000 C CNN
+F 1 "5000" V 4400 3250 50 0000 C CNN
+ 1 4400 3250
+ 1 0 0 -1
+$EndComp
+$EndSCHEMATC
diff --git a/src/SubcircuitLibrary/lm555n/lm555n.sub b/src/SubcircuitLibrary/lm555n/lm555n.sub
new file mode 100644
index 00000000..862626ea
--- /dev/null
+++ b/src/SubcircuitLibrary/lm555n/lm555n.sub
@@ -0,0 +1,25 @@
+* Subcircuit lm555n
+.subckt lm555n 22 14 7 6 15 16 3 13
+* eeschema netlist version 1.1 (spice format) creation date: monday 17 december 2012 10:57:49 am ist
+* u5 5 21 d_inverter
+* u6 1 4 5 21 21 8 10 d_srlatch
+e2 18 0 23 14 10000
+r8 9 2 1500
+q1 22 2 3 qnom
+r7 18 20 25
+r6 17 19 25
+e1 17 0 16 15 10000
+r4 16 15 2e6
+r5 23 14 2e6
+r3 23 22 5000
+r2 15 23 5000
+r1 13 15 5000
+a1 5 21 u5
+a2 1 4 5 21 21 8 10 u6
+* Schematic Name: d_inverter, NgSpice Name: d_inverter
+.model u5 d_inverter(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Schematic Name: d_srlatch, NgSpice Name: d_srlatch
+.model u6 d_srlatch(ic=0 sr_load=1.0e-12 set_delay=1.0e-9 set_load=1.0e-12 sr_delay=1.0e-9 reset_load=1.0e-12 enable_delay=1.0e-9 reset_delay=1.0e-9 rise_delay=1.0e-9 fall_delay=1.0e-9 enable_load=1.0e-12 )
+* Control Statements
+
+.ends lm555n \ No newline at end of file
diff --git a/src/SubcircuitLibrary/lm555n/lm555n_Previous_Values.xml b/src/SubcircuitLibrary/lm555n/lm555n_Previous_Values.xml
new file mode 100644
index 00000000..7d81146a
--- /dev/null
+++ b/src/SubcircuitLibrary/lm555n/lm555n_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source Name" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">False</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis><source /><model><u5 name="type">d_inverter<field1 name="Enter Fall Delay (default=1.0e-9)" /><field2 name="Enter Input Load (default=1.0e-12)" /><field3 name="Enter Rise Delay (default=1.0e-9)" /></u5><u6 name="type">d_srlatch<field4 name="Enter IC (default=0)" /><field5 name="Enter value for SR Load (default=1.0e-12)" /><field6 name="Enter Set Delay (default=1.0e-9)" /><field7 name="Enter value for Set Load (default=1.0e-12)" /><field8 name="Enter SR Delay (default=1.0e-9)" /><field9 name="Enter Enable Delay (default=1.0e-9)" /><field10 name="Enter Reset Delay (default=1.0)" /><field11 name="Enter Rise Delay (default=1.0e-9)" /><field12 name="Enter Fall Delay (default=1.0e-9)" /><field13 name="Enter value for Reset Load (default=1.0e-12)" /><field14 name="Enter value for Enable Load (default=1.0e-12)" /></u6></model><devicemodel><q1><field /></q1></devicemodel></KicadtoNgspice> \ No newline at end of file