diff --git a/sch2fig/test.lib b/sch2fig/test.lib new file mode 100644 index 0000000..7714415 --- /dev/null +++ b/sch2fig/test.lib @@ -0,0 +1,62 @@ +EESchema-LIBRARY Version 2.3 +#encoding utf-8 +# +# TEST +# +DEF TEST U 0 40 Y Y 1 F N +F0 "U" -475 675 60 H V C CNN +F1 "TEST" -425 -675 60 H V C CNN +F2 "" 150 200 60 H I C CNN +F3 "" 150 200 60 H I C CNN +DRAW +T 900 1050 -550 100 0 0 0 BLT Normal 1 L T +T 0 900 450 100 0 0 0 NCC Normal 0 C C +T 900 925 -550 100 0 0 0 NCC Normal 0 C C +T 0 900 550 100 0 0 0 NLB Normal 0 L B +T 900 1275 -550 100 0 0 0 NRB Normal 0 R B +T 900 800 -550 100 0 0 0 NRC Normal 0 R C +T 0 900 350 100 0 0 0 NRT Normal 0 R T +P 2 0 0 0 750 -550 1325 -550 N +P 2 0 0 0 800 -425 800 -650 N +P 2 0 0 0 925 -425 925 -650 N +P 2 0 0 0 1050 -425 1050 -650 N +P 2 0 0 0 1275 -425 1275 -650 N +A 975 -50 150 1800 -900 0 1 0 N 825 -50 975 -200 +A 975 50 150 1800 900 0 1 0 N 825 50 975 200 +A 1075 -50 150 -900 0 0 1 0 N 1075 -200 1225 -50 +A 1075 50 150 900 0 0 1 0 N 1075 200 1225 50 +C 1025 0 150 0 1 0 N +S -550 600 550 -600 0 1 0 N +P 2 0 1 0 -100 -100 100 100 N +P 2 0 1 0 -100 100 100 -100 N +P 2 0 1 0 825 350 1150 350 N +P 2 0 1 0 825 450 1150 450 N +P 2 0 1 0 825 550 1150 550 N +P 2 0 1 0 900 600 900 275 N +P 3 0 1 0 250 550 450 550 450 400 N +P 10 0 1 0 775 0 775 200 825 250 1225 250 1275 200 1275 -200 1225 -250 825 -250 775 -200 775 0 N +X R_IN 1 -750 500 200 R 50 50 1 1 I +X R_OUT 2 -750 400 200 R 50 50 1 1 O +X R_BIDIR 3 -750 300 200 R 50 50 1 1 O +X R_TRI 4 -750 200 200 R 50 50 1 1 T +X R_PASS 5 -750 100 200 R 50 50 1 1 P +X R_UNSPEC 6 -750 0 200 R 50 50 1 1 U +X R_PIN 7 -750 -100 200 R 50 50 1 1 W +X R_POUT 8 -750 -200 200 R 50 50 1 1 w +X R_OC 9 -750 -300 200 R 50 50 1 1 w +X R_OE 10 -750 -400 200 R 50 50 1 1 w +X D_CLOW 20 0 800 200 D 50 50 1 1 I CL +X R_NC 11 -750 -500 200 R 50 50 1 1 N +X D_ILOW 21 -100 800 200 D 50 50 1 1 I L +X U_LINE 12 -50 -800 200 U 50 50 1 1 I +X U_INV 13 50 -800 200 U 50 50 1 1 I I +X U_CLK 14 150 -800 200 U 50 50 1 1 I C +X U_INVCLK 15 250 -800 200 U 50 50 1 1 I IC +X LEFT 16 750 -325 200 L 50 50 1 1 I +X D_NONLOGIC 17 300 800 200 D 50 50 1 1 I X +X D_FALLING 18 200 800 200 D 50 50 1 1 I F +X D_OLOW 19 100 800 200 D 50 50 1 1 I V +ENDDRAW +ENDDEF +# +#End Library diff --git a/sch2fig/test.pro b/sch2fig/test.pro new file mode 100644 index 0000000..4695c8c --- /dev/null +++ b/sch2fig/test.pro @@ -0,0 +1,34 @@ +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=test diff --git a/sch2fig/test.sch b/sch2fig/test.sch new file mode 100644 index 0000000..0be7361 --- /dev/null +++ b/sch2fig/test.sch @@ -0,0 +1,280 @@ +EESchema Schematic File Version 2 +LIBS:test +LIBS:test-cache +EELAYER 25 0 +EELAYER END +$Descr A4 11693 8268 +encoding utf-8 +Sheet 1 1 +Title "" +Date "" +Rev "" +Comp "" +Comment1 "" +Comment2 "" +Comment3 "" +Comment4 "" +$EndDescr +Text Notes 1450 1300 0 100 ~ 0 +Text, Right, Normal, 100 mil +Wire Notes Line + 1400 1300 1250 1300 +Wire Notes Line + 1450 1350 1450 1500 +Text Notes 3750 1500 2 100 ~ 20 +Text, Left, Normal, 100 mil +Wire Notes Line + 3800 1500 3950 1500 +Wire Notes Line + 3750 1550 3750 1700 +Text Notes 1050 1550 1 100 Italic 0 +Up, Italic +Wire Notes Line + 1100 1550 1250 1550 +Wire Notes Line + 1050 1600 1050 1750 +Text Notes 4300 700 3 100 Italic 20 +Down, Bold italic +Wire Notes Line + 4350 700 4500 700 +Wire Notes Line + 4300 650 4300 500 +Wire Wire Line + 4800 1100 5300 1100 +Wire Wire Line + 5050 850 5050 1350 +Wire Wire Line + 5550 850 5550 1350 +Wire Wire Line + 6050 1100 5550 1100 +Connection ~ 5550 1100 +Wire Bus Line + 6850 900 6850 1400 +Entry Bus Bus + 6750 1250 6850 1350 +Wire Bus Line + 6300 1250 6750 1250 +Wire Wire Line + 6750 950 6300 950 +Entry Wire Line + 6750 950 6850 1050 +NoConn ~ 5050 850 +NoConn ~ 5050 1350 +NoConn ~ 5300 1100 +NoConn ~ 4800 1100 +Wire Wire Line + 1300 2400 2800 2400 +Text Label 1300 2400 0 60 ~ 0 +LOCAL_RIGHT_NORMAL +Wire Wire Line + 1300 2600 2800 2600 +Text Label 2800 2600 2 60 ~ 12 +LOCAL_LEFT_BOLD +Wire Wire Line + 3400 1800 3400 2900 +Text Label 3400 2900 1 60 ~ 12 +LOCAL_UP_ITALIC +Wire Wire Line + 3700 1800 3700 2900 +Text Label 3700 1800 3 60 Italic 12 +LOCAL_DOWN_BI +Wire Wire Line + 4650 2400 5350 2400 +Wire Wire Line + 4650 2700 5350 2700 +Text GLabel 4650 2400 0 60 Input ~ 0 +G_R_IN +Text GLabel 5350 2700 2 60 Input ~ 0 +G_L_IN +Text GLabel 4650 2700 0 60 Output ~ 0 +G_R_OUT +Text GLabel 5350 2400 2 60 Output ~ 0 +G_L_OUT +Wire Wire Line + 6100 2200 6100 2900 +Wire Wire Line + 6400 2200 6400 2900 +Text GLabel 6100 2200 1 60 BiDi ~ 0 +G_UP_BI +Wire Wire Line + 4650 3000 5350 3000 +Text GLabel 4650 3000 0 60 BiDi ~ 0 +G_R_BIDIR +Text GLabel 5350 3000 2 60 UnSpc ~ 0 +G_LEFT_PASS +Text GLabel 4650 3150 0 60 UnSpc ~ 0 +G_R_TRI +Wire Wire Line + 4650 3150 4850 3150 +Wire Wire Line + 4850 3150 4850 3000 +Connection ~ 4850 3000 +Text GLabel 6100 2900 3 60 Input ~ 0 +G_DOWN_IN +Text GLabel 6400 2200 1 60 Output ~ 0 +G_UP_OUT +Text GLabel 6400 2900 3 60 UnSpc ~ 0 +G_DOWN_PASS +Wire Wire Line + 7250 2700 7950 2700 +Wire Wire Line + 8750 2200 8750 2900 +Wire Wire Line + 9050 2200 9050 2900 +Wire Wire Line + 7250 3150 7450 3150 +Wire Wire Line + 7450 3150 7450 3000 +Connection ~ 7450 3000 +Text HLabel 7250 2400 0 60 Input ~ 0 +H_R_IN +Text HLabel 7250 2700 0 60 Output ~ 0 +H_R_OUT +Text HLabel 7250 3000 0 60 BiDi ~ 0 +H_R_BIDIR +Text HLabel 7250 3150 0 60 UnSpc ~ 0 +H_R_TRI +Text HLabel 7950 2400 2 60 Output ~ 0 +H_L_OUT +Text HLabel 7950 2700 2 60 Input ~ 0 +H_L_IN +Wire Wire Line + 7250 2400 7950 2400 +Text HLabel 7950 3000 2 60 UnSpc ~ 0 +H_LEFT_PASS +Text HLabel 8750 2200 1 60 BiDi ~ 0 +H_UP_BI +Text HLabel 8750 2900 3 60 Input ~ 0 +H_DOWN_IN +Text HLabel 9050 2200 1 60 Output ~ 0 +H_UP_OUT +Text HLabel 9050 2900 3 60 UnSpc ~ 0 +H_DOWN_PASS +Wire Wire Line + 7250 3000 7950 3000 +Text Notes 1300 3400 0 60 ~ 0 +60 mil Text +Wire Notes Line + 1300 3150 1300 3550 +Wire Notes Line + 1850 3550 1850 3150 +Wire Notes Line + 1150 3300 2000 3300 +Wire Notes Line + 1150 3400 2000 3400 +Text GLabel 1400 3750 2 60 Output ~ 0 +GLOBAL +Text GLabel 1800 3950 0 60 Output ~ 0 +GLOBAL +Wire Notes Line + 1400 3550 1400 4150 +Wire Notes Line + 1800 3550 1800 4150 +Wire Notes Line + 1250 3700 1950 3700 +Wire Notes Line + 1250 3800 1950 3800 +Wire Notes Line + 1250 3900 1950 3900 +Wire Notes Line + 1250 4000 1950 4000 +Text HLabel 2950 3600 0 60 Input ~ 0 +HIERARCHICAL +Text HLabel 2250 3750 2 60 Input ~ 0 +HIERARCHICAL +Wire Notes Line + 2250 3400 2250 3950 +Wire Notes Line + 2100 3700 3100 3700 +Wire Notes Line + 2100 3650 3100 3650 +Wire Notes Line + 2100 3550 3100 3550 +Wire Notes Line + 2100 3800 3100 3800 +Wire Notes Line + 2950 3400 2950 3950 +$Comp +L TEST U? +U 1 1 57933A17 +P 1650 5200 +F 0 "U?" H 1175 5875 60 0000 C CNN +F 1 "TEST" H 1225 4525 60 0000 C CNN +F 2 "" H 1800 5400 60 0001 C CNN +F 3 "" H 1800 5400 60 0001 C CNN + 1 1650 5200 + 1 0 0 -1 +$EndComp +$Comp +L TEST U? +U 1 1 57933A5F +P 4650 4750 +F 0 "U?" H 4175 5425 60 0000 C CNN +F 1 "TEST" H 4225 4075 60 0000 C CNN +F 2 "" H 4800 4950 60 0001 C CNN +F 3 "" H 4800 4950 60 0001 C CNN + 1 4650 4750 + 0 1 1 0 +$EndComp +$Comp +L TEST U? +U 1 1 57933A97 +P 7450 4900 +F 0 "U?" H 6975 5575 60 0000 C CNN +F 1 "TEST" H 7025 4225 60 0000 C CNN +F 2 "" H 7600 5100 60 0001 C CNN +F 3 "" H 7600 5100 60 0001 C CNN + 1 7450 4900 + -1 0 0 1 +$EndComp +$Comp +L TEST U? +U 1 1 57933ACD +P 9750 5250 +F 0 "U?" H 9275 5925 60 0000 C CNN +F 1 "TEST" H 9325 4575 60 0000 C CNN +F 2 "" H 9900 5450 60 0001 C CNN +F 3 "" H 9900 5450 60 0001 C CNN + 1 9750 5250 + 0 -1 -1 0 +$EndComp +$Comp +L TEST U? +U 1 1 57933B03 +P 2450 6950 +F 0 "U?" H 1975 7625 60 0000 C CNN +F 1 "TEST" H 2025 6275 60 0000 C CNN +F 2 "" H 2600 7150 60 0001 C CNN +F 3 "" H 2600 7150 60 0001 C CNN + 1 2450 6950 + 1 0 0 1 +$EndComp +$Comp +L TEST U? +U 1 1 57933B47 +P 5950 6900 +F 0 "U?" H 5475 7575 60 0000 C CNN +F 1 "TEST" H 5525 6225 60 0000 C CNN +F 2 "" H 6100 7100 60 0001 C CNN +F 3 "" H 6100 7100 60 0001 C CNN + 1 5950 6900 + -1 0 0 -1 +$EndComp +Text Notes 900 7000 0 60 ~ 0 +X-flip +Text Notes 4250 6900 0 60 ~ 0 +Y-flip +$Comp +L TEST U? +U 1 1 57933BAB +P 10200 2400 +F 0 "U?" H 9725 3075 60 0000 C CNN +F 1 "TEST" H 9775 1725 60 0000 C CNN +F 2 "" H 10350 2600 60 0001 C CNN +F 3 "" H 10350 2600 60 0001 C CNN + 1 10200 2400 + 0 1 -1 0 +$EndComp +Text Notes 10000 850 0 60 ~ 0 +R+X +$EndSCHEMATC