diff options
author | SangaviGR | 2024-09-13 01:15:31 +0530 |
---|---|---|
committer | GitHub | 2024-09-13 01:15:31 +0530 |
commit | 3989889835663988f3dc89f1c1b0a8c5e23e303d (patch) | |
tree | 6eb539107e3c9a78049dc615b118db4e4cf01738 /src/converter/schematic_converters/lib/PythonLib | |
parent | 5865b5d9a2375971fe2ec1cbcc3e9344f138907d (diff) | |
download | eSim-3989889835663988f3dc89f1c1b0a8c5e23e303d.tar.gz eSim-3989889835663988f3dc89f1c1b0a8c5e23e303d.tar.bz2 eSim-3989889835663988f3dc89f1c1b0a8c5e23e303d.zip |
Integrated Schematic Converters (#271)
Add the files for the Schematic Converters(PSpice to KiCad and LTspice to KiCad converters) to eSim.
Diffstat (limited to 'src/converter/schematic_converters/lib/PythonLib')
49 files changed, 12712 insertions, 0 deletions
diff --git a/src/converter/schematic_converters/lib/PythonLib/CONNECT.lib b/src/converter/schematic_converters/lib/PythonLib/CONNECT.lib new file mode 100644 index 00000000..2eb6b00b --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/CONNECT.lib @@ -0,0 +1,896 @@ +EESchema-LIBRARY Version 4.7 Date: +#encoding utf-8 +# +# DB9M-B_PSPICE +# +DEF DB9M-B_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "DB9M-B_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -900 -240 -900 N +P 2 0 1 0 -240 -900 -180 -900 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -800 -400 -900 N +P 2 0 1 0 -400 -900 -310 -900 N +P 2 0 1 0 -360 -400 -220 -400 N +P 2 0 1 0 -220 -400 -280 -360 N +P 2 0 1 0 -220 -400 -280 -440 N +A -190 -810 90 -962 62 0 1 0 N -199 -899 -100 -800 +A -220 -10 120 48 899 0 1 0 N -100 0 -220 110 +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB9F-B_PSPICE +# +DEF DB9F-B_PSPICE J 0 30 Y Y 1 F N +F0 "J" 0 0 30 H V L CNN +F1 "DB9F-B_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -900 -240 -900 N +P 2 0 1 0 -240 -900 -180 -900 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -800 -400 -900 N +P 2 0 1 0 -400 -900 -310 -900 N +P 2 0 1 0 -320 -400 -180 -400 N +P 2 0 1 0 -320 -400 -380 -360 N +P 2 0 1 0 -320 -400 -380 -440 N +P 2 0 1 0 -200 100 -100 100 N +P 2 0 1 0 -100 100 -100 0 N +P 2 0 1 0 -200 -900 -100 -900 N +P 2 0 1 0 -100 -900 -100 -800 N +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB25M-B_PSPICE +# +DEF DB25M-B_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "DB25M-B_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -2500 -240 -2500 N +P 2 0 1 0 -240 -2500 -180 -2500 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -2400 -400 -2500 N +P 2 0 1 0 -400 -2500 -310 -2500 N +P 2 0 1 0 -400 -2400 -400 -800 N +P 2 0 1 0 -100 -800 -100 -2200 N +P 2 0 1 0 -100 -2200 -100 -2400 N +P 2 0 1 0 -360 -1200 -270 -1200 N +P 2 0 1 0 -270 -1200 -300 -1180 N +P 2 0 1 0 -270 -1200 -300 -1220 N +A -190 -2410 90 -962 62 0 1 0 N -199 -2499 -100 -2400 +A -220 -10 120 48 899 0 1 0 N -100 0 -220 110 +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +X ~ 10 0 -900 100 L 30 30 0 1 P +X ~ 11 0 -1000 100 L 30 30 0 1 P +X ~ 12 0 -1100 100 L 30 30 0 1 P +X ~ 13 0 -1200 100 L 30 30 0 1 P +X ~ 14 0 -1300 100 L 30 30 0 1 P +X ~ 15 0 -1400 100 L 30 30 0 1 P +X ~ 16 0 -1500 100 L 30 30 0 1 P +X ~ 17 0 -1600 100 L 30 30 0 1 P +X ~ 18 0 -1700 100 L 30 30 0 1 P +X ~ 19 0 -1800 100 L 30 30 0 1 P +X ~ 20 0 -1900 100 L 30 30 0 1 P +X ~ 21 0 -2000 100 L 30 30 0 1 P +X ~ 22 0 -2100 100 L 30 30 0 1 P +X ~ 23 0 -2200 100 L 30 30 0 1 P +X ~ 24 0 -2300 100 L 30 30 0 1 P +X ~ 25 0 -2400 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB25F-B_PSPICE +# +DEF DB25F-B_PSPICE J 0 30 Y Y 1 F N +F0 "J" 0 0 30 H V L CNN +F1 "DB25F-B_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -2500 -240 -2500 N +P 2 0 1 0 -240 -2500 -180 -2500 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -2400 -400 -2500 N +P 2 0 1 0 -400 -2500 -310 -2500 N +P 2 0 1 0 -400 -2400 -400 -800 N +P 2 0 1 0 -100 -800 -100 -2200 N +P 2 0 1 0 -100 -2200 -100 -2400 N +P 2 0 1 0 -350 -1200 -260 -1200 N +P 2 0 1 0 -350 -1200 -380 -1180 N +P 2 0 1 0 -350 -1200 -380 -1220 N +A -190 -2410 90 -962 62 0 1 0 N -199 -2499 -100 -2400 +A -220 -10 120 48 899 0 1 0 N -100 0 -220 110 +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +X ~ 10 0 -900 100 L 30 30 0 1 P +X ~ 11 0 -1000 100 L 30 30 0 1 P +X ~ 12 0 -1100 100 L 30 30 0 1 P +X ~ 13 0 -1200 100 L 30 30 0 1 P +X ~ 14 0 -1300 100 L 30 30 0 1 P +X ~ 15 0 -1400 100 L 30 30 0 1 P +X ~ 16 0 -1500 100 L 30 30 0 1 P +X ~ 17 0 -1600 100 L 30 30 0 1 P +X ~ 18 0 -1700 100 L 30 30 0 1 P +X ~ 19 0 -1800 100 L 30 30 0 1 P +X ~ 20 0 -1900 100 L 30 30 0 1 P +X ~ 21 0 -2000 100 L 30 30 0 1 P +X ~ 22 0 -2100 100 L 30 30 0 1 P +X ~ 23 0 -2200 100 L 30 30 0 1 P +X ~ 24 0 -2300 100 L 30 30 0 1 P +X ~ 25 0 -2400 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# EDGE40M-B_PSPICE +# +DEF EDGE40M-B_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "EDGE40M-B_PSPICE" 0 60 30 H V L CNN +DRAW +S -400 100 -100 -4000 0 1 0 N +X ~ A1 0 0 100 L 30 30 0 1 P +X ~ A2 0 -100 100 L 30 30 0 1 P +X ~ A3 0 -200 100 L 30 30 0 1 P +X ~ A4 0 -300 100 L 30 30 0 1 P +X ~ A5 0 -400 100 L 30 30 0 1 P +X ~ A6 0 -500 100 L 30 30 0 1 P +X ~ A7 0 -600 100 L 30 30 0 1 P +X ~ A8 0 -700 100 L 30 30 0 1 P +X ~ A9 0 -800 100 L 30 30 0 1 P +X ~ A10 0 -900 100 L 30 30 0 1 P +X ~ A11 0 -1000 100 L 30 30 0 1 P +X ~ A12 0 -1100 100 L 30 30 0 1 P +X ~ A13 0 -1200 100 L 30 30 0 1 P +X ~ A14 0 -1300 100 L 30 30 0 1 P +X ~ A15 0 -1400 100 L 30 30 0 1 P +X ~ A16 0 -1500 100 L 30 30 0 1 P +X ~ A17 0 -1600 100 L 30 30 0 1 P +X ~ A18 0 -1700 100 L 30 30 0 1 P +X ~ A19 0 -1800 100 L 30 30 0 1 P +X ~ A20 0 -1900 100 L 30 30 0 1 P +X ~ B1 0 -2000 100 L 30 30 0 1 P +X ~ B2 0 -2100 100 L 30 30 0 1 P +X ~ B3 0 -2200 100 L 30 30 0 1 P +X ~ B4 0 -2300 100 L 30 30 0 1 P +X ~ B5 0 -2400 100 L 30 30 0 1 P +X ~ B6 0 -2500 100 L 30 30 0 1 P +X ~ B7 0 -2600 100 L 30 30 0 1 P +X ~ B8 0 -2700 100 L 30 30 0 1 P +X ~ B9 0 -2800 100 L 30 30 0 1 P +X ~ B10 0 -2900 100 L 30 30 0 1 P +X ~ B11 0 -3000 100 L 30 30 0 1 P +X ~ B12 0 -3100 100 L 30 30 0 1 P +X ~ B13 0 -3200 100 L 30 30 0 1 P +X ~ B14 0 -3300 100 L 30 30 0 1 P +X ~ B15 0 -3400 100 L 30 30 0 1 P +X ~ B16 0 -3500 100 L 30 30 0 1 P +X ~ B17 0 -3600 100 L 30 30 0 1 P +X ~ B18 0 -3700 100 L 30 30 0 1 P +X ~ B19 0 -3800 100 L 30 30 0 1 P +X ~ B20 0 -3900 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# EDGE40F-B_PSPICE +# +DEF EDGE40F-B_PSPICE J 0 30 Y Y 1 F N +F0 "J" 0 0 30 H V L CNN +F1 "EDGE40F-B_PSPICE" 0 60 30 H V L CNN +DRAW +S -400 100 -100 -4000 0 1 0 N +X ~ A1 0 0 100 L 30 30 0 1 P +X ~ A2 0 -100 100 L 30 30 0 1 P +X ~ A3 0 -200 100 L 30 30 0 1 P +X ~ A4 0 -300 100 L 30 30 0 1 P +X ~ A5 0 -400 100 L 30 30 0 1 P +X ~ A6 0 -500 100 L 30 30 0 1 P +X ~ A7 0 -600 100 L 30 30 0 1 P +X ~ A8 0 -700 100 L 30 30 0 1 P +X ~ A9 0 -800 100 L 30 30 0 1 P +X ~ A10 0 -900 100 L 30 30 0 1 P +X ~ A11 0 -1000 100 L 30 30 0 1 P +X ~ A12 0 -1100 100 L 30 30 0 1 P +X ~ A13 0 -1200 100 L 30 30 0 1 P +X ~ A14 0 -1300 100 L 30 30 0 1 P +X ~ A15 0 -1400 100 L 30 30 0 1 P +X ~ A16 0 -1500 100 L 30 30 0 1 P +X ~ A17 0 -1600 100 L 30 30 0 1 P +X ~ A18 0 -1700 100 L 30 30 0 1 P +X ~ A19 0 -1800 100 L 30 30 0 1 P +X ~ A20 0 -1900 100 L 30 30 0 1 P +X ~ B1 0 -2000 100 L 30 30 0 1 P +X ~ B2 0 -2100 100 L 30 30 0 1 P +X ~ B3 0 -2200 100 L 30 30 0 1 P +X ~ B4 0 -2300 100 L 30 30 0 1 P +X ~ B5 0 -2400 100 L 30 30 0 1 P +X ~ B6 0 -2500 100 L 30 30 0 1 P +X ~ B7 0 -2600 100 L 30 30 0 1 P +X ~ B8 0 -2700 100 L 30 30 0 1 P +X ~ B9 0 -2800 100 L 30 30 0 1 P +X ~ B10 0 -2900 100 L 30 30 0 1 P +X ~ B11 0 -3000 100 L 30 30 0 1 P +X ~ B12 0 -3100 100 L 30 30 0 1 P +X ~ B13 0 -3200 100 L 30 30 0 1 P +X ~ B14 0 -3300 100 L 30 30 0 1 P +X ~ B15 0 -3400 100 L 30 30 0 1 P +X ~ B16 0 -3500 100 L 30 30 0 1 P +X ~ B17 0 -3600 100 L 30 30 0 1 P +X ~ B18 0 -3700 100 L 30 30 0 1 P +X ~ B19 0 -3800 100 L 30 30 0 1 P +X ~ B20 0 -3900 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# EDGE62M-B_PSPICE +# +DEF EDGE62M-B_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "EDGE62M-B_PSPICE" 0 60 30 H V L CNN +DRAW +S -400 100 -100 -6200 0 1 0 N +X ~ A1 0 0 100 L 30 30 0 1 P +X ~ A2 0 -100 100 L 30 30 0 1 P +X ~ A3 0 -200 100 L 30 30 0 1 P +X ~ A4 0 -300 100 L 30 30 0 1 P +X ~ A5 0 -400 100 L 30 30 0 1 P +X ~ A6 0 -500 100 L 30 30 0 1 P +X ~ A7 0 -600 100 L 30 30 0 1 P +X ~ A8 0 -700 100 L 30 30 0 1 P +X ~ A9 0 -800 100 L 30 30 0 1 P +X ~ A10 0 -900 100 L 30 30 0 1 P +X ~ A11 0 -1000 100 L 30 30 0 1 P +X ~ A12 0 -1100 100 L 30 30 0 1 P +X ~ A13 0 -1200 100 L 30 30 0 1 P +X ~ A14 0 -1300 100 L 30 30 0 1 P +X ~ A15 0 -1400 100 L 30 30 0 1 P +X ~ A16 0 -1500 100 L 30 30 0 1 P +X ~ A17 0 -1600 100 L 30 30 0 1 P +X ~ A18 0 -1700 100 L 30 30 0 1 P +X ~ A19 0 -1800 100 L 30 30 0 1 P +X ~ A20 0 -1900 100 L 30 30 0 1 P +X ~ A21 0 -2000 100 L 30 30 0 1 P +X ~ A22 0 -2100 100 L 30 30 0 1 P +X ~ A23 0 -2200 100 L 30 30 0 1 P +X ~ A24 0 -2300 100 L 30 30 0 1 P +X ~ A25 0 -2400 100 L 30 30 0 1 P +X ~ A26 0 -2500 100 L 30 30 0 1 P +X ~ A27 0 -2600 100 L 30 30 0 1 P +X ~ A28 0 -2700 100 L 30 30 0 1 P +X ~ A29 0 -2800 100 L 30 30 0 1 P +X ~ A30 0 -2900 100 L 30 30 0 1 P +X ~ A31 0 -3000 100 L 30 30 0 1 P +X ~ B1 0 -3100 100 L 30 30 0 1 P +X ~ B2 0 -3200 100 L 30 30 0 1 P +X ~ B3 0 -3300 100 L 30 30 0 1 P +X ~ B4 0 -3400 100 L 30 30 0 1 P +X ~ B5 0 -3500 100 L 30 30 0 1 P +X ~ B6 0 -3600 100 L 30 30 0 1 P +X ~ B7 0 -3700 100 L 30 30 0 1 P +X ~ B8 0 -3800 100 L 30 30 0 1 P +X ~ B9 0 -3900 100 L 30 30 0 1 P +X ~ B10 0 -4000 100 L 30 30 0 1 P +X ~ B11 0 -4100 100 L 30 30 0 1 P +X ~ B12 0 -4200 100 L 30 30 0 1 P +X ~ B13 0 -4300 100 L 30 30 0 1 P +X ~ B14 0 -4400 100 L 30 30 0 1 P +X ~ B15 0 -4500 100 L 30 30 0 1 P +X ~ B16 0 -4600 100 L 30 30 0 1 P +X ~ B17 0 -4700 100 L 30 30 0 1 P +X ~ B18 0 -4800 100 L 30 30 0 1 P +X ~ B19 0 -4900 100 L 30 30 0 1 P +X ~ B20 0 -5000 100 L 30 30 0 1 P +X ~ B21 0 -5100 100 L 30 30 0 1 P +X ~ B22 0 -5200 100 L 30 30 0 1 P +X ~ B23 0 -5300 100 L 30 30 0 1 P +X ~ B24 0 -5400 100 L 30 30 0 1 P +X ~ B25 0 -5500 100 L 30 30 0 1 P +X ~ B26 0 -5600 100 L 30 30 0 1 P +X ~ B27 0 -5700 100 L 30 30 0 1 P +X ~ B28 0 -5800 100 L 30 30 0 1 P +X ~ B29 0 -5900 100 L 30 30 0 1 P +X ~ B30 0 -6000 100 L 30 30 0 1 P +X ~ B31 0 -6100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# EDGE62F-B_PSPICE +# +DEF EDGE62F-B_PSPICE J 0 30 Y Y 1 F N +F0 "J" 0 0 30 H V L CNN +F1 "EDGE62F-B_PSPICE" 0 60 30 H V L CNN +DRAW +S -400 100 -100 -6200 0 1 0 N +X ~ A1 0 0 100 L 30 30 0 1 P +X ~ A2 0 -100 100 L 30 30 0 1 P +X ~ A3 0 -200 100 L 30 30 0 1 P +X ~ A4 0 -300 100 L 30 30 0 1 P +X ~ A5 0 -400 100 L 30 30 0 1 P +X ~ A6 0 -500 100 L 30 30 0 1 P +X ~ A7 0 -600 100 L 30 30 0 1 P +X ~ A8 0 -700 100 L 30 30 0 1 P +X ~ A9 0 -800 100 L 30 30 0 1 P +X ~ A10 0 -900 100 L 30 30 0 1 P +X ~ A11 0 -1000 100 L 30 30 0 1 P +X ~ A12 0 -1100 100 L 30 30 0 1 P +X ~ A13 0 -1200 100 L 30 30 0 1 P +X ~ A14 0 -1300 100 L 30 30 0 1 P +X ~ A15 0 -1400 100 L 30 30 0 1 P +X ~ A16 0 -1500 100 L 30 30 0 1 P +X ~ A17 0 -1600 100 L 30 30 0 1 P +X ~ A18 0 -1700 100 L 30 30 0 1 P +X ~ A19 0 -1800 100 L 30 30 0 1 P +X ~ A20 0 -1900 100 L 30 30 0 1 P +X ~ A21 0 -2000 100 L 30 30 0 1 P +X ~ A22 0 -2100 100 L 30 30 0 1 P +X ~ A23 0 -2200 100 L 30 30 0 1 P +X ~ A24 0 -2300 100 L 30 30 0 1 P +X ~ A25 0 -2400 100 L 30 30 0 1 P +X ~ A26 0 -2500 100 L 30 30 0 1 P +X ~ A27 0 -2600 100 L 30 30 0 1 P +X ~ A28 0 -2700 100 L 30 30 0 1 P +X ~ A29 0 -2800 100 L 30 30 0 1 P +X ~ A30 0 -2900 100 L 30 30 0 1 P +X ~ A31 0 -3000 100 L 30 30 0 1 P +X ~ B1 0 -3100 100 L 30 30 0 1 P +X ~ B2 0 -3200 100 L 30 30 0 1 P +X ~ B3 0 -3300 100 L 30 30 0 1 P +X ~ B4 0 -3400 100 L 30 30 0 1 P +X ~ B5 0 -3500 100 L 30 30 0 1 P +X ~ B6 0 -3600 100 L 30 30 0 1 P +X ~ B7 0 -3700 100 L 30 30 0 1 P +X ~ B8 0 -3800 100 L 30 30 0 1 P +X ~ B9 0 -3900 100 L 30 30 0 1 P +X ~ B10 0 -4000 100 L 30 30 0 1 P +X ~ B11 0 -4100 100 L 30 30 0 1 P +X ~ B12 0 -4200 100 L 30 30 0 1 P +X ~ B13 0 -4300 100 L 30 30 0 1 P +X ~ B14 0 -4400 100 L 30 30 0 1 P +X ~ B15 0 -4500 100 L 30 30 0 1 P +X ~ B16 0 -4600 100 L 30 30 0 1 P +X ~ B17 0 -4700 100 L 30 30 0 1 P +X ~ B18 0 -4800 100 L 30 30 0 1 P +X ~ B19 0 -4900 100 L 30 30 0 1 P +X ~ B20 0 -5000 100 L 30 30 0 1 P +X ~ B21 0 -5100 100 L 30 30 0 1 P +X ~ B22 0 -5200 100 L 30 30 0 1 P +X ~ B23 0 -5300 100 L 30 30 0 1 P +X ~ B24 0 -5400 100 L 30 30 0 1 P +X ~ B25 0 -5500 100 L 30 30 0 1 P +X ~ B26 0 -5600 100 L 30 30 0 1 P +X ~ B27 0 -5700 100 L 30 30 0 1 P +X ~ B28 0 -5800 100 L 30 30 0 1 P +X ~ B29 0 -5900 100 L 30 30 0 1 P +X ~ B30 0 -6000 100 L 30 30 0 1 P +X ~ B31 0 -6100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB9_PSPICE +# +DEF DB9_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "DB9_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -900 -240 -900 N +P 2 0 1 0 -240 -900 -180 -900 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -800 -400 -900 N +P 2 0 1 0 -400 -900 -310 -900 N +P 2 0 1 0 -360 -400 -220 -400 N +P 2 0 1 0 -220 -400 -280 -360 N +P 2 0 1 0 -220 -400 -280 -440 N +A -190 -810 90 -962 62 0 1 0 N -199 -899 -100 -800 +A -220 -10 120 48 899 0 1 0 N -100 0 -220 110 +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB9M_PSPICE +# +DEF DB9M_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "DB9M_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -900 -240 -900 N +P 2 0 1 0 -240 -900 -180 -900 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -800 -400 -900 N +P 2 0 1 0 -400 -900 -310 -900 N +P 2 0 1 0 -360 -400 -220 -400 N +P 2 0 1 0 -220 -400 -280 -360 N +P 2 0 1 0 -220 -400 -280 -440 N +A -190 -810 90 -962 62 0 1 0 N -199 -899 -100 -800 +A -220 -10 120 48 899 0 1 0 N -100 0 -220 110 +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB9F_PSPICE +# +DEF DB9F_PSPICE J 0 30 Y Y 1 F N +F0 "J" 0 0 30 H V L CNN +F1 "DB9F_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -900 -240 -900 N +P 2 0 1 0 -240 -900 -180 -900 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -800 -400 -900 N +P 2 0 1 0 -400 -900 -310 -900 N +P 2 0 1 0 -320 -400 -180 -400 N +P 2 0 1 0 -320 -400 -380 -360 N +P 2 0 1 0 -320 -400 -380 -440 N +P 2 0 1 0 -200 100 -100 100 N +P 2 0 1 0 -100 100 -100 0 N +P 2 0 1 0 -200 -900 -100 -900 N +P 2 0 1 0 -100 -900 -100 -800 N +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB25_PSPICE +# +DEF DB25_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "DB25_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -2500 -240 -2500 N +P 2 0 1 0 -240 -2500 -180 -2500 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -2400 -400 -2500 N +P 2 0 1 0 -400 -2500 -310 -2500 N +P 2 0 1 0 -400 -2400 -400 -800 N +P 2 0 1 0 -100 -800 -100 -2200 N +P 2 0 1 0 -100 -2200 -100 -2400 N +P 2 0 1 0 -360 -1200 -270 -1200 N +P 2 0 1 0 -270 -1200 -300 -1180 N +P 2 0 1 0 -270 -1200 -300 -1220 N +A -190 -2410 90 -962 62 0 1 0 N -199 -2499 -100 -2400 +A -220 -10 120 48 899 0 1 0 N -100 0 -220 110 +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +X ~ 10 0 -900 100 L 30 30 0 1 P +X ~ 11 0 -1000 100 L 30 30 0 1 P +X ~ 12 0 -1100 100 L 30 30 0 1 P +X ~ 13 0 -1200 100 L 30 30 0 1 P +X ~ 14 0 -1300 100 L 30 30 0 1 P +X ~ 15 0 -1400 100 L 30 30 0 1 P +X ~ 16 0 -1500 100 L 30 30 0 1 P +X ~ 17 0 -1600 100 L 30 30 0 1 P +X ~ 18 0 -1700 100 L 30 30 0 1 P +X ~ 19 0 -1800 100 L 30 30 0 1 P +X ~ 20 0 -1900 100 L 30 30 0 1 P +X ~ 21 0 -2000 100 L 30 30 0 1 P +X ~ 22 0 -2100 100 L 30 30 0 1 P +X ~ 23 0 -2200 100 L 30 30 0 1 P +X ~ 24 0 -2300 100 L 30 30 0 1 P +X ~ 25 0 -2400 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB25M_PSPICE +# +DEF DB25M_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "DB25M_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -2500 -240 -2500 N +P 2 0 1 0 -240 -2500 -180 -2500 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -2400 -400 -2500 N +P 2 0 1 0 -400 -2500 -310 -2500 N +P 2 0 1 0 -400 -2400 -400 -800 N +P 2 0 1 0 -100 -800 -100 -2200 N +P 2 0 1 0 -100 -2200 -100 -2400 N +P 2 0 1 0 -360 -1200 -270 -1200 N +P 2 0 1 0 -270 -1200 -300 -1180 N +P 2 0 1 0 -270 -1200 -300 -1220 N +A -190 -2410 90 -962 62 0 1 0 N -199 -2499 -100 -2400 +A -220 -10 120 48 899 0 1 0 N -100 0 -220 110 +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +X ~ 10 0 -900 100 L 30 30 0 1 P +X ~ 11 0 -1000 100 L 30 30 0 1 P +X ~ 12 0 -1100 100 L 30 30 0 1 P +X ~ 13 0 -1200 100 L 30 30 0 1 P +X ~ 14 0 -1300 100 L 30 30 0 1 P +X ~ 15 0 -1400 100 L 30 30 0 1 P +X ~ 16 0 -1500 100 L 30 30 0 1 P +X ~ 17 0 -1600 100 L 30 30 0 1 P +X ~ 18 0 -1700 100 L 30 30 0 1 P +X ~ 19 0 -1800 100 L 30 30 0 1 P +X ~ 20 0 -1900 100 L 30 30 0 1 P +X ~ 21 0 -2000 100 L 30 30 0 1 P +X ~ 22 0 -2100 100 L 30 30 0 1 P +X ~ 23 0 -2200 100 L 30 30 0 1 P +X ~ 24 0 -2300 100 L 30 30 0 1 P +X ~ 25 0 -2400 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB25F_PSPICE +# +DEF DB25F_PSPICE J 0 30 Y Y 1 F N +F0 "J" 0 0 30 H V L CNN +F1 "DB25F_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -2500 -240 -2500 N +P 2 0 1 0 -240 -2500 -180 -2500 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -2400 -400 -2500 N +P 2 0 1 0 -400 -2500 -310 -2500 N +P 2 0 1 0 -400 -2400 -400 -800 N +P 2 0 1 0 -100 -800 -100 -2200 N +P 2 0 1 0 -100 -2200 -100 -2400 N +P 2 0 1 0 -350 -1200 -260 -1200 N +P 2 0 1 0 -350 -1200 -380 -1180 N +P 2 0 1 0 -350 -1200 -380 -1220 N +A -190 -2410 90 -962 62 0 1 0 N -199 -2499 -100 -2400 +A -220 -10 120 48 899 0 1 0 N -100 0 -220 110 +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +X ~ 10 0 -900 100 L 30 30 0 1 P +X ~ 11 0 -1000 100 L 30 30 0 1 P +X ~ 12 0 -1100 100 L 30 30 0 1 P +X ~ 13 0 -1200 100 L 30 30 0 1 P +X ~ 14 0 -1300 100 L 30 30 0 1 P +X ~ 15 0 -1400 100 L 30 30 0 1 P +X ~ 16 0 -1500 100 L 30 30 0 1 P +X ~ 17 0 -1600 100 L 30 30 0 1 P +X ~ 18 0 -1700 100 L 30 30 0 1 P +X ~ 19 0 -1800 100 L 30 30 0 1 P +X ~ 20 0 -1900 100 L 30 30 0 1 P +X ~ 21 0 -2000 100 L 30 30 0 1 P +X ~ 22 0 -2100 100 L 30 30 0 1 P +X ~ 23 0 -2200 100 L 30 30 0 1 P +X ~ 24 0 -2300 100 L 30 30 0 1 P +X ~ 25 0 -2400 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DIN5_PSPICE +# +DEF DIN5_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "DIN5_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -350 -400 -150 -400 N +P 2 0 1 0 -350 -400 -400 -350 N +P 2 0 1 0 -350 -400 -400 -450 N +P 2 0 1 0 -150 -300 -350 -300 N +P 2 0 1 0 -350 -300 -400 -250 N +P 2 0 1 0 -350 -300 -400 -350 N +P 2 0 1 0 -150 -200 -350 -200 N +P 2 0 1 0 -350 -200 -400 -250 N +P 2 0 1 0 -350 -200 -400 -150 N +P 2 0 1 0 -150 -100 -350 -100 N +P 2 0 1 0 -350 -100 -400 -150 N +P 2 0 1 0 -350 -100 -400 -50 N +P 2 0 1 0 -150 0 -350 0 N +P 2 0 1 0 -350 0 -400 -50 N +P 2 0 1 0 -350 0 -400 50 N +P 2 0 1 0 -100 0 -200 0 N +P 2 0 1 0 -150 -100 -50 -100 N +P 2 0 1 0 -150 -200 -100 -200 N +P 2 0 1 0 -200 -300 -50 -300 N +P 2 0 1 0 -150 -400 -100 -400 N +S -300 100 -100 -500 0 1 0 N +X ~ pin1 0 0 100 L 30 30 0 1 P +X ~ pin2 0 -100 100 L 30 30 0 1 P +X ~ pin3 0 -200 100 L 30 30 0 1 P +X ~ pin4 0 -300 100 L 30 30 0 1 P +X ~ pin5 0 -400 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DIN96_PSPICE +# +DEF DIN96_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "DIN96_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 -100 200 -100 N +P 2 0 1 0 50 -50 100 -100 N +P 2 0 1 0 50 -150 100 -100 N +X ~ pin1 300 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# EDGE40_PSPICE +# +DEF EDGE40_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "EDGE40_PSPICE" 0 60 30 H V L CNN +DRAW +S -400 100 -100 -4000 0 1 0 N +X ~ A1 0 0 100 L 30 30 0 1 P +X ~ A2 0 -100 100 L 30 30 0 1 P +X ~ A3 0 -200 100 L 30 30 0 1 P +X ~ A4 0 -300 100 L 30 30 0 1 P +X ~ A5 0 -400 100 L 30 30 0 1 P +X ~ A6 0 -500 100 L 30 30 0 1 P +X ~ A7 0 -600 100 L 30 30 0 1 P +X ~ A8 0 -700 100 L 30 30 0 1 P +X ~ A9 0 -800 100 L 30 30 0 1 P +X ~ A10 0 -900 100 L 30 30 0 1 P +X ~ A11 0 -1000 100 L 30 30 0 1 P +X ~ A12 0 -1100 100 L 30 30 0 1 P +X ~ A13 0 -1200 100 L 30 30 0 1 P +X ~ A14 0 -1300 100 L 30 30 0 1 P +X ~ A15 0 -1400 100 L 30 30 0 1 P +X ~ A16 0 -1500 100 L 30 30 0 1 P +X ~ A17 0 -1600 100 L 30 30 0 1 P +X ~ A18 0 -1700 100 L 30 30 0 1 P +X ~ A19 0 -1800 100 L 30 30 0 1 P +X ~ A20 0 -1900 100 L 30 30 0 1 P +X ~ B1 0 -2000 100 L 30 30 0 1 P +X ~ B2 0 -2100 100 L 30 30 0 1 P +X ~ B3 0 -2200 100 L 30 30 0 1 P +X ~ B4 0 -2300 100 L 30 30 0 1 P +X ~ B5 0 -2400 100 L 30 30 0 1 P +X ~ B6 0 -2500 100 L 30 30 0 1 P +X ~ B7 0 -2600 100 L 30 30 0 1 P +X ~ B8 0 -2700 100 L 30 30 0 1 P +X ~ B9 0 -2800 100 L 30 30 0 1 P +X ~ B10 0 -2900 100 L 30 30 0 1 P +X ~ B11 0 -3000 100 L 30 30 0 1 P +X ~ B12 0 -3100 100 L 30 30 0 1 P +X ~ B13 0 -3200 100 L 30 30 0 1 P +X ~ B14 0 -3300 100 L 30 30 0 1 P +X ~ B15 0 -3400 100 L 30 30 0 1 P +X ~ B16 0 -3500 100 L 30 30 0 1 P +X ~ B17 0 -3600 100 L 30 30 0 1 P +X ~ B18 0 -3700 100 L 30 30 0 1 P +X ~ B19 0 -3800 100 L 30 30 0 1 P +X ~ B20 0 -3900 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# EDGE62_PSPICE +# +DEF EDGE62_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "EDGE62_PSPICE" 0 60 30 H V L CNN +DRAW +S -400 100 -100 -6200 0 1 0 N +X ~ A1 0 0 100 L 30 30 0 1 P +X ~ A2 0 -100 100 L 30 30 0 1 P +X ~ A3 0 -200 100 L 30 30 0 1 P +X ~ A4 0 -300 100 L 30 30 0 1 P +X ~ A5 0 -400 100 L 30 30 0 1 P +X ~ A6 0 -500 100 L 30 30 0 1 P +X ~ A7 0 -600 100 L 30 30 0 1 P +X ~ A8 0 -700 100 L 30 30 0 1 P +X ~ A9 0 -800 100 L 30 30 0 1 P +X ~ A10 0 -900 100 L 30 30 0 1 P +X ~ A11 0 -1000 100 L 30 30 0 1 P +X ~ A12 0 -1100 100 L 30 30 0 1 P +X ~ A13 0 -1200 100 L 30 30 0 1 P +X ~ A14 0 -1300 100 L 30 30 0 1 P +X ~ A15 0 -1400 100 L 30 30 0 1 P +X ~ A16 0 -1500 100 L 30 30 0 1 P +X ~ A17 0 -1600 100 L 30 30 0 1 P +X ~ A18 0 -1700 100 L 30 30 0 1 P +X ~ A19 0 -1800 100 L 30 30 0 1 P +X ~ A20 0 -1900 100 L 30 30 0 1 P +X ~ A21 0 -2000 100 L 30 30 0 1 P +X ~ A22 0 -2100 100 L 30 30 0 1 P +X ~ A23 0 -2200 100 L 30 30 0 1 P +X ~ A24 0 -2300 100 L 30 30 0 1 P +X ~ A25 0 -2400 100 L 30 30 0 1 P +X ~ A26 0 -2500 100 L 30 30 0 1 P +X ~ A27 0 -2600 100 L 30 30 0 1 P +X ~ A28 0 -2700 100 L 30 30 0 1 P +X ~ A29 0 -2800 100 L 30 30 0 1 P +X ~ A30 0 -2900 100 L 30 30 0 1 P +X ~ A31 0 -3000 100 L 30 30 0 1 P +X ~ B1 0 -3100 100 L 30 30 0 1 P +X ~ B2 0 -3200 100 L 30 30 0 1 P +X ~ B3 0 -3300 100 L 30 30 0 1 P +X ~ B4 0 -3400 100 L 30 30 0 1 P +X ~ B5 0 -3500 100 L 30 30 0 1 P +X ~ B6 0 -3600 100 L 30 30 0 1 P +X ~ B7 0 -3700 100 L 30 30 0 1 P +X ~ B8 0 -3800 100 L 30 30 0 1 P +X ~ B9 0 -3900 100 L 30 30 0 1 P +X ~ B10 0 -4000 100 L 30 30 0 1 P +X ~ B11 0 -4100 100 L 30 30 0 1 P +X ~ B12 0 -4200 100 L 30 30 0 1 P +X ~ B13 0 -4300 100 L 30 30 0 1 P +X ~ B14 0 -4400 100 L 30 30 0 1 P +X ~ B15 0 -4500 100 L 30 30 0 1 P +X ~ B16 0 -4600 100 L 30 30 0 1 P +X ~ B17 0 -4700 100 L 30 30 0 1 P +X ~ B18 0 -4800 100 L 30 30 0 1 P +X ~ B19 0 -4900 100 L 30 30 0 1 P +X ~ B20 0 -5000 100 L 30 30 0 1 P +X ~ B21 0 -5100 100 L 30 30 0 1 P +X ~ B22 0 -5200 100 L 30 30 0 1 P +X ~ B23 0 -5300 100 L 30 30 0 1 P +X ~ B24 0 -5400 100 L 30 30 0 1 P +X ~ B25 0 -5500 100 L 30 30 0 1 P +X ~ B26 0 -5600 100 L 30 30 0 1 P +X ~ B27 0 -5700 100 L 30 30 0 1 P +X ~ B28 0 -5800 100 L 30 30 0 1 P +X ~ B29 0 -5900 100 L 30 30 0 1 P +X ~ B30 0 -6000 100 L 30 30 0 1 P +X ~ B31 0 -6100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# HDR20_PSPICE +# +DEF HDR20_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "HDR20_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 50 N +P 2 0 1 0 150 50 400 50 N +P 2 0 1 0 400 50 400 -50 N +P 2 0 1 0 400 -50 150 -50 N +P 2 0 1 0 150 -50 100 0 N +X ~ PIN1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# HDR50_PSPICE +# +DEF HDR50_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "HDR50_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 50 N +P 2 0 1 0 150 50 400 50 N +P 2 0 1 0 400 50 400 -50 N +P 2 0 1 0 400 -50 150 -50 N +P 2 0 1 0 150 -50 100 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# CONNECTOR_PSPICE +# +DEF CONNECTOR_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "CONNECTOR_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 -100 200 -100 N +P 2 0 1 0 50 -50 100 -100 N +P 2 0 1 0 50 -150 100 -100 N +X ~ pin1 300 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# male_PSPICE +# +DEF male_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "male_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -200 0 -100 0 N +P 2 0 1 0 -150 50 -200 0 N +P 2 0 1 0 -150 -50 -200 0 N +X ~ pin1 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# edge26_PSPICE +# +DEF edge26_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "edge26_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 -100 200 -100 N +P 2 0 1 0 50 -50 100 -100 N +P 2 0 1 0 50 -150 100 -100 N +X ~ pin1 300 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/src/converter/schematic_converters/lib/PythonLib/PythonLib.pro b/src/converter/schematic_converters/lib/PythonLib/PythonLib.pro new file mode 100644 index 00000000..770651f3 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/PythonLib.pro @@ -0,0 +1,64 @@ +update= +last_client=eeschema +[eeschema] +version=1 +LibDir= +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 diff --git a/src/converter/schematic_converters/lib/PythonLib/PythonLib.proj b/src/converter/schematic_converters/lib/PythonLib/PythonLib.proj new file mode 100644 index 00000000..5257c0af --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/PythonLib.proj @@ -0,0 +1 @@ +schematicFile PythonLib.sch.sch diff --git a/src/converter/schematic_converters/lib/PythonLib/PythonLib.sch b/src/converter/schematic_converters/lib/PythonLib/PythonLib.sch new file mode 100644 index 00000000..1d1db59c --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/PythonLib.sch @@ -0,0 +1,135 @@ +EESchema Schematic File Version 2 date +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 +EELAYER 25 0 +EELAYER END +$Descr A4 11700 8267 +encoding utf-8 +Sheet 1 1 +Title "" +Date "" +Rev "" +Comp "" +Comment1 "" +Comment2 "" +Comment3 "" +Comment4 "" +$EndDescr +$Comp +L GND #PWR1 +U 1 1 26896853 +P 1400 1300 +F 0 "#PWR1" H 2800 2600 30 0001 L CNN +F 1 "EGND" H 2800 2680 30 0001 L CNN + 1 1400 1300 + 1 0 0 -1 +$EndComp +$Comp +L DigStim_PSPICE DSTM1 +U 1 1 65650313 +P 1100 800 +F 0 "DSTM1" H 1100 800 30 0000 L CNN +F 1 "DigStim" H 1100 880 30 0000 L CNN + 1 1100 800 + 1 0 0 -1 +$EndComp +$Comp +L 74393_PSPICE U1 +U 1 1 74278898 +P 1100 800 +F 0 "U1" H 1100 800 30 0000 L CNN +F 1 "74393" H 1100 880 30 0000 L CNN + 1 1100 800 + 1 0 0 -1 +$EndComp +$Comp +L titleblk_PSPICE titleblk +U 1 1 65897942 +P 9700 7200 +F 0 "titleblk" H 19400 14400 30 0001 L CNN +F 1 "titleblk" H 19400 14480 30 0001 L CNN + 1 9700 7200 + 1 0 0 -1 +$EndComp +$Comp +L nodeMarker_PSPICE nodeMarker +U 1 1 73577965 +P 1100 800 +F 0 "nodeMarker" H 2200 1600 30 0001 L CNN +F 1 "nodeMarker" H 2200 1680 30 0001 L CNN + 1 1100 800 + 1 0 0 -1 +$EndComp +$Comp +L nodeMarker_PSPICE nodeMarker +U 1 1 39494157 +P 1700 800 +F 0 "nodeMarker" H 3400 1600 30 0001 L CNN +F 1 "nodeMarker" H 3400 1680 30 0001 L CNN + 1 1700 800 + 1 0 0 -1 +$EndComp +$Comp +L nodeMarker_PSPICE nodeMarker +U 1 1 61874635 +P 1700 900 +F 0 "nodeMarker" H 3400 1800 30 0001 L CNN +F 1 "nodeMarker" H 3400 1880 30 0001 L CNN + 1 1700 900 + 1 0 0 -1 +$EndComp +$Comp +L nodeMarker_PSPICE nodeMarker +U 1 1 86034845 +P 1700 1000 +F 0 "nodeMarker" H 3400 2000 30 0001 L CNN +F 1 "nodeMarker" H 3400 2080 30 0001 L CNN + 1 1700 1000 + 1 0 0 -1 +$EndComp +$Comp +L nodeMarker_PSPICE nodeMarker +U 1 1 47771856 +P 1700 1100 +F 0 "nodeMarker" H 3400 2200 30 0001 L CNN +F 1 "nodeMarker" H 3400 2280 30 0001 L CNN + 1 1700 1100 + 1 0 0 -1 +$EndComp +Connection ~ 1100 800 +Connection ~ 1100 800 +Connection ~ 1400 1300 +Connection ~ 1100 800 +Connection ~ 1700 800 +Connection ~ 1700 900 +Connection ~ 1700 1000 +Connection ~ 1700 1100 +$EndSCHEMATC diff --git a/src/converter/schematic_converters/lib/PythonLib/RAJ.lib b/src/converter/schematic_converters/lib/PythonLib/RAJ.lib new file mode 100644 index 00000000..e3a6ea38 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/RAJ.lib @@ -0,0 +1,319 @@ +EESchema-LIBRARY Version 4.7 Date: +#encoding utf-8 +# +# DX_PSPICE +# +DEF DX_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "DX_PSPICE" 0 60 30 H V L CNN +DRAW +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 0 120 0 N +P 2 0 1 0 200 50 200 -50 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# SG1524B_PSPICE +# +DEF SG1524B_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "SG1524B_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -800 0 1 0 N +X ~ 1 0 0 100 R 30 30 0 1 B +X ~ 2 0 -100 100 R 30 30 0 1 B +X ~ 3 0 -200 100 R 30 30 0 1 B +X ~ 4 0 -300 100 R 30 30 0 1 B +X ~ 5 0 -400 100 R 30 30 0 1 B +X ~ 7 0 -500 100 R 30 30 0 1 B +X ~ 8 0 -600 100 R 30 30 0 1 B +X ~ 9 0 -700 100 R 30 30 0 1 B +X ~ 10 700 0 100 L 30 30 0 1 B +X ~ 11 700 -100 100 L 30 30 0 1 B +X ~ 12 700 -200 100 L 30 30 0 1 B +X ~ 13 700 -300 100 L 30 30 0 1 B +X ~ 14 700 -400 100 L 30 30 0 1 B +X ~ 15 700 -500 100 L 30 30 0 1 B +X ~ 16 700 -600 100 L 30 30 0 1 B +ENDDRAW +ENDDEF +# +# LM723C_PSPICE +# +DEF LM723C_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "LM723C_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -600 0 1 0 N +X ~ 2 0 0 100 R 30 30 0 1 B +X ~ 3 0 -100 100 R 30 30 0 1 B +X ~ 4 0 -200 100 R 30 30 0 1 B +X ~ 5 0 -300 100 R 30 30 0 1 B +X ~ 6 0 -400 100 R 30 30 0 1 B +X ~ 7 0 -500 100 R 30 30 0 1 B +X ~ 9 700 0 100 L 30 30 0 1 B +X ~ 10 700 -100 100 L 30 30 0 1 B +X ~ 11 700 -200 100 L 30 30 0 1 B +X ~ 12 700 -300 100 L 30 30 0 1 B +X ~ 13 700 -400 100 L 30 30 0 1 B +ENDDRAW +ENDDEF +# +# SCR3T_PSPICE +# +DEF SCR3T_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "SCR3T_PSPICE" 0 60 30 H V L CNN +DRAW +P 4 0 1 0 100 50 100 -50 200 0 100 50 N +P 2 0 1 0 300 -100 200 0 N +P 2 0 1 0 200 50 200 -50 N +P 2 0 1 0 300 0 200 0 N +X ~ A 0 0 100 R 30 30 0 1 P +X ~ K 400 0 100 L 30 30 0 1 P +X ~ G 300 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# LM7805C_PSPICE +# +DEF LM7805C_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "LM7805C_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 1300 -200 0 1 0 N +X ~ INPUT 0 0 100 R 30 30 0 1 B +X ~ OUTPUT 1400 0 100 L 30 30 0 1 B +X ~ GROUND 700 -300 100 U 30 30 0 1 B +ENDDRAW +ENDDEF +# +# LM7815C_PSPICE +# +DEF LM7815C_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "LM7815C_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 1300 -200 0 1 0 N +X ~ INPUT 0 0 100 R 30 30 0 1 B +X ~ OUTPUT 1400 0 100 L 30 30 0 1 B +X ~ GROUND 700 -300 100 U 30 30 0 1 B +ENDDRAW +ENDDEF +# +# LM7905C_PSPICE +# +DEF LM7905C_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "LM7905C_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 1300 -200 0 1 0 N +X ~ INPUT 0 0 100 R 30 30 0 1 B +X ~ OUTPUT 1400 0 100 L 30 30 0 1 B +X ~ GROUND 700 -300 100 U 30 30 0 1 B +ENDDRAW +ENDDEF +# +# LM7915C_PSPICE +# +DEF LM7915C_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "LM7915C_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 1300 -200 0 1 0 N +X ~ INPUT 0 0 100 R 30 30 0 1 B +X ~ OUTPUT 1400 0 100 L 30 30 0 1 B +X ~ GROUND 700 -300 100 U 30 30 0 1 B +ENDDRAW +ENDDEF +# +# OP-07_PSPICE +# +DEF OP-07_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "OP-07_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 700 -200 100 100 N +P 2 0 1 0 100 -500 700 -200 N +P 2 0 1 0 400 -400 400 -350 N +P 2 0 1 0 100 100 100 -500 N +P 2 0 1 0 400 0 400 -50 N +X ~ OUT 800 -200 100 L 30 30 0 1 O +X ~ + 0 0 100 R 30 30 0 1 I +X ~ - 0 -400 100 R 30 30 0 1 I +X ~ V+ 400 100 100 D 30 30 0 1 I +X ~ V- 400 -500 100 U 30 30 0 1 I +ENDDRAW +ENDDEF +# +# OP_AMP_PSPICE +# +DEF OP_AMP_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "OP_AMP_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 1000 -400 0 1 0 N +X ~ NON_INV 0 0 100 R 30 30 0 1 B +X ~ INV 0 -300 100 R 30 30 0 1 B +X ~ OUT 1100 -100 100 L 30 30 0 1 B +ENDDRAW +ENDDEF +# +# IDEAL_TRAN_PSPICE +# +DEF IDEAL_TRAN_PSPICE TX 0 30 Y Y 1 F N +F0 "TX" 0 0 30 H V L CNN +F1 "IDEAL_TRAN_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 100 -100 N +P 2 0 1 0 100 -500 100 -600 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 300 -500 300 -600 N +P 2 0 1 0 220 -100 220 -500 N +P 2 0 1 0 220 -500 220 -500 N +P 2 0 1 0 180 -100 180 -500 N +P 2 0 1 0 180 -500 180 -500 N +A 300 -450 50 901 2699 0 1 0 N 300 -400 300 -500 +A 100 -450 50 -899 899 0 1 0 N 100 -500 100 -400 +A 100 -350 50 -899 899 0 1 0 N 100 -400 100 -300 +A 100 -250 50 -899 899 0 1 0 N 100 -300 100 -200 +A 100 -150 50 -899 899 0 1 0 N 100 -200 100 -100 +A 300 -150 50 901 2699 0 1 0 N 300 -100 300 -200 +A 300 -250 50 901 2699 0 1 0 N 300 -200 300 -300 +A 300 -350 50 901 2699 0 1 0 N 300 -300 300 -400 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -600 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# SCR2T_PSPICE +# +DEF SCR2T_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "SCR2T_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -100 0 1 0 N +X ~ A 0 0 100 R 30 30 0 1 B +X ~ K 700 0 100 L 30 30 0 1 B +ENDDRAW +ENDDEF +# +# CMOD_PSPICE +# +DEF CMOD_PSPICE K 0 30 Y Y 1 F N +F0 "K" 0 0 30 H V L CNN +F1 "CMOD_PSPICE" 0 60 30 H V L CNN +DRAW +S 0 100 100 0 0 1 0 N +T 0 20 20 30 0 0 0 K +ENDDRAW +ENDDEF +# +# Q_PI_PSPICE +# +DEF Q_PI_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "Q_PI_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +P 2 0 1 0 100 100 100 -100 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# COUPLED_INDUCTOR_PSPICE +# +DEF COUPLED_INDUCTOR_PSPICE TX 0 30 Y Y 1 F N +F0 "TX" 0 0 30 H V L CNN +F1 "COUPLED_INDUCTOR_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 300 -500 300 -600 N +P 2 0 1 0 100 0 100 -100 N +P 2 0 1 0 100 -500 100 -600 N +P 2 0 1 0 300 0 300 -100 N +A 300 -350 50 901 2699 0 1 0 N 300 -300 300 -400 +A 100 -350 50 -899 899 0 1 0 N 100 -400 100 -300 +A 100 -250 50 -899 899 0 1 0 N 100 -300 100 -200 +A 100 -150 50 -899 899 0 1 0 N 100 -200 100 -100 +A 300 -150 50 901 2699 0 1 0 N 300 -100 300 -200 +A 300 -250 50 901 2699 0 1 0 N 300 -200 300 -300 +A 100 -450 50 -899 899 0 1 0 N 100 -500 100 -400 +A 300 -450 50 901 2699 0 1 0 N 300 -400 300 -500 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -600 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# SCR_PSPICE +# +DEF SCR_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "SCR_PSPICE" 0 60 30 H V L CNN +DRAW +P 4 0 1 0 100 50 100 -50 200 0 100 50 N +P 2 0 1 0 300 -100 200 0 N +P 2 0 1 0 200 50 200 -50 N +P 2 0 1 0 300 0 200 0 N +X ~ A 0 0 100 R 30 30 0 1 P +X ~ K 400 0 100 L 30 30 0 1 P +X ~ G 300 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QM_PSPICE +# +DEF QM_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "QM_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +P 2 0 1 0 100 100 100 -100 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QN_PSPICE +# +DEF QN_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "QN_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +P 2 0 1 0 100 100 100 -100 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DXY_PSPICE +# +DEF DXY_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "DXY_PSPICE" 0 60 30 H V L CNN +DRAW +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 0 120 0 N +P 2 0 1 0 200 50 200 -50 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/src/converter/schematic_converters/lib/PythonLib/VLAB.lib b/src/converter/schematic_converters/lib/PythonLib/VLAB.lib new file mode 100644 index 00000000..9c50cd3e --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/VLAB.lib @@ -0,0 +1,19 @@ +EESchema-LIBRARY Version 4.7 Date: +#encoding utf-8 +# +# COMP_PSPICE +# +DEF COMP_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "COMP_PSPICE" 0 60 30 H V L CNN +DRAW +P 4 0 1 0 100 100 700 -200 100 -500 100 100 N +P 2 0 1 0 400 -400 400 -350 N +P 2 0 1 0 400 0 400 -50 N +X ~ pin1 0 0 100 R 30 30 0 1 P +X ~ pin2 0 -300 100 R 30 30 0 1 P +X ~ pin3 800 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/attribute.cpython-35.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/attribute.cpython-35.pyc Binary files differnew file mode 100644 index 00000000..f08d233d --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/attribute.cpython-35.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/attribute.cpython-36.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/attribute.cpython-36.pyc Binary files differnew file mode 100644 index 00000000..319532ae --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/attribute.cpython-36.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/attribute.cpython-38.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/attribute.cpython-38.pyc Binary files differnew file mode 100644 index 00000000..03a9919c --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/attribute.cpython-38.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/component.cpython-35.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/component.cpython-35.pyc Binary files differnew file mode 100644 index 00000000..8538776d --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/component.cpython-35.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/component.cpython-36.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/component.cpython-36.pyc Binary files differnew file mode 100644 index 00000000..1fb84457 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/component.cpython-36.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/component.cpython-38.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/component.cpython-38.pyc Binary files differnew file mode 100644 index 00000000..572b5ef8 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/component.cpython-38.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/component_instance.cpython-35.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/component_instance.cpython-35.pyc Binary files differnew file mode 100644 index 00000000..143c6368 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/component_instance.cpython-35.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/component_instance.cpython-36.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/component_instance.cpython-36.pyc Binary files differnew file mode 100644 index 00000000..7106f8b7 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/component_instance.cpython-36.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/component_instance.cpython-38.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/component_instance.cpython-38.pyc Binary files differnew file mode 100644 index 00000000..8edc772d --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/component_instance.cpython-38.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/design.cpython-35.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/design.cpython-35.pyc Binary files differnew file mode 100644 index 00000000..3477492b --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/design.cpython-35.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/design.cpython-36.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/design.cpython-36.pyc Binary files differnew file mode 100644 index 00000000..1c3389d2 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/design.cpython-36.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/design.cpython-38.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/design.cpython-38.pyc Binary files differnew file mode 100644 index 00000000..2bf81423 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/design.cpython-38.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/header.cpython-35.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/header.cpython-35.pyc Binary files differnew file mode 100644 index 00000000..9a54ca8c --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/header.cpython-35.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/header.cpython-36.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/header.cpython-36.pyc Binary files differnew file mode 100644 index 00000000..d809c7b5 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/header.cpython-36.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/header.cpython-38.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/header.cpython-38.pyc Binary files differnew file mode 100644 index 00000000..45987f00 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/header.cpython-38.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/misc.cpython-35.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/misc.cpython-35.pyc Binary files differnew file mode 100644 index 00000000..4c9ceb9f --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/misc.cpython-35.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/misc.cpython-36.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/misc.cpython-36.pyc Binary files differnew file mode 100644 index 00000000..e0bcebd2 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/misc.cpython-36.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/misc.cpython-38.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/misc.cpython-38.pyc Binary files differnew file mode 100644 index 00000000..09fc7cd8 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/misc.cpython-38.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/parser.cpython-36.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/parser.cpython-36.pyc Binary files differnew file mode 100644 index 00000000..3c3be05e --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/parser.cpython-36.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/wire.cpython-35.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/wire.cpython-35.pyc Binary files differnew file mode 100644 index 00000000..a8be49c6 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/wire.cpython-35.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/wire.cpython-36.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/wire.cpython-36.pyc Binary files differnew file mode 100644 index 00000000..4e44fb36 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/wire.cpython-36.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/__pycache__/wire.cpython-38.pyc b/src/converter/schematic_converters/lib/PythonLib/__pycache__/wire.cpython-38.pyc Binary files differnew file mode 100644 index 00000000..c7f8d59c --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/__pycache__/wire.cpython-38.pyc diff --git a/src/converter/schematic_converters/lib/PythonLib/abm.lib b/src/converter/schematic_converters/lib/PythonLib/abm.lib new file mode 100644 index 00000000..32b90649 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/abm.lib @@ -0,0 +1,4 @@ +EESchema-LIBRARY Version 4.7 Date: +#encoding utf-8 +# +#End Library diff --git a/src/converter/schematic_converters/lib/PythonLib/analog.lib b/src/converter/schematic_converters/lib/PythonLib/analog.lib new file mode 100644 index 00000000..32b90649 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/analog.lib @@ -0,0 +1,4 @@ +EESchema-LIBRARY Version 4.7 Date: +#encoding utf-8 +# +#End Library diff --git a/src/converter/schematic_converters/lib/PythonLib/analog_p.lib b/src/converter/schematic_converters/lib/PythonLib/analog_p.lib new file mode 100644 index 00000000..68eb97ae --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/analog_p.lib @@ -0,0 +1,93 @@ +EESchema-LIBRARY Version 4.7 Date: +#encoding utf-8 +# +# c_PSPICE +# +DEF c_PSPICE C 0 30 Y Y 1 F N +F0 "C" 0 0 30 H V L CNN +F1 "c_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 130 0 N +P 2 0 1 0 130 50 130 -50 N +P 2 0 1 0 170 50 170 -50 N +P 2 0 1 0 170 0 200 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# l_PSPICE +# +DEF l_PSPICE L 0 30 Y Y 1 F N +F0 "L" 0 0 30 H V L CNN +F1 "l_PSPICE" 0 60 30 H V L CNN +DRAW +A 150 0 50 1 1799 0 1 0 N 200 0 100 0 +A 250 0 50 1 1799 0 1 0 N 300 0 200 0 +A 350 0 50 1 1799 0 1 0 N 400 0 300 0 +A 450 0 50 1 1799 0 1 0 N 500 0 400 0 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# r_PSPICE +# +DEF r_PSPICE R 0 30 Y Y 1 F N +F0 "R" 0 0 30 H V L CNN +F1 "r_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 110 0 N +P 2 0 1 0 110 0 130 40 N +P 2 0 1 0 130 40 160 -40 N +P 2 0 1 0 160 -40 190 40 N +P 2 0 1 0 190 40 220 -40 N +P 2 0 1 0 220 -40 250 40 N +P 2 0 1 0 250 40 280 -40 N +P 2 0 1 0 280 -40 300 0 N +X ~ 2 400 0 100 L 30 30 0 1 P +X ~ 1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# R_var_PSPICE +# +DEF R_var_PSPICE R 0 30 Y Y 1 F N +F0 "R" 0 0 30 H V L CNN +F1 "R_var_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 110 0 130 40 N +P 2 0 1 0 130 40 160 -40 N +P 2 0 1 0 160 -40 190 40 N +P 2 0 1 0 190 40 220 -40 N +P 2 0 1 0 220 -40 250 40 N +P 2 0 1 0 250 40 280 -40 N +P 2 0 1 0 280 -40 300 0 N +P 2 0 1 0 100 0 110 0 N +P 2 0 1 0 100 100 300 -100 N +P 2 0 1 0 300 -50 300 -100 N +P 2 0 1 0 300 -100 250 -100 N +X ~ 2 400 0 100 L 30 30 0 1 P +X ~ 1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# C_var_PSPICE +# +DEF C_var_PSPICE C 0 30 Y Y 1 F N +F0 "C" 0 0 30 H V L CNN +F1 "C_var_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 130 0 N +P 2 0 1 0 130 -50 130 50 N +P 2 0 1 0 170 -50 170 50 N +P 2 0 1 0 170 0 200 0 N +P 2 0 1 0 100 50 200 -50 N +P 2 0 1 0 200 -50 200 -30 N +P 2 0 1 0 200 -50 180 -50 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/src/converter/schematic_converters/lib/PythonLib/attribute.py b/src/converter/schematic_converters/lib/PythonLib/attribute.py new file mode 100644 index 00000000..e584a2ec --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/attribute.py @@ -0,0 +1,69 @@ +#The MIT License (MIT) + +#PSpice to Oscad Schematic Converter +#This code is written by Suryavamshi Tenneti, FOSSEE, IIT Bombay +#The code is modified by Sumanto Kar and Gloria Nandihal, FOSSEE, IIT Bombay + + + +from header import * #Importing header file from PythonLib folder +class Attribute: #defining class Attribute + x = 0 #declaring and initialising coordinates + y = 0 + orient = '' #declaring and initialising orientation + hjust = '' #declaring and initialising hjust + vjust = '' #declaring and initialising vjust + isHidden = False #declaring and initialising isHidden + name ='' #declaring and initialising component name + value = '' #declaring and initialising value + '''Sample attribute line in a Pspice library: + a 0 s 11 0 10 34 hln 100 PART=EPOLY + a: implies that this line describes an attribute + s: something to do with "isHidden" + 10, 34: "x", "y" wrt the origin of the Component of which this is an attribute. + hln: "orient"(h), "hjust"(l), "vjust"(n) + 100: text size in % in Pspice. Ignore. + PART: "name" of the attribute. + EPOLY: "value" of the attribute. ''' + def __init__(self,line = ''): #defining the _init_ Constructor + a = '' #declaring and initialising a + vis = '' #declaring and initialising vis + temp = '' #declaring and initialising temp + t = 0 #declaring and initialising t + x0 = 0 #declaring and initialising x0 + y0 = 0 #declaring and initialising y0 + if len(line) != 0: + input_line = line.strip().split() #making a copy of line and spliting it + #print(input_line) + a,t,temp,vis,x0,y0,temp = input_line[:7] #copying input_line + self.orient,self.hjust,self.vjust = list(input_line[7]) + t= input_line[8] #setting sizes to 8 + temp = ' '.join(map(str,input_line[9:])) #mapping and then joining in temp + temp = temp.split()[0] #spliting the temp + x0 = int(x0) #taking the x coordinate in integer format + y0 = int(y0) #taking the y coordinate in integer format + + self.x = x0 * MULT #as size of pspice components is small therefore + #increasing the size 10 times + self.y = y0 * MULT #MULT=10 from header file + + t = temp.find('=') #everything in temp occuring before the '=' is the "name", + #and everything after it is the "value". + self.name = temp[0:t] #storing the name + self.value = temp[t+1:] #storing the value + if vis.find('13') == -1: #if '13' is not found returns -1 + self.isHidden = True #if yes, storing the isHidden as True + + else: + self.isHidden = False #otherwise storing the isHidden as False + + #print('attribute name->',self.name,'attribute value->', self.value) + + def print(self, output_stream): #defining the print function + #print('Type in attr->',self.value) + output_stream.write(' "'+self.value+'" '+self.orient.upper()+' '+str(self.x)+' ' +str(self.y)+' 30 000'+str(int(self.isHidden))+' '+self.hjust.upper()+' ') #write the values to the output_stream + if self.vjust == 'n': #checking vjust is 'n' (representing hln in pspice schematic) + output_stream.write('C') #if yes, writing 'C' to the output_stream(EESchema Schematic) + else: + output_stream.write(self.vjust.upper()) #if not, writing vjust.upper to the output_stream + output_stream.write('NN\n') #writing 'NN\n' diff --git a/src/converter/schematic_converters/lib/PythonLib/breakout.lib b/src/converter/schematic_converters/lib/PythonLib/breakout.lib new file mode 100644 index 00000000..9fd7524d --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/breakout.lib @@ -0,0 +1,978 @@ +EESchema-LIBRARY Version 4.7 Date: +#encoding utf-8 +# +# ADC10break_PSPICE +# +DEF ADC10break_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "ADC10break_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1100 0 1 0 N +X ~ DB7 700 -200 100 L 30 30 0 1 P +X ~ DB6 700 -300 100 L 30 30 0 1 P +X ~ DB5 700 -400 100 L 30 30 0 1 P +X ~ DB4 700 -500 100 L 30 30 0 1 P +X ~ DB3 700 -600 100 L 30 30 0 1 P +X ~ DB2 700 -700 100 L 30 30 0 1 P +X ~ DB1 700 -800 100 L 30 30 0 1 P +X ~ DB0 700 -900 100 L 30 30 0 1 P +X ~ DPWR 300 200 100 D 30 30 0 1 P +X ~ DGND 300 -1200 100 U 30 30 0 1 P +X ~ GND 400 -1200 100 U 30 30 0 1 P +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ CNVRT 0 -200 100 R 30 30 0 1 P +X ~ STAT 0 -400 100 R 30 30 0 1 P +X ~ OVER 0 -600 100 R 30 30 0 1 P +X ~ REF 0 -800 100 R 30 30 0 1 P +X ~ DB9 700 0 100 L 30 30 0 1 P +X ~ DB8 700 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ADC12break_PSPICE +# +DEF ADC12break_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "ADC12break_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1300 0 1 0 N +S 700 -1200 700 -1200 0 1 0 N +X ~ DB7 700 -400 100 L 30 30 0 1 P +X ~ DB6 700 -500 100 L 30 30 0 1 P +X ~ DB5 700 -600 100 L 30 30 0 1 P +X ~ DB4 700 -700 100 L 30 30 0 1 P +X ~ DB3 700 -800 100 L 30 30 0 1 P +X ~ DB2 700 -900 100 L 30 30 0 1 P +X ~ DB1 700 -1000 100 L 30 30 0 1 P +X ~ DB0 700 -1100 100 L 30 30 0 1 P +X ~ DPWR 300 200 100 D 30 30 0 1 P +X ~ DGND 300 -1400 100 U 30 30 0 1 P +X ~ GND 400 -1400 100 U 30 30 0 1 P +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ CNVRT 0 -200 100 R 30 30 0 1 P +X ~ STAT 0 -400 100 R 30 30 0 1 P +X ~ OVER 0 -600 100 R 30 30 0 1 P +X ~ REF 0 -800 100 R 30 30 0 1 P +X ~ DB9 700 -200 100 L 30 30 0 1 P +X ~ DB8 700 -300 100 L 30 30 0 1 P +X ~ DB10 700 -100 100 L 30 30 0 1 P +X ~ DB11 700 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ADC8break_PSPICE +# +DEF ADC8break_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "ADC8break_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -900 0 1 0 N +X ~ DB7 700 0 100 L 30 30 0 1 P +X ~ DB6 700 -100 100 L 30 30 0 1 P +X ~ DB5 700 -200 100 L 30 30 0 1 P +X ~ DB4 700 -300 100 L 30 30 0 1 P +X ~ DB3 700 -400 100 L 30 30 0 1 P +X ~ DB2 700 -500 100 L 30 30 0 1 P +X ~ DB1 700 -600 100 L 30 30 0 1 P +X ~ DB0 700 -700 100 L 30 30 0 1 P +X ~ DPWR 300 200 100 D 30 30 0 1 P +X ~ DGND 300 -1000 100 U 30 30 0 1 P +X ~ GND 400 -1000 100 U 30 30 0 1 P +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ CNVRT 0 -200 100 R 30 30 0 1 P +X ~ STAT 0 -400 100 R 30 30 0 1 P +X ~ OVER 0 -600 100 R 30 30 0 1 P +X ~ REF 0 -800 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Bbreak_PSPICE +# +DEF Bbreak_PSPICE B 0 30 Y Y 1 F N +F0 "B" 0 0 30 H V L CNN +F1 "Bbreak_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 200 0 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 130 200 -130 N +P 2 0 1 0 200 100 300 100 N +X ~ d 300 200 100 D 30 30 0 1 P +X ~ s 300 -200 100 U 30 30 0 1 P +X ~ g 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Cbreak_PSPICE +# +DEF Cbreak_PSPICE C 0 30 Y Y 1 F N +F0 "C" 0 0 30 H V L CNN +F1 "Cbreak_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 130 0 N +P 2 0 1 0 130 50 130 -50 N +P 2 0 1 0 170 50 170 -50 N +P 2 0 1 0 170 0 200 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DAC10break_PSPICE +# +DEF DAC10break_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "DAC10break_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1100 0 1 0 N +X ~ DB7 0 -200 100 R 30 30 0 1 P +X ~ DB6 0 -300 100 R 30 30 0 1 P +X ~ DB5 0 -400 100 R 30 30 0 1 P +X ~ DB4 0 -500 100 R 30 30 0 1 P +X ~ DB3 0 -600 100 R 30 30 0 1 P +X ~ DB2 0 -700 100 R 30 30 0 1 P +X ~ DB1 0 -800 100 R 30 30 0 1 P +X ~ DB0 0 -900 100 R 30 30 0 1 P +X ~ DPWR 300 200 100 D 30 30 0 1 P +X ~ DGND 300 -1200 100 U 30 30 0 1 P +X ~ GND 400 -1200 100 U 30 30 0 1 P +X ~ OUT 700 -300 100 L 30 30 0 1 P +X ~ REF 700 -600 100 L 30 30 0 1 P +X ~ DB8 0 -100 100 R 30 30 0 1 P +X ~ DB9 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DAC12break_PSPICE +# +DEF DAC12break_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "DAC12break_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1300 0 1 0 N +X ~ DB7 0 -400 100 R 30 30 0 1 P +X ~ DB6 0 -500 100 R 30 30 0 1 P +X ~ DB5 0 -600 100 R 30 30 0 1 P +X ~ DB4 0 -700 100 R 30 30 0 1 P +X ~ DB3 0 -800 100 R 30 30 0 1 P +X ~ DB2 0 -900 100 R 30 30 0 1 P +X ~ DB1 0 -1000 100 R 30 30 0 1 P +X ~ DB0 0 -1100 100 R 30 30 0 1 P +X ~ DPWR 300 200 100 D 30 30 0 1 P +X ~ DGND 300 -1400 100 U 30 30 0 1 P +X ~ GND 400 -1400 100 U 30 30 0 1 P +X ~ OUT 700 -300 100 L 30 30 0 1 P +X ~ REF 700 -600 100 L 30 30 0 1 P +X ~ DB8 0 -300 100 R 30 30 0 1 P +X ~ DB9 0 -200 100 R 30 30 0 1 P +X ~ DB10 0 -100 100 R 30 30 0 1 P +X ~ DB11 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DAC8break_PSPICE +# +DEF DAC8break_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "DAC8break_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -900 0 1 0 N +X ~ DB7 0 0 100 R 30 30 0 1 P +X ~ DB6 0 -100 100 R 30 30 0 1 P +X ~ DB5 0 -200 100 R 30 30 0 1 P +X ~ DB4 0 -300 100 R 30 30 0 1 P +X ~ DB3 0 -400 100 R 30 30 0 1 P +X ~ DB2 0 -500 100 R 30 30 0 1 P +X ~ DB1 0 -600 100 R 30 30 0 1 P +X ~ DB0 0 -700 100 R 30 30 0 1 P +X ~ DPWR 300 200 100 D 30 30 0 1 P +X ~ DGND 300 -1000 100 U 30 30 0 1 P +X ~ GND 400 -1000 100 U 30 30 0 1 P +X ~ OUT 700 -300 100 L 30 30 0 1 P +X ~ REF 700 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Dbreak_PSPICE +# +DEF Dbreak_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "Dbreak_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 50 200 -50 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 0 120 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Dbreak3_PSPICE +# +DEF Dbreak3_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "Dbreak3_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 50 200 -50 N +P 2 0 1 0 200 -150 200 -250 N +P 2 0 1 0 200 -200 300 -200 N +P 2 0 1 0 300 -200 300 0 N +P 2 0 1 0 300 0 200 0 N +P 2 0 1 0 100 0 120 0 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 -200 120 -200 N +P 4 0 1 0 120 -150 120 -250 200 -200 120 -150 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -200 100 R 30 30 0 1 P +X ~ 3 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DbreakCR_PSPICE +# +DEF DbreakCR_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "DbreakCR_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 180 50 220 50 N +P 2 0 1 0 180 -50 220 -50 N +P 2 0 1 0 200 50 200 -50 N +P 2 0 1 0 100 0 120 0 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DbreakVV_PSPICE +# +DEF DbreakVV_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "DbreakVV_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 50 200 -50 N +P 2 0 1 0 100 0 120 0 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +A 270 0 50 1269 2330 0 1 0 N 240 40 239 -39 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DbreakZ_PSPICE +# +DEF DbreakZ_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "DbreakZ_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 170 70 200 50 N +P 2 0 1 0 200 -50 230 -70 N +P 2 0 1 0 200 50 200 -50 N +P 2 0 1 0 100 0 120 0 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# JbreakN_PSPICE +# +DEF JbreakN_PSPICE J 0 30 Y Y 1 F N +F0 "J" 0 0 30 H V L CNN +F1 "JbreakN_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 200 0 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 130 200 -130 N +P 2 0 1 0 200 100 300 100 N +P 3 0 1 0 110 20 170 0 110 -20 N +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ G 0 0 100 R 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# JbreakP_PSPICE +# +DEF JbreakP_PSPICE J 0 30 Y Y 1 F N +F0 "J" 0 0 30 H V L CNN +F1 "JbreakP_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 200 0 N +P 2 0 1 0 200 130 200 -130 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 -100 300 -100 N +P 3 0 1 0 170 -20 110 0 170 20 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# kbreak_PSPICE +# +DEF kbreak_PSPICE K 0 30 Y Y 1 F N +F0 "K" 0 0 30 H V L CNN +F1 "kbreak_PSPICE" 0 60 30 H V L CNN +DRAW +S 0 100 100 0 0 1 0 N +ENDDRAW +ENDDEF +# +# Lbreak_PSPICE +# +DEF Lbreak_PSPICE L 0 30 Y Y 1 F N +F0 "L" 0 0 30 H V L CNN +F1 "Lbreak_PSPICE" 0 60 30 H V L CNN +DRAW +A 150 0 50 1 1799 0 1 0 N 200 0 100 0 +A 250 0 50 1 1799 0 1 0 N 300 0 200 0 +A 350 0 50 1 1799 0 1 0 N 400 0 300 0 +A 450 0 50 1 1799 0 1 0 N 500 0 400 0 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakN_PSPICE +# +DEF MbreakN_PSPICE M 0 30 Y Y 1 F N +F0 "M" 0 0 30 H V L CNN +F1 "MbreakN_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 400 0 N +P 2 0 1 0 400 0 400 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 290 -20 230 0 290 20 N +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ G 0 0 100 R 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +X ~ b 400 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakN3_PSPICE +# +DEF MbreakN3_PSPICE M 0 30 Y Y 1 F N +F0 "M" 0 0 30 H V L CNN +F1 "MbreakN3_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 290 -20 230 0 290 20 N +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ G 0 0 100 R 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakN3D_PSPICE +# +DEF MbreakN3D_PSPICE M 0 30 Y Y 1 F N +F0 "M" 0 0 30 H V L CNN +F1 "MbreakN3D_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 300 0 300 -100 N +P 3 0 1 0 290 -20 230 0 290 20 N +P 2 0 1 0 200 130 200 -130 N +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ G 0 0 100 R 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakN4_PSPICE +# +DEF MbreakN4_PSPICE M 0 30 Y Y 1 F N +F0 "M" 0 0 30 H V L CNN +F1 "MbreakN4_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 400 0 N +P 2 0 1 0 400 0 400 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 290 -20 230 0 290 20 N +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ G 0 0 100 R 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +X ~ b 400 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakN4D_PSPICE +# +DEF MbreakN4D_PSPICE M 0 30 Y Y 1 F N +F0 "M" 0 0 30 H V L CNN +F1 "MbreakN4D_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 400 0 N +P 2 0 1 0 400 0 400 -100 N +P 3 0 1 0 290 -20 230 0 290 20 N +P 2 0 1 0 200 130 200 -130 N +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ G 0 0 100 R 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +X ~ b 400 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakP_PSPICE +# +DEF MbreakP_PSPICE M 0 30 Y Y 1 F N +F0 "M" 0 0 30 H V L CNN +F1 "MbreakP_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 400 0 N +P 2 0 1 0 400 0 400 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 230 20 290 0 230 -20 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +X ~ b 400 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakP3_PSPICE +# +DEF MbreakP3_PSPICE M 0 30 Y Y 1 F N +F0 "M" 0 0 30 H V L CNN +F1 "MbreakP3_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 230 20 290 0 230 -20 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakP3D_PSPICE +# +DEF MbreakP3D_PSPICE M 0 30 Y Y 1 F N +F0 "M" 0 0 30 H V L CNN +F1 "MbreakP3D_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 300 0 300 -100 N +P 3 0 1 0 230 20 290 0 230 -20 N +P 2 0 1 0 200 130 200 -130 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakP4_PSPICE +# +DEF MbreakP4_PSPICE M 0 30 Y Y 1 F N +F0 "M" 0 0 30 H V L CNN +F1 "MbreakP4_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 400 0 N +P 2 0 1 0 400 0 400 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 230 20 290 0 230 -20 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +X ~ b 400 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakP4D_PSPICE +# +DEF MbreakP4D_PSPICE M 0 30 Y Y 1 F N +F0 "M" 0 0 30 H V L CNN +F1 "MbreakP4D_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 400 0 N +P 2 0 1 0 400 0 400 -100 N +P 3 0 1 0 230 20 290 0 230 -20 N +P 2 0 1 0 200 130 200 -130 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +X ~ b 400 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# POT_PSPICE +# +DEF POT_PSPICE R 0 30 Y Y 1 F N +F0 "R" 0 0 30 H V L CNN +F1 "POT_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 220 -40 250 40 N +P 2 0 1 0 130 40 160 -40 N +P 2 0 1 0 160 -40 190 40 N +P 2 0 1 0 190 40 220 -40 N +P 2 0 1 0 250 40 280 -40 N +P 2 0 1 0 110 0 130 40 N +P 2 0 1 0 280 -40 300 0 N +P 2 0 1 0 200 -40 190 -100 N +P 2 0 1 0 210 -100 200 -40 N +P 2 0 1 0 190 -100 210 -100 N +P 2 0 1 0 210 -100 210 -100 N +P 2 0 1 0 100 0 110 0 N +P 2 0 1 0 200 -40 200 -40 N +P 2 0 1 0 200 -100 200 -40 N +P 2 0 1 0 200 -40 200 -40 N +P 2 0 1 0 190 -100 190 -100 N +X ~ 2 400 0 100 L 30 30 0 1 P +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ t 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QbreakL_PSPICE +# +DEF QbreakL_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "QbreakL_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 100 200 -100 N +P 2 0 1 0 300 100 200 50 N +P 2 0 1 0 100 0 200 0 N +P 2 0 1 0 300 -100 300 -200 N +P 2 0 1 0 200 -50 300 -100 N +P 3 0 1 0 290 -70 220 -60 270 -110 N +P 4 0 1 0 100 -70 70 -120 130 -120 100 -70 N +P 2 0 1 0 100 -200 100 -120 N +P 2 0 1 0 70 -70 130 -70 N +P 2 0 1 0 100 -70 100 0 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 300 200 100 D 30 30 0 1 P +X ~ 1 300 -300 100 U 30 30 0 1 P +X ~ s 100 -300 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QbreakN_PSPICE +# +DEF QbreakN_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "QbreakN_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QbreakN3_PSPICE +# +DEF QbreakN3_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "QbreakN3_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +P 2 0 1 0 200 100 100 50 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QbreakN4_PSPICE +# +DEF QbreakN4_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "QbreakN4_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +P 2 0 1 0 200 100 100 50 N +P 4 0 1 0 300 30 270 -20 330 -20 300 30 N +P 2 0 1 0 300 -100 300 -20 N +P 2 0 1 0 270 30 330 30 N +P 2 0 1 0 300 30 300 100 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +X ~ s 300 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QbreakP_PSPICE +# +DEF QbreakP_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "QbreakP_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 100 -50 200 -100 N +P 3 0 1 0 190 -70 120 -60 170 -110 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QbreakP3_PSPICE +# +DEF QbreakP3_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "QbreakP3_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 100 -50 200 -100 N +P 3 0 1 0 190 -70 120 -60 170 -110 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QbreakP4_PSPICE +# +DEF QbreakP4_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "QbreakP4_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 100 -50 200 -100 N +P 3 0 1 0 190 -70 120 -60 170 -110 N +P 4 0 1 0 300 -30 330 20 270 20 300 -30 N +P 2 0 1 0 300 100 300 20 N +P 2 0 1 0 330 -30 270 -30 N +P 2 0 1 0 300 -30 300 -100 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +X ~ s 300 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QDarBreakN_PSPICE +# +DEF QDarBreakN_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "QDarBreakN_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 400 0 300 -50 N +P 2 0 1 0 400 -200 300 -150 N +P 3 0 1 0 310 -180 380 -190 330 -140 N +P 2 0 1 0 300 0 300 -200 N +P 2 0 1 0 200 -100 300 -100 N +P 3 0 1 0 200 100 400 100 400 0 N +X ~ b 0 0 100 R 30 30 0 1 P +X ~ c 400 200 100 D 30 30 0 1 P +X ~ e 400 -300 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QDarBreakP_PSPICE +# +DEF QDarBreakP_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "QDarBreakP_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 -100 300 -100 N +P 3 0 1 0 200 100 400 100 400 0 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 100 -50 200 -100 N +P 3 0 1 0 190 -70 120 -60 170 -110 N +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 400 0 300 -50 N +P 2 0 1 0 300 -150 400 -200 N +P 3 0 1 0 390 -170 320 -160 370 -210 N +P 2 0 1 0 300 0 300 -200 N +X ~ b 0 0 100 R 30 30 0 1 P +X ~ c 400 200 100 D 30 30 0 1 P +X ~ e 400 -300 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# RAM8Kx1break_PSPICE +# +DEF RAM8Kx1break_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "RAM8Kx1break_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -2100 0 1 0 N +X ~ A0 0 0 100 R 30 30 0 1 I +X ~ A1 0 -100 100 R 30 30 0 1 I +X ~ A2 0 -200 100 R 30 30 0 1 I +X ~ A3 0 -300 100 R 30 30 0 1 I +X ~ A4 0 -400 100 R 30 30 0 1 I +X ~ A5 0 -500 100 R 30 30 0 1 I +X ~ A6 0 -600 100 R 30 30 0 1 I +X ~ A7 0 -700 100 R 30 30 0 1 I +X ~ A8 0 -800 100 R 30 30 0 1 I +X ~ A9 0 -900 100 R 30 30 0 1 I +X ~ A10 0 -1000 100 R 30 30 0 1 I +X ~ A11 0 -1100 100 R 30 30 0 1 I +X ~ A12 0 -1200 100 R 30 30 0 1 I +X ~ RE 0 -1900 100 R 30 30 0 1 I +X ~ WE 0 -2000 100 R 30 30 0 1 I +X ~ VCC 400 200 100 D 30 30 0 1 W +X ~ GND 300 -2200 100 U 30 30 0 1 W +X ~ D_OUT 700 -900 100 L 30 30 0 1 P +X ~ A13 0 -1300 100 R 30 30 0 1 P +X ~ A14 0 -1400 100 R 30 30 0 1 P +X ~ A15 0 -1500 100 R 30 30 0 1 P +X ~ D_IN 0 -1700 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# RAM8Kx8break_PSPICE +# +DEF RAM8Kx8break_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "RAM8Kx8break_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1700 0 1 0 N +X ~ A0 0 0 100 R 30 30 0 1 I +X ~ A1 0 -100 100 R 30 30 0 1 I +X ~ A2 0 -200 100 R 30 30 0 1 I +X ~ A3 0 -300 100 R 30 30 0 1 I +X ~ A4 0 -400 100 R 30 30 0 1 I +X ~ A5 0 -500 100 R 30 30 0 1 I +X ~ A6 0 -600 100 R 30 30 0 1 I +X ~ A7 0 -700 100 R 30 30 0 1 I +X ~ A8 0 -800 100 R 30 30 0 1 I +X ~ A9 0 -900 100 R 30 30 0 1 I +X ~ A10 0 -1000 100 R 30 30 0 1 I +X ~ A11 0 -1100 100 R 30 30 0 1 I +X ~ A12 0 -1200 100 R 30 30 0 1 I +X ~ RE 0 -1500 100 R 30 30 0 1 I +X ~ WE 0 -1600 100 R 30 30 0 1 I +X ~ R7 700 0 100 L 30 30 0 1 B +X ~ R6 700 -100 100 L 30 30 0 1 B +X ~ R5 700 -200 100 L 30 30 0 1 B +X ~ R4 700 -300 100 L 30 30 0 1 B +X ~ R3 700 -400 100 L 30 30 0 1 B +X ~ R2 700 -500 100 L 30 30 0 1 B +X ~ R1 700 -600 100 L 30 30 0 1 B +X ~ R0 700 -700 100 L 30 30 0 1 B +X ~ VCC 400 200 100 D 30 30 0 1 W +X ~ GND 300 -1800 100 U 30 30 0 1 W +X ~ W0 700 -1600 100 L 30 30 0 1 P +X ~ W1 700 -1500 100 L 30 30 0 1 P +X ~ W2 700 -1400 100 L 30 30 0 1 P +X ~ W3 700 -1300 100 L 30 30 0 1 P +X ~ W4 700 -1200 100 L 30 30 0 1 P +X ~ W5 700 -1100 100 L 30 30 0 1 P +X ~ W6 700 -1000 100 L 30 30 0 1 P +X ~ W7 700 -900 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Rbreak_PSPICE +# +DEF Rbreak_PSPICE R 0 30 Y Y 1 F N +F0 "R" 0 0 30 H V L CNN +F1 "Rbreak_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 110 0 N +P 2 0 1 0 110 0 130 40 N +P 2 0 1 0 130 40 160 -40 N +P 2 0 1 0 160 -40 190 40 N +P 2 0 1 0 190 40 220 -40 N +P 2 0 1 0 220 -40 250 40 N +P 2 0 1 0 250 40 280 -40 N +P 2 0 1 0 280 -40 300 0 N +X ~ 2 400 0 100 L 30 30 0 1 P +X ~ 1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ROM32KX8break_PSPICE +# +DEF ROM32KX8break_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "ROM32KX8break_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1800 0 1 0 N +X ~ A0 0 0 100 R 30 30 0 1 I +X ~ A1 0 -100 100 R 30 30 0 1 I +X ~ A2 0 -200 100 R 30 30 0 1 I +X ~ A3 0 -300 100 R 30 30 0 1 I +X ~ A4 0 -400 100 R 30 30 0 1 I +X ~ A5 0 -500 100 R 30 30 0 1 I +X ~ A6 0 -600 100 R 30 30 0 1 I +X ~ A7 0 -700 100 R 30 30 0 1 I +X ~ A8 0 -800 100 R 30 30 0 1 I +X ~ A9 0 -900 100 R 30 30 0 1 I +X ~ A10 0 -1000 100 R 30 30 0 1 I +X ~ A11 0 -1100 100 R 30 30 0 1 I +X ~ A12 0 -1200 100 R 30 30 0 1 I +X ~ A13 0 -1300 100 R 30 30 0 1 I +X ~ A14 0 -1400 100 R 30 30 0 1 I +X ~ \OE\ 0 -1600 100 R 30 30 0 1 I +X ~ O0 700 -400 100 L 30 30 0 1 O +X ~ O1 700 -500 100 L 30 30 0 1 O +X ~ O2 700 -600 100 L 30 30 0 1 O +X ~ O3 700 -700 100 L 30 30 0 1 O +X ~ O4 700 -800 100 L 30 30 0 1 O +X ~ O5 700 -900 100 L 30 30 0 1 O +X ~ O6 700 -1000 100 L 30 30 0 1 O +X ~ O7 700 -1100 100 L 30 30 0 1 O +X ~ VCC 400 200 100 D 30 30 0 1 W +X ~ GND 400 -1900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# Sbreak_PSPICE +# +DEF Sbreak_PSPICE S 0 30 Y Y 1 F N +F0 "S" 0 0 30 H V L CNN +F1 "Sbreak_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 250 -100 200 -20 N +P 2 0 1 0 250 0 300 0 N +P 2 0 1 0 300 -100 250 -100 N +S 100 50 300 -150 0 1 0 N +T 0 120 -20 30 0 0 0 + +T 0 120 -120 30 0 0 0 - +T 0 240 0 30 0 0 0 + +T 0 240 -140 30 0 0 0 - +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -100 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Wbreak_PSPICE +# +DEF Wbreak_PSPICE W 0 30 Y Y 1 F N +F0 "W" 0 0 30 H V L CNN +F1 "Wbreak_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 250 -100 200 -20 N +P 3 0 1 0 120 -30 140 -80 160 -30 N +P 2 0 1 0 250 0 300 0 N +P 2 0 1 0 300 -100 250 -100 N +P 2 0 1 0 140 0 140 -100 N +P 2 0 1 0 100 0 140 0 N +P 2 0 1 0 100 -100 140 -100 N +S 100 50 300 -150 0 1 0 N +T 0 240 0 30 0 0 0 + +T 0 240 -140 30 0 0 0 - +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -100 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# XFRM_NONLINEAR_PSPICE +# +DEF XFRM_NONLINEAR_PSPICE TX 0 30 Y Y 1 F N +F0 "TX" 0 0 30 H V L CNN +F1 "XFRM_NONLINEAR_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 100 -100 N +P 2 0 1 0 100 -500 100 -600 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 300 -500 300 -600 N +P 2 0 1 0 220 -100 220 -500 N +P 2 0 1 0 220 -500 220 -500 N +P 2 0 1 0 180 -100 180 -500 N +P 2 0 1 0 180 -500 180 -500 N +A 100 -450 50 -899 899 0 1 0 N 100 -500 100 -400 +A 100 -350 50 -899 899 0 1 0 N 100 -400 100 -300 +A 100 -250 50 -899 899 0 1 0 N 100 -300 100 -200 +A 100 -150 50 -899 899 0 1 0 N 100 -200 100 -100 +A 300 -150 50 901 2699 0 1 0 N 300 -100 300 -200 +A 300 -250 50 901 2699 0 1 0 N 300 -200 300 -300 +A 300 -350 50 901 2699 0 1 0 N 300 -300 300 -400 +A 300 -450 50 901 2699 0 1 0 N 300 -400 300 -500 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -600 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ZbreakN_PSPICE +# +DEF ZbreakN_PSPICE Z 0 30 Y Y 1 F N +F0 "Z" 0 0 30 H V L CNN +F1 "ZbreakN_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 200 200 0 N +P 2 0 1 0 170 200 170 0 N +P 2 0 1 0 100 0 170 0 N +P 2 0 1 0 300 200 200 150 N +P 2 0 1 0 200 50 300 0 N +P 3 0 1 0 210 20 280 10 230 60 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ C 300 300 100 D 30 30 0 1 P +X ~ E 300 -100 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/src/converter/schematic_converters/lib/PythonLib/component.py b/src/converter/schematic_converters/lib/PythonLib/component.py new file mode 100644 index 00000000..8654f836 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/component.py @@ -0,0 +1,169 @@ +#The MIT License (MIT) + +#PSpice to Oscad Schematic Converter +#This code is written by Suryavamshi Tenneti, FOSSEE, IIT Bombay +#The code is modified by Sumanto Kar and Gloria Nandihal, FOSSEE, IIT Bombay + + +from header import * +from attribute import * +from design import * +from misc import * + +class Pin: + #position of pin and length of the pin.Pin constructor reading values from corresponding component's pspice library + x = 0 + y = 0 + length = 0 + #pin_number is the pin number and elec_type is the electrical type + n = '' + elec_type = '' + #to store the orientation of pin + orientation = '' + found = 0 + tmp = 0 + x1 = 0 + x2 = 0 + y1 = 0 + y2 = 0 + + def __init__(self, input_stream = None): + line = '' + temp ='' + inline = input_stream.readline().split() + #print(inline) + t,self.tmp,self.x1,self.y1,temp,temp,self.n,temp,self.x2,self.y2,self.orientation = inline + self.x = int(self.x2)*MULT #x co-ordinate of the pin + self.y = int(self.y2)*(-1)*MULT #y co-ordinate of the pin + self.length = 10*MULT #calculating pin length from points of pins + #line = input_stream.readline() + g = input_stream.tell() + line = input_stream.readline() + while(line[0] == 'a'): #Read the attributes of the pins. lines starting from 'a' stores the attributes + attr = Attribute(line) #called the attribute constructor to store the attributes + if attr.name == 'ERC' or attr.name == 'erc': #if the attribute name is 'ERC' or 'erc' its value is the electrical type of the pin + self.elec_type = attr.value + g = input_stream.tell() + line = input_stream.readline() + input_stream.seek(g) + + def print(self, output_stream, shiftx, shifty): #converting the annotation to KiCad format as different letters are use in PSpice and KiCad libraries + output_stream.write("X"+" "+"~ "+str(self.n)+" "+str(self.x-shiftx)+" "+str(self.y-((-1)*shifty))+" "+str(self.length)+" ") + if self.orientation == 'h': + output_stream.write('R') # If Pspice orientation is h, then map it to Right direction + elif self.orientation == 'u': + output_stream.write('L') #If Pspice orientation is u, then map it to Left direction + elif self.orientation == 'v': + output_stream.write('U') #If Pspice orientation is v, then map it to Up direction + elif self.orientation == 'd': + output_stream.write('D') #If Pspice orientation is d, then map it to Down direction + + output_stream.write(' 30 30 0 1 ') # Mapping electrical tupe of PSpice component to KiCad component + + if self.elec_type == 'i': + output_stream.write('I\n') #If Pspice electrical type is i, then map it to Input + elif self.elec_type == 'o': + output_stream.write('O\n') #If Pspice electrical type is o, then map it to Output + elif self.elec_type == 'p': + output_stream.write('W\n') #If Pspice electrical type is p, then map it to Tristate + elif self.elec_type == 'x': + output_stream.write('P\n') #If Pspice electrical type is x, then map it to Passive + elif self.elec_type == 'b': + output_stream.write('B\n') #If Pspice electrical type is b, then map it to Bidirectional + else: + output_stream.write('P\n') #else map it to Passive + + + +class Component: #Component class method makePins to design pins + #default Component class constructor + type_ = '' + ref = '' + value = '' + pins = [] + des = None + def __init__(self, input_stream = None, t = ''): + self.pins = [] + self.type_ = t + if(input_stream != None): + g = input_stream.tell() #To get to the starting point of the component's type in pspice library file + line = '' + '''while(('*symbol '+t) not in line): + input_stream.seek(g) + line = input_stream.readline().strip() + g = input_stream.tell() + ''' + line = skipTo(input_stream, ('*symbol '+t)) + #print('Component Line->', line) + ''' input_stream.seek(g) + g = input_stream.tell() + print('Search t',line[line.rfind(' ')+1:]) + ''' + while(line != '' and line.find('ako')!= -1): + #print('in finding ako') + a = line.rfind(' ')+1 + t = line[a:] + input_stream.seek(g) + '''while(('*symbol '+t) not in line): + line = input_stream.readline().strip() + print('Searching ako ref',line)''' + line = skipTo(input_stream, ('*symbol '+t)) #To get the pspice library of the components having its description written elsewhere + #print('In component constructor') + line = input_stream.readline().strip() + '''while('@attributes' not in line): + line = input_stream.readline().strip()''' + skipTo(input_stream, '@attributes') #creating attributes by calling its constructor + g = input_stream.tell() + line = input_stream.readline().strip() #assigning attributes of PKGREF to the component + while(line[0] == 'a'): + attr = Attribute(line) + if attr.name == 'REFDES' or attr.name == 'refdes': + self.ref = attr.value[:-1] + if attr.name == 'VALUE' or attr.name == 'DC' or attr.name == 'GAIN' or attr.name == 'COEFF' or attr.name == 'VPOS' or attr.name == 'VNEG': + self.value = attr.value #assigning attributes of above cases to the component + g = input_stream.tell() + line = input_stream.readline().strip() + input_stream.seek(g) + ''' + line = input_stream.readline().strip() + + while('@pins' not in line): + line = input_stream.readline().strip() + ''' + skipTo(input_stream, '@pins') #to get to the starting point of the pins of the type required + self.makePins(input_stream) #calling makepins function to create pins + + g = input_stream.tell() + line = input_stream.readline().strip() + while('@graphics' not in line): + input_stream.seek(g) + #print('***',line) + g = input_stream.tell() + line = input_stream.readline().strip() + input_stream.seek(g) + d = Design(input_stream) #calling Design constructor to create design + self.des = d + #print('Before fixComp',self.type_, 'ref=', self.ref) + + def makePins(self,input_stream): + #print('making pins') + line = '' + g = input_stream.tell() + line = input_stream.readline().strip() + while(line[0] == 'p'): #Read the pins line from pspice library + input_stream.seek(g) + p = Pin(input_stream) #call the Pin constructor to get the values and pass the library as the parameter + self.pins.append(p) + g = input_stream.tell() #move to the next line to get next 'p' line + line = input_stream.readline().strip() + input_stream.seek(g) + + def print(self, output_stream): #print function of class Pin to print the pins in output's cache lib file + output_stream.write('#\n# '+self.type_+'\n#\nDEF '+self.type_+' '+self.ref+' 0 30 Y Y 1 F N'+'\n')#upto DEF line printed + output_stream.write('F0 \"'+self.ref+"\" 0 0 30 H V L CNN"+'\n') #F0 line + output_stream.write('F1 \"'+self.type_+'\" 0 60 30 H V L CNN'+'\n') #F1 line + output_stream.write('DRAW\n') #calling print funcition of design to print design of components + self.des.print(output_stream) + for i in range(len(self.pins)): + self.pins[i].print(output_stream, self.des.shiftx, self.des.shifty) #calling print function of pins class to print pins + output_stream.write('ENDDRAW\n'+'ENDDEF\n') diff --git a/src/converter/schematic_converters/lib/PythonLib/component_instance.py b/src/converter/schematic_converters/lib/PythonLib/component_instance.py new file mode 100644 index 00000000..661cd04e --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/component_instance.py @@ -0,0 +1,216 @@ +#The MIT License (MIT) + +#PSpice to Oscad Schematic Converter +#This code is written by Suryavamshi Tenneti, FOSSEE, IIT Bombay +#The code is modified by Sumanto Kar and Gloria Nandihal, FOSSEE, IIT Bombay + + + + +from attribute import * +from random import randint +from header import * +import sys +import copy + +class ComponentInstance: + x = 0 + y = 0 + type_ = '' + orient = '' + attrs = [] + + def __init__(self, input_stream): + self.attrs = [Attribute() for _ in range(2)] + tmp = '' + compnum = 0 + x0 = 0 + y0 = 0 + line = input_stream.readline().strip().split() + #print(line) + tmp,compnum,self.type_,x0,y0,self.orient = line + x0 = int(x0) + y0 = int(y0) + self.x = x0 * MULT + self.y = y0 * MULT + #input_stream.readline() + g = input_stream.tell() + #print('type ->',self.type_) + line = input_stream.readline().strip() +#if the above cases like VALUE, DC, GAIN doesn 't exist then giving attributes of PKGREF to it# + #print('component instance',line) + input_stream.seek(g) + while(line[0] == 'a'): + #print('compinst',line) + attr = Attribute(line) + #print('compinst->attr.name',attr.name) + if attr.name == 'PKGREF': + #print('yes attr[0]') + self.attrs[0] = attr + if attr.name == 'VALUE' or attr.name == 'DC' or attr.name == 'GAIN': + #print('yes attr[1]') + self.attrs[1] = attr + g = input_stream.tell() + line = input_stream.readline().strip() + input_stream.seek(g) + #print('attrs[0].value-> '+self.attrs[0].value,'attrs[1].name-> '+self.attrs[1].value) + if self.attrs[0].name == '': + #print('null attr[0]') + self.attrs[0].name = 'PKGREF' + self.attrs[0].value = self.type_ + self.attrs[0].orient = 'h' + self.attrs[0].x = self.x + self.attrs[0].y = self.y + self.attrs[0].isHidden = True + self.attrs[0].hjust = 'l' + self.attrs[0].vjust = 'n' + + if self.attrs[1].name == '': + #print('null attr[1]') + self.attrs[1] = copy.copy(self.attrs[0]) + + self.attrs[1].value = self.type_ + #print(self.attrs[1].value) + self.attrs[1].y+=80 + + self.attrs[0].x+= self.x + self.attrs[1].x+= self.x + self.attrs[0].y+= self.y + self.attrs[1].y+= self.y + #print('component initiated', self.attrs[0].value) + + #print all the components in output schematic file as per KiCad format + def print(self, output_stream): + output_stream.write('$Comp\n'+'L '+self.type_+' '+self.attrs[0].value+'\n') + output_stream.write('U 1 1 '+str(randint(0, sys.maxsize+1)%90000000+10000000)+'\n') + output_stream.write('P '+str(self.x)+' '+str(self.y)+'\n') #printing the postion of component + output_stream.write('F 0')# upto F0 printed + self.attrs[0].print(output_stream)# print the attributes by calling attributes print + output_stream.write('F 1')# upto F1 printed + self.attrs[1].print(output_stream)# print the attributes by calling attributes print + output_stream.write('\t1 '+str(self.x)+' '+str(self.y)+'\n')# printing the postions of the component again + if self.orient == 'v': + output_stream.write('\t0 -1 -1 0\n')# rotation matrix corresponding to KiCad + if self.orient == 'V': + output_stream.write('\t0 1 -1 0\n')# rotation matrix corresponding to KiCad + if self.orient == 'h': + output_stream.write('\t1 0 0 -1\n') + if self.orient == 'H': + output_stream.write('\t-1 0 0 -1\n') + if self.orient == 'u': + output_stream.write('\t-1 0 0 1\n') + if self.orient == 'U': + output_stream.write('\t1 0 0 1\n') + if self.orient == 'd': + output_stream.write('\t0 1 1 0\n') + if self.orient == 'D': + output_stream.write('\t0 -1 1 0\n') + + output_stream.write('$EndComp\n')#The MIT License (MIT) + +#PSpice to Oscad Schematic Converter +#Copyright (c) 2014, Siddhant Ranade,Ashlesha Atrey and Suryavamshi Tenneti, FOSSEE, IIT Bombay +#The code is modified by Sumanto Kar and Gloria Nandihal + + + +from attribute import * +from random import randint +from header import * +import sys +import copy + +class ComponentInstance: + x = 0 + y = 0 + type_ = '' + orient = '' + attrs = [] + + def __init__(self, input_stream): + self.attrs = [Attribute() for _ in range(2)] + tmp = '' + compnum = 0 + x0 = 0 + y0 = 0 + line = input_stream.readline().strip().split() + #print(line) + tmp,compnum,self.type_,x0,y0,self.orient = line + x0 = int(x0) + y0 = int(y0) + self.x = x0 * MULT + self.y = y0 * MULT + #input_stream.readline() + g = input_stream.tell() + #print('type ->',self.type_) + line = input_stream.readline().strip() +#if the above cases like VALUE, DC, GAIN doesn 't exist then giving attributes of PKGREF to it# + #print('component instance',line) + input_stream.seek(g) + while(line[0] == 'a'): + #print('compinst',line) + attr = Attribute(line) + #print('compinst->attr.name',attr.name) + if attr.name == 'PKGREF': + #print('yes attr[0]') + self.attrs[0] = attr + if attr.name == 'VALUE' or attr.name == 'DC' or attr.name == 'GAIN': + #print('yes attr[1]') + self.attrs[1] = attr + g = input_stream.tell() + line = input_stream.readline().strip() + input_stream.seek(g) + #print('attrs[0].value-> '+self.attrs[0].value,'attrs[1].name-> '+self.attrs[1].value) + if self.attrs[0].name == '': + #print('null attr[0]') + self.attrs[0].name = 'PKGREF' + self.attrs[0].value = self.type_ + self.attrs[0].orient = 'h' + self.attrs[0].x = self.x + self.attrs[0].y = self.y + self.attrs[0].isHidden = True + self.attrs[0].hjust = 'l' + self.attrs[0].vjust = 'n' + + if self.attrs[1].name == '': + #print('null attr[1]') + self.attrs[1] = copy.copy(self.attrs[0]) + + self.attrs[1].value = self.type_ + #print(self.attrs[1].value) + self.attrs[1].y+=80 + + self.attrs[0].x+= self.x + self.attrs[1].x+= self.x + self.attrs[0].y+= self.y + self.attrs[1].y+= self.y + #print('component initiated', self.attrs[0].value) + + #print all the components in output schematic file as per KiCad format + def print(self, output_stream): + output_stream.write('$Comp\n'+'L '+self.type_+' '+self.attrs[0].value+'\n') + output_stream.write('U 1 1 '+str(randint(0, sys.maxsize+1)%90000000+10000000)+'\n') + output_stream.write('P '+str(self.x)+' '+str(self.y)+'\n') #printing the postion of component + output_stream.write('F 0')# upto F0 printed + self.attrs[0].print(output_stream)# print the attributes by calling attributes print + output_stream.write('F 1')# upto F1 printed + self.attrs[1].print(output_stream)# print the attributes by calling attributes print + output_stream.write('\t1 '+str(self.x)+' '+str(self.y)+'\n')# printing the postions of the component again + if self.orient == 'v': + output_stream.write('\t0 -1 -1 0\n')# rotation matrix corresponding to KiCad + if self.orient == 'V': + output_stream.write('\t0 1 -1 0\n')# rotation matrix corresponding to KiCad + if self.orient == 'h': + output_stream.write('\t1 0 0 -1\n') + if self.orient == 'H': + output_stream.write('\t-1 0 0 -1\n') + if self.orient == 'u': + output_stream.write('\t-1 0 0 1\n') + if self.orient == 'U': + output_stream.write('\t1 0 0 1\n') + if self.orient == 'd': + output_stream.write('\t0 1 1 0\n') + if self.orient == 'D': + output_stream.write('\t0 -1 1 0\n') + + output_stream.write('$EndComp\n') diff --git a/src/converter/schematic_converters/lib/PythonLib/design.py b/src/converter/schematic_converters/lib/PythonLib/design.py new file mode 100644 index 00000000..75899869 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/design.py @@ -0,0 +1,354 @@ +#The MIT License (MIT) + +#PSpice to Oscad Schematic Converter +#This code is written by Suryavamshi Tenneti, FOSSEE, IIT Bombay +#The code is modified by Sumanto Kar and Gloria Nandihal, FOSSEE, IIT Bombay + + +from header import * +import math + + +# In the constructors of Line, Arc, Circle and Rectangle, the input parameters shiftx and shifty have already been scaled. +class Line: #Constructor of Line. + npoints = 0 + x = [] + y = [] + def __init__(self, input_stream, shiftx, shifty): #This gets called when the first character of a line is "v".This function assumes "v" and the next character(usually 0) have already been read and are NOT in the stream. + t = 0 + temp = input_stream.readline().strip() + self.npoints = 0 + self.x = [] + self.y = [] + while(temp!=';'): + #t = temp + #print('Line->',temp) + t = temp.split() + self.x.append(int(t[0])) + #t = input_stream.read(1) + self.y.append(int(t[1])) + #tmp = input_stream.readline().strip() .The first line, i.e.the one that contains the 'v' + temp = input_stream.readline().strip() + + self.x[self.npoints]*= MULT + self.y[self.npoints]*= -1*MULT + + self.x[self.npoints]-=shiftx + self.y[self.npoints]-= -1*shifty + + self.npoints+=1 + + if temp != ';': + print('Error! \";\" not found\n')# The last character in the description of a line is ";" + + + def print(self, output_stream): + output_stream.write('P '+str(self.npoints)+' 0 1 0 ') + for i in range(self.npoints): + output_stream.write(str(self.x[i])+' '+str(self.y[i])+' ') + output_stream.write('N\n') + +class Rectangle: ## Constructor of Rectangle. + x1 = 0 + y1 = 0 + x2 = 0 + y2 = 0 + def __init__(self, input_stream, shiftx, shifty): + input_line = input_stream.readline().strip() + #print('Rect->',input_line) + self.x1, self.y1,self.x2,self.y2 = input_line.split()[:4] # The line that contains the 'r' + + self.x1 = (int(self.x1) * MULT) - shiftx + self.x2 = (int(self.x2) * MULT) - shiftx + self.y1 = (int(self.y1) * -1 * MULT) - (-1*shifty) + self.y2 = (int(self.y2) * -1 * MULT) - (-1*shifty) + + def print(self, output_stream): + output_stream.write('S '+str(self.x1)+' '+str(self.y1)+' '+str(self.x2)+' '+str(self.y2)+' 0 1 0 N\n') + + +class Circle: # Constructor of Circle. + x = 0 + y = 0 + r = 0 + def __init__(self, input_stream, shiftx, shifty): + self.x, self.y, self.r = map(int,input_stream.readline().strip().split()) + #tmp = input_stream.readline().strip() + #print('Circle->','x=',self.x,'y=',self.y,'r=',self.r) + self.x*= MULT + self.x-= shiftx + self.y*=-1*MULT + self.y-=-1*shifty + self.r*= MULT + + def print(self, output_stream): + output_stream.write('C '+str(self.x)+' '+str(self.y)+' '+str(self.r)+' 0 1 0 N\n') + + +class Arc: # Constructor of Arc. + x = 0 + y = 0 + r = 0 + sa = 0 + ea = 0 + x1 = 0 + y1 = 0 + x2 = 0 + y2 = 0 ## See Line::Line(istream & in , int shiftx, int shifty) above.#From pspice library, get the 3 points that describe the arc. + + def __init__(self, input_stream, shiftx, shifty): # Midpoints of the arcs: + xA = 0.0 + yA = 0.0 + xB = 0.0 + yB = 0.0 + xC = 0.0 + yC = 0.0 + xmAB = 0 + xmBC = 0 + ymAB = 0 + ymBC = 0 + input_line = input_stream.readline().strip() + #print('Arc->',input_line) + xA,yA,xB,yB,xC,yC = map(float, input_line.split()) + #tmp = input_stream.readline().strip() + yA*= -1 + yB*= -1 + yC*= -1 + + xmAB = (xA+xB)/2 # The perpendicular bisectors of any two chords of a circle meet at the centre + ymAB = (yA+yB)/2 + xmBC = (xC+xB)/2 + ymBC = (yC+yB)/2 + + mperpAB = -(xB - xA)/(yB - yA)# Get x and y by solving the two lines(perpendicular bisectors) + mperpBC = -(xB - xC)/(yB - yC) + + try: + self.x = math.trunc((ymBC - ymAB - mperpBC * xmBC + mperpAB * xmAB)/(-mperpBC + mperpAB)) + except ZeroDivisionError: + self.x = float('inf') + try: + self.y = math.trunc((xmBC - xmAB + (ymAB/mperpAB) - (ymBC/mperpBC))/((1.0/mperpAB)-(1.0/mperpBC))) + except ZeroDivisionError: + if mperpBC == 0.0: + self.y = -float('inf') + else: + self.y = float('inf') + + + if not math.isinf(self.y) and not math.isinf(self.x) and not math.isnan(self.x) and not math.isnan(self.y): # Get the radius: + self.r = math.trunc(((self.x-xA) * (self.x-xA) + (self.y-yA) * (self.y-yA))**0.5) + else: + self.r = 0 + + a = math.atan2(yA-self.y, xA-self.x)/math.pi*10.0*180.0 # Following code is used to decide which among A and C is the starting point(and thus determines "sa") + b = math.atan2(yB-self.y, xB-self.x)/math.pi*10.0*180.0 + c = math.atan2(yC-self.y, xC-self.x)/math.pi*10.0*180.0 + + if b < max(a,c) and b > min(a,c): #b is between a and c# print('*1') + #print('*1') + self.sa = math.trunc(min(a,c)) + self.ea = math.trunc(max(a,c)) + + if b > max(a,c): #b is largest# print('*2') + #print('*2') + self.sa = math.trunc(max(a,c)) + self.ea = math.trunc(min(a,c) + 3600.0) + + if b < min(a,c): #b is smallest# print('*3') + #print('*3') + self.sa = math.trunc(max(a,c) - 3600.0) + self.ea = math.trunc(min(a,c)) + + flag_x_inf = False + flag_y_inf = False + + if math.isinf(self.x) or math.isnan(self.x): + #self.x = shiftx + flag_x_inf = True + + if math.isinf(self.y) or math.isnan(self.y): + #self.y = shifty + flag_y_inf = True + + + xA = self.x + self.r*math.cos(self.sa*math.pi/1800.0) + yA = self.y + self.r*math.sin(self.sa*math.pi/1800.0) + xC = self.x + self.r*math.cos(self.ea*math.pi/1800.0) + yC = self.y + self.r*math.sin(self.ea*math.pi/1800.0) + + self.sa+=1 + self.ea-=1 + + self.r*=MULT + + self.x1 = (xA*MULT)-shiftx + self.y1 = ((yA*MULT)-(-1)*shifty) + self.x2 = ((xC*MULT)-shiftx) + self.y2 = ((yC*MULT)-(-1)*shifty) + + if not flag_x_inf: + self.x*=MULT + self.x-=shiftx + + else: + self.x = shiftx + + if not flag_y_inf: + self.y*=MULT + self.y-=(-1)*shifty + + else: + self.y = shifty + # scale and shift: #startx, starty, endx, endy are redundant.May not even be in use.Haven 't been fixed. + + if math.isinf(self.x1) or math.isnan(self.x1) or math.isinf(self.y1) or math.isnan(self.y1) or math.isinf(self.x2) or math.isnan(self.x2) or math.isinf(self.y2) or math.isnan(self.y2): + self.x1 = -(2**31) + self.x2 = -(2**31) + self.y1 = -(2**31) + self.y2 = -(2**31) + + else: + self.x1 = math.trunc(self.x1) + self.y1 = math.trunc(self.y1) + self.x2 = math.trunc(self.x2) + self.y2 = math.trunc(self.y2) + + ''' + if mperpAB == 0 or mperpBC == 0: + print('mperpAB=',mperpAB, 'mperpBC=', mperpBC) + print('X=',self.x,'Y=',self.y) + print('Radius=',self.r) + print('a=',a,'b=',b,'c=',c) + print('xA=',xA,'yA=',yA,'xC=',xC,'yC=',yC) + print('x=',self.x,'y=',self.y) + print('x1=',self.x1,'x2=',self.x2,'y1=',self.y1,'y2=',self.y2) + print('sa=',self.sa,'ea=',self.ea) + ''' + def print(self,output_stream): + output_stream.write('A '+str(math.trunc(self.x))+' '+str(math.trunc(self.y))+' '+str(int(self.r))+' '+str(int(self.sa))+' '+str(int(self.ea))+' '+' 0 1 0 N '+str(int(self.x1))+' '+str(int(self.y1))+' '+str(int(self.x2))+' '+str(int(self.y2))+' '+'\n') + + +class Text: #Constructor of Circle. + x = 0 + y = 0 + text = '' + orient = '' + + def __init__(self,input_stream, shiftx, shifty): + input_line = input_stream.readline().strip().split() + self.x,self.y,self.orient = input_line[:3] + self.x = int(self.x) + self.y = int(self.y) + #tmp = input_stream.readline().strip() + + self.text = input_stream.readline().strip() + self.x*=MULT + self.y*=-1*MULT + self.x-=shiftx + self.y-=-1*shifty + + def print(self,output_stream): + output_stream.write('T ') # The line that contains the 't' + if self.orient[0] == 'h': + output_stream.write('0 ') + elif self.orient[0] == 'v': + output_stream.write('900 ') + output_stream.write(str(self.x)+' '+str(self.y)+' '+str(30)+' 0 0 0 '+self.text+'\n') + + +class Design: #Constructor of Design. + shiftx = 0 + shifty = 0 + lines = [] + rects = [] + circles = [] + arcs = [] + texts = [] # Reads the whole design, makes Line, Circle, etc.objects and stores them in the appropriate container(appropriate vector) + def __init__(self, input_stream): + g = 0 + tmp = '' + t = 0 + tint = '' + tmp = input_stream.readline().strip() + #print('Design->', tmp) + if('@graphics' not in tmp): + print('Design not found!') + return + #print('Graphics->',tmp.split()) + self.lines = [] + self.rects = [] + self.circles = [] + self.arcs = [] + self.texts = [] + tmp = tmp.split() + tint,tint,tint,self.shiftx,self.shifty= map(str,tmp[:5]) + if len(tmp) > 5: + tmp = ''.join(tmp[5:]) + self.shiftx = int(self.shiftx)*MULT # print('shiftx->', self.shiftx, 'shifty->', self.shifty) + self.shifty = int(self.shifty)*MULT + #print('shiftx->',self.shiftx,'shifty->',self.shifty) + while(t!= '*'): #As long as we haven 't reached the description of the next Component continue reading the lib file. + g = input_stream.tell() # Get the position of the read head, so that we can go back to this position + t = input_stream.read(1) # Get the first character of the description, store in "t".This character gives what shape it is. + if not t: + break + + if t == 'v': + #print('Line') + input_stream.read(1) + input_stream.read(1) + input_stream.read(1) + l = Line(input_stream, self.shiftx, self.shifty) + self.lines.append(l) + + elif t == 'r': + #print('Rect') + input_stream.read(1) + input_stream.read(1) + input_stream.read(1) + r = Rectangle(input_stream, self.shiftx, self.shifty) + self.rects.append(r) + + elif t == 'c': + #print('Circle') + input_stream.read(1) + input_stream.read(1) + input_stream.read(1) + c = Circle(input_stream, self.shiftx, self.shifty) + self.circles.append(c) + + elif t == 'a': + #print('Arc') + input_stream.read(1) + input_stream.read(1) + input_stream.read(1) + a = Arc(input_stream, self.shiftx, self.shifty) + self.arcs.append(a) + + elif t == 'z': + #print('Text') + input_stream.read(1) + input_stream.read(1) + input_stream.read(1) + z = Text(input_stream, self.shiftx, self.shifty) + self.texts.append(z) + + else: #If t is neither 'v', 'r', 'c' + tmp = input_stream.readline().strip() + g = input_stream.tell() + + input_stream.seek(g) + + + def print(self, output_stream): + for i in range(len(self.lines)): + self.lines[i].print(output_stream) + for i in range(len(self.rects)): + self.rects[i].print(output_stream) + for i in range(len(self.circles)): + self.circles[i].print(output_stream) + for i in range(len(self.arcs)): + self.arcs[i].print(output_stream) + for i in range(len(self.texts)): + self.texts[i].print(output_stream) diff --git a/src/converter/schematic_converters/lib/PythonLib/eval.lib b/src/converter/schematic_converters/lib/PythonLib/eval.lib new file mode 100644 index 00000000..6fa61afc --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/eval.lib @@ -0,0 +1,6883 @@ +EESchema-LIBRARY Version 4.7 Date: +#encoding utf-8 +# +# DB9M_PSPICE +# +DEF DB9M_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "DB9M_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 -100 200 -100 N +P 2 0 1 0 150 -50 100 -100 N +P 2 0 1 0 150 -150 100 -100 N +X ~ pin1 300 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# EDGE26_PSPICE +# +DEF EDGE26_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "EDGE26_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 -100 200 -100 N +P 2 0 1 0 50 -50 100 -100 N +P 2 0 1 0 50 -150 100 -100 N +X ~ pin1 300 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# HDR20_PSPICE +# +DEF HDR20_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "HDR20_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 -100 200 -100 N +P 2 0 1 0 50 -50 100 -100 N +P 2 0 1 0 50 -150 100 -100 N +X ~ pin1 300 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Jump1_PSPICE +# +DEF Jump1_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "Jump1_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 160 -80 160 -120 N +P 2 0 1 0 140 -100 180 -100 N +C 160 -100 40 0 1 0 N +C 160 -100 20 0 1 0 N +X ~ pin1 300 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Jump2_PSPICE +# +DEF Jump2_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "Jump2_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 160 -80 160 -120 N +P 2 0 1 0 140 -100 180 -100 N +P 2 0 1 0 160 -180 160 -220 N +P 2 0 1 0 140 -200 180 -200 N +C 160 -100 40 0 1 0 N +C 160 -100 20 0 1 0 N +C 160 -200 40 0 1 0 N +C 160 -200 20 0 1 0 N +X ~ pin1 300 -100 100 L 30 30 0 1 P +X ~ pin2 300 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 2N1595_PSPICE +# +DEF 2N1595_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "2N1595_PSPICE" 0 60 30 H V L CNN +DRAW +P 4 0 1 0 100 50 100 -50 200 0 100 50 N +P 2 0 1 0 200 50 200 -50 N +P 2 0 1 0 300 0 200 0 N +P 2 0 1 0 300 -100 200 0 N +X ~ A 0 0 100 R 30 30 0 1 P +X ~ K 400 0 100 L 30 30 0 1 P +X ~ G 300 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 2N5444_PSPICE +# +DEF 2N5444_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "2N5444_PSPICE" 0 60 30 H V L CNN +DRAW +P 4 0 1 0 100 100 100 -100 200 -50 100 0 N +P 2 0 1 0 200 -50 300 -100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 200 0 200 -50 N +P 4 0 1 0 200 0 100 50 200 100 200 0 N +X ~ MT2 0 0 100 R 30 30 0 1 P +X ~ MT1 400 0 100 L 30 30 0 1 P +X ~ G 300 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# D1N750_PSPICE +# +DEF D1N750_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "D1N750_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 170 70 200 50 N +P 2 0 1 0 200 -50 230 -70 N +P 2 0 1 0 200 50 200 -50 N +P 2 0 1 0 100 0 120 0 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MV2201_PSPICE +# +DEF MV2201_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "MV2201_PSPICE" 0 60 30 H V L CNN +DRAW +P 4 0 1 0 100 50 100 -50 200 0 100 50 N +P 2 0 1 0 200 50 200 -50 N +A 270 0 50 1269 2330 0 1 0 N 240 40 239 -39 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# D1N4002_PSPICE +# +DEF D1N4002_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "D1N4002_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 50 200 -50 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 0 120 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# D1N4148_PSPICE +# +DEF D1N4148_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "D1N4148_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 50 200 -50 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 0 120 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MBD101_PSPICE +# +DEF MBD101_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "MBD101_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 50 200 -50 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 0 120 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IRF150_PSPICE +# +DEF IRF150_PSPICE M 0 30 Y Y 1 F N +F0 "M" 0 0 30 H V L CNN +F1 "IRF150_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 290 -20 230 0 290 20 N +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ G 0 0 100 R 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IRF9140_PSPICE +# +DEF IRF9140_PSPICE M 0 30 Y Y 1 F N +F0 "M" 0 0 30 H V L CNN +F1 "IRF9140_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 230 20 290 0 230 -20 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# J2N3819_PSPICE +# +DEF J2N3819_PSPICE J 0 30 Y Y 1 F N +F0 "J" 0 0 30 H V L CNN +F1 "J2N3819_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 200 0 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 130 200 -130 N +P 2 0 1 0 200 100 300 100 N +P 3 0 1 0 110 20 170 0 110 -20 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# J2N4393_PSPICE +# +DEF J2N4393_PSPICE J 0 30 Y Y 1 F N +F0 "J" 0 0 30 H V L CNN +F1 "J2N4393_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 200 0 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 130 200 -130 N +P 2 0 1 0 200 100 300 100 N +P 3 0 1 0 110 20 170 0 110 -20 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# LM324_PSPICE +# +DEF LM324_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "LM324_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -500 N +P 2 0 1 0 100 -500 700 -200 N +P 2 0 1 0 700 -200 100 100 N +P 2 0 1 0 400 0 400 -50 N +P 2 0 1 0 400 -400 400 -350 N +X ~ OUT 800 -200 100 L 30 30 0 1 O +X ~ + 0 0 100 R 30 30 0 1 I +X ~ - 0 -400 100 R 30 30 0 1 I +X ~ V+ 400 100 100 D 30 30 0 1 I +X ~ V- 400 -500 100 U 30 30 0 1 I +ENDDRAW +ENDDEF +# +# LF411_PSPICE +# +DEF LF411_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "LF411_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -500 N +P 2 0 1 0 100 -500 700 -200 N +P 2 0 1 0 700 -200 100 100 N +P 2 0 1 0 400 0 400 -50 N +P 2 0 1 0 400 -400 400 -350 N +P 2 0 1 0 600 0 500 -100 N +P 2 0 1 0 500 -300 600 -400 N +P 2 0 1 0 600 0 700 0 N +P 2 0 1 0 600 -400 700 -400 N +X ~ + 0 0 100 R 30 30 0 1 I +X ~ - 0 -400 100 R 30 30 0 1 I +X ~ V+ 400 100 100 D 30 30 0 1 W +X ~ V- 400 -500 100 U 30 30 0 1 W +X ~ OUT 800 -200 100 L 30 30 0 1 O +X ~ B1 800 -400 100 L 30 30 0 1 I +X ~ B2 800 0 100 L 30 30 0 1 I +ENDDRAW +ENDDEF +# +# uA741_PSPICE +# +DEF uA741_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "uA741_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -500 N +P 2 0 1 0 100 -500 700 -200 N +P 2 0 1 0 700 -200 100 100 N +P 2 0 1 0 400 0 400 -50 N +P 2 0 1 0 400 -400 400 -350 N +P 2 0 1 0 600 0 500 -100 N +P 2 0 1 0 500 -300 600 -400 N +P 2 0 1 0 600 0 700 0 N +P 2 0 1 0 600 -400 700 -400 N +X ~ + 0 0 100 R 30 30 0 1 I +X ~ - 0 -400 100 R 30 30 0 1 I +X ~ V+ 400 100 100 D 30 30 0 1 W +X ~ V- 400 -500 100 U 30 30 0 1 W +X ~ OUT 800 -200 100 L 30 30 0 1 O +X ~ OS1 800 -400 100 L 30 30 0 1 I +X ~ OS2 800 0 100 L 30 30 0 1 I +ENDDRAW +ENDDEF +# +# LM111_PSPICE +# +DEF LM111_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "LM111_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -500 N +P 2 0 1 0 100 -500 700 -200 N +P 2 0 1 0 400 0 400 -50 N +P 2 0 1 0 400 -400 400 -350 N +P 2 0 1 0 700 -400 600 -400 N +P 2 0 1 0 600 -400 500 -300 N +P 2 0 1 0 500 0 500 -100 N +P 2 0 1 0 700 0 600 -100 N +P 2 0 1 0 100 100 700 -200 N +P 2 0 1 0 600 -100 560 -140 N +X ~ OUT 800 -200 100 L 30 30 0 1 O +X ~ + 0 0 100 R 30 30 0 1 I +X ~ - 0 -400 100 R 30 30 0 1 I +X ~ G 800 -400 100 L 30 30 0 1 P +X ~ V+ 400 100 100 D 30 30 0 1 W +X ~ V- 400 -500 100 U 30 30 0 1 W +X ~ B/S 800 0 100 L 30 30 0 1 I +X ~ B 500 100 100 D 30 30 0 1 I +ENDDRAW +ENDDEF +# +# Q2N2222_PSPICE +# +DEF Q2N2222_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "Q2N2222_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Q2N2907A_PSPICE +# +DEF Q2N2907A_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "Q2N2907A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 100 -50 200 -100 N +P 3 0 1 0 190 -70 120 -60 170 -110 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Q2N3904_PSPICE +# +DEF Q2N3904_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "Q2N3904_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Q2N3906_PSPICE +# +DEF Q2N3906_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "Q2N3906_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 100 -50 200 -100 N +P 3 0 1 0 190 -70 120 -60 170 -110 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# A4N25_PSPICE +# +DEF A4N25_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "A4N25_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 230 -50 170 -50 N +P 2 0 1 0 170 -50 200 -130 N +P 2 0 1 0 200 -130 230 -50 N +P 2 0 1 0 230 -130 170 -130 N +P 2 0 1 0 100 0 200 0 N +P 2 0 1 0 200 -200 100 -200 N +P 2 0 1 0 420 0 420 -160 N +P 2 0 1 0 500 0 420 -80 N +P 2 0 1 0 420 -80 500 -160 N +P 2 0 1 0 500 -110 500 -160 N +P 2 0 1 0 500 -160 450 -160 N +P 2 0 1 0 500 0 600 0 N +P 2 0 1 0 200 0 200 -50 N +P 2 0 1 0 200 -130 200 -200 N +P 2 0 1 0 500 -160 500 -300 N +P 2 0 1 0 420 -80 300 -80 N +P 2 0 1 0 300 -80 300 -300 N +S 100 100 600 -300 0 1 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -200 100 R 30 30 0 1 P +X ~ 6 300 -400 100 U 30 30 0 1 P +X ~ 4 500 -400 100 U 30 30 0 1 P +X ~ 5 700 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# K3019PL_3C8_PSPICE +# +DEF K3019PL_3C8_PSPICE TX 0 30 Y Y 1 F N +F0 "TX" 0 0 30 H V L CNN +F1 "K3019PL_3C8_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 100 -100 N +P 2 0 1 0 100 -500 100 -600 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 300 -500 300 -600 N +P 2 0 1 0 220 -100 220 -500 N +P 2 0 1 0 220 -500 220 -500 N +P 2 0 1 0 180 -100 180 -500 N +P 2 0 1 0 180 -500 180 -500 N +A 100 -450 50 -899 899 0 1 0 N 100 -500 100 -400 +A 100 -350 50 -899 899 0 1 0 N 100 -400 100 -300 +A 100 -250 50 -899 899 0 1 0 N 100 -300 100 -200 +A 100 -150 50 -899 899 0 1 0 N 100 -200 100 -100 +A 300 -150 50 901 2699 0 1 0 N 300 -100 300 -200 +A 300 -250 50 901 2699 0 1 0 N 300 -200 300 -300 +A 300 -350 50 901 2699 0 1 0 N 300 -300 300 -400 +A 300 -450 50 901 2699 0 1 0 N 300 -400 300 -500 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -600 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# K502T300_3C8_PSPICE +# +DEF K502T300_3C8_PSPICE TX 0 30 Y Y 1 F N +F0 "TX" 0 0 30 H V L CNN +F1 "K502T300_3C8_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 100 -100 N +P 2 0 1 0 100 -500 100 -600 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 300 -500 300 -600 N +P 2 0 1 0 220 -100 220 -500 N +P 2 0 1 0 220 -500 220 -500 N +P 2 0 1 0 180 -100 180 -500 N +P 2 0 1 0 180 -500 180 -500 N +A 100 -450 50 -899 899 0 1 0 N 100 -500 100 -400 +A 100 -350 50 -899 899 0 1 0 N 100 -400 100 -300 +A 100 -250 50 -899 899 0 1 0 N 100 -300 100 -200 +A 100 -150 50 -899 899 0 1 0 N 100 -200 100 -100 +A 300 -150 50 901 2699 0 1 0 N 300 -100 300 -200 +A 300 -250 50 901 2699 0 1 0 N 300 -200 300 -300 +A 300 -350 50 901 2699 0 1 0 N 300 -300 300 -400 +A 300 -450 50 901 2699 0 1 0 N 300 -400 300 -500 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -600 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# K528T500_3C8_PSPICE +# +DEF K528T500_3C8_PSPICE TX 0 30 Y Y 1 F N +F0 "TX" 0 0 30 H V L CNN +F1 "K528T500_3C8_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 100 -100 N +P 2 0 1 0 100 -500 100 -600 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 300 -500 300 -600 N +P 2 0 1 0 220 -100 220 -500 N +P 2 0 1 0 220 -500 220 -500 N +P 2 0 1 0 180 -100 180 -500 N +P 2 0 1 0 180 -500 180 -500 N +A 100 -450 50 -899 899 0 1 0 N 100 -500 100 -400 +A 100 -350 50 -899 899 0 1 0 N 100 -400 100 -300 +A 100 -250 50 -899 899 0 1 0 N 100 -300 100 -200 +A 100 -150 50 -899 899 0 1 0 N 100 -200 100 -100 +A 300 -150 50 901 2699 0 1 0 N 300 -100 300 -200 +A 300 -250 50 901 2699 0 1 0 N 300 -200 300 -300 +A 300 -350 50 901 2699 0 1 0 N 300 -300 300 -400 +A 300 -450 50 901 2699 0 1 0 N 300 -400 300 -500 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -600 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# KRM8PL_3C8_PSPICE +# +DEF KRM8PL_3C8_PSPICE TX 0 30 Y Y 1 F N +F0 "TX" 0 0 30 H V L CNN +F1 "KRM8PL_3C8_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 100 -100 N +P 2 0 1 0 100 -500 100 -600 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 300 -500 300 -600 N +P 2 0 1 0 220 -100 220 -500 N +P 2 0 1 0 220 -500 220 -500 N +P 2 0 1 0 180 -100 180 -500 N +P 2 0 1 0 180 -500 180 -500 N +A 100 -450 50 -899 899 0 1 0 N 100 -500 100 -400 +A 100 -350 50 -899 899 0 1 0 N 100 -400 100 -300 +A 100 -250 50 -899 899 0 1 0 N 100 -300 100 -200 +A 100 -150 50 -899 899 0 1 0 N 100 -200 100 -100 +A 300 -150 50 901 2699 0 1 0 N 300 -100 300 -200 +A 300 -250 50 901 2699 0 1 0 N 300 -200 300 -300 +A 300 -350 50 901 2699 0 1 0 N 300 -300 300 -400 +A 300 -450 50 901 2699 0 1 0 N 300 -400 300 -500 +X ~ 2 0 -600 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -600 100 L 30 30 0 1 P +X ~ 1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 555D_PSPICE +# +DEF 555D_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "555D_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 900 -600 0 1 0 N +X ~ GND 500 -700 100 U 30 30 0 1 P +X ~ TRIGGER 0 0 100 R 30 30 0 1 P +X ~ OUTPUT 1000 -100 100 L 30 30 0 1 P +X ~ RESET 0 -100 100 R 30 30 0 1 P +X ~ CONTROL 0 -200 100 R 30 30 0 1 P +X ~ THRESHOLD 0 -300 100 R 30 30 0 1 P +X ~ DISCHARGE 0 -400 100 R 30 30 0 1 P +X ~ VCC 500 300 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Sw_tClose_PSPICE +# +DEF Sw_tClose_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "Sw_tClose_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 -100 300 0 N +P 2 0 1 0 250 -140 230 -110 N +P 2 0 1 0 250 -140 280 -120 N +A 160 0 0 1 -1 0 1 0 N -2147483648 -2147483648 -2147483648 -2147483648 +X ~ 1 0 -100 100 R 30 30 0 1 P +X ~ 2 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Sw_tOpen_PSPICE +# +DEF Sw_tOpen_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "Sw_tOpen_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 -100 300 0 N +P 2 0 1 0 170 0 200 20 N +P 2 0 1 0 170 0 190 -30 N +A 160 0 0 1 -1 0 1 0 N -2147483648 -2147483648 -2147483648 -2147483648 +X ~ 1 0 -100 100 R 30 30 0 1 P +X ~ 2 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# PAL20RP4B_PSPICE +# +DEF PAL20RP4B_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "PAL20RP4B_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1400 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 I +X ~ pin3 0 -200 100 R 30 30 0 1 I +X ~ pin4 0 -300 100 R 30 30 0 1 I +X ~ pin5 0 -400 100 R 30 30 0 1 I +X ~ pin6 0 -500 100 R 30 30 0 1 I +X ~ pin7 0 -600 100 R 30 30 0 1 I +X ~ pin8 0 -700 100 R 30 30 0 1 I +X ~ pin9 0 -800 100 R 30 30 0 1 I +X ~ pin10 0 -900 100 R 30 30 0 1 I +X ~ pin11 0 -1000 100 R 30 30 0 1 I +X ~ pin13 0 -1100 100 R 30 30 0 1 I +X ~ pin15 600 -1000 100 L 30 30 0 1 O +X ~ pin16 600 -900 100 L 30 30 0 1 O +X ~ pin17 600 -800 100 L 30 30 0 1 O +X ~ pin18 600 -700 100 L 30 30 0 1 O +X ~ pin19 600 -600 100 L 30 30 0 1 O +X ~ pin20 600 -500 100 L 30 30 0 1 O +X ~ pin21 600 -400 100 L 30 30 0 1 O +X ~ pin22 600 -300 100 L 30 30 0 1 O +X ~ pin12 300 -1500 100 U 30 30 0 1 W +X ~ pin24 300 200 100 D 30 30 0 1 W +X ~ pin2 0 -100 100 R 30 30 0 1 I +X ~ pin14 0 -1200 100 R 30 30 0 1 I +X ~ pin23 0 -1300 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 7400_PSPICE +# +DEF 7400_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7400_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7401_PSPICE +# +DEF 7401_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7401_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ Y 700 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 7402_PSPICE +# +DEF 7402_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7402_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 300 -220 320 219 899 0 1 0 N 597 -101 300 100 +A 300 30 330 -899 -235 0 1 0 N 300 -300 602 -101 +A -290 -100 400 -296 296 0 1 0 N 57 -298 57 98 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7403_PSPICE +# +DEF 7403_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7403_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7404_PSPICE +# +DEF 7404_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7404_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 O +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7405_PSPICE +# +DEF 7405_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7405_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7406_PSPICE +# +DEF 7406_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7406_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7407_PSPICE +# +DEF 7407_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7407_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7408_PSPICE +# +DEF 7408_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7408_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7409_PSPICE +# +DEF 7409_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7409_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7410_PSPICE +# +DEF 7410_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7410_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 7411_PSPICE +# +DEF 7411_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7411_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 74S11_PSPICE +# +DEF 74S11_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74S11_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 7412_PSPICE +# +DEF 7412_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7412_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 7413_PSPICE +# +DEF 7413_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7413_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 0 N +P 2 0 1 0 100 0 100 -400 N +P 2 0 1 0 100 -400 400 -400 N +P 2 0 1 0 200 -150 350 -150 N +P 2 0 1 0 350 -150 350 -250 N +P 2 0 1 0 400 -250 250 -250 N +P 2 0 1 0 250 -250 250 -150 N +A 400 -200 200 -899 899 0 1 0 N 400 -400 400 0 +X ~ Y 700 -200 100 L 30 30 0 1 O +X ~ PWR 300 100 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ D 0 -400 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 7414_PSPICE +# +DEF 7414_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7414_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +P 2 0 1 0 140 40 260 40 N +P 2 0 1 0 260 40 260 -40 N +P 2 0 1 0 300 -40 180 -40 N +P 2 0 1 0 180 -40 180 40 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 O +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7416_PSPICE +# +DEF 7416_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7416_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7417_PSPICE +# +DEF 7417_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7417_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7420_PSPICE +# +DEF 7420_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7420_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 0 N +P 2 0 1 0 100 0 100 -400 N +P 2 0 1 0 100 -400 400 -400 N +A 400 -200 200 -899 899 0 1 0 N 400 -400 400 0 +X ~ Y 700 -200 100 L 30 30 0 1 O +X ~ PWR 300 100 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ D 0 -400 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 7422_PSPICE +# +DEF 7422_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7422_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 0 N +P 2 0 1 0 100 0 100 -400 N +P 2 0 1 0 100 -400 400 -400 N +A 400 -200 200 -899 899 0 1 0 N 400 -400 400 0 +X ~ Y 700 -200 100 L 30 30 0 1 P +X ~ PWR 300 100 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ D 0 -400 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 7423_PSPICE +# +DEF 7423_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7423_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -1300 N +P 2 0 1 0 500 -1300 100 -1300 N +P 2 0 1 0 100 -1300 100 100 N +X ~ 1A 0 0 100 R 30 30 0 1 I +X ~ 1B 0 -100 100 R 30 30 0 1 I +X ~ 1C 0 -200 100 R 30 30 0 1 I +X ~ 1D 0 -300 100 R 30 30 0 1 I +X ~ 1G 0 -400 100 R 30 30 0 1 I +X ~ X 0 -500 100 R 30 30 0 1 I +X ~ \X\ 0 -600 100 R 30 30 0 1 I +X ~ 2A 0 -800 100 R 30 30 0 1 I +X ~ 2B 0 -900 100 R 30 30 0 1 I +X ~ 2C 0 -1000 100 R 30 30 0 1 I +X ~ 2D 0 -1100 100 R 30 30 0 1 I +X ~ 2G 0 -1200 100 R 30 30 0 1 I +X ~ 1Y 600 -200 100 L 30 30 0 1 I +X ~ 2Y 600 -1000 100 L 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7425_PSPICE +# +DEF 7425_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7425_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -500 N +P 2 0 1 0 500 -500 100 -500 N +P 2 0 1 0 100 -500 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ G 0 -400 100 R 30 30 0 1 I +X ~ Y 600 -200 100 L 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 P +X ~ GND 300 -600 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7426_PSPICE +# +DEF 7426_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7426_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7427_PSPICE +# +DEF 7427_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7427_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 300 -220 320 219 899 0 1 0 N 597 -101 300 100 +A 300 30 330 -899 -235 0 1 0 N 300 -300 602 -101 +A -290 -100 400 -296 296 0 1 0 N 57 -298 57 98 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7428_PSPICE +# +DEF 7428_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7428_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 300 -220 320 219 899 0 1 0 N 597 -101 300 100 +A 300 30 330 -899 -235 0 1 0 N 300 -300 602 -101 +A -290 -100 400 -296 296 0 1 0 N 57 -298 57 98 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7430_PSPICE +# +DEF 7430_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7430_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ E 0 -400 100 R 30 30 0 1 I +X ~ F 0 -500 100 R 30 30 0 1 I +X ~ G 0 -600 100 R 30 30 0 1 I +X ~ H 0 -700 100 R 30 30 0 1 I +X ~ Y 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7432_PSPICE +# +DEF 7432_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7432_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 300 -220 320 219 899 0 1 0 N 597 -101 300 100 +A 300 30 330 -899 -235 0 1 0 N 300 -300 602 -101 +A -290 -100 400 -296 296 0 1 0 N 57 -298 57 98 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7433_PSPICE +# +DEF 7433_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7433_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 300 -220 320 219 899 0 1 0 N 597 -101 300 100 +A 300 30 330 -899 -235 0 1 0 N 300 -300 602 -101 +A -290 -100 400 -296 296 0 1 0 N 57 -298 57 98 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7437_PSPICE +# +DEF 7437_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7437_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7438_PSPICE +# +DEF 7438_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7438_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7439_PSPICE +# +DEF 7439_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7439_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7440_PSPICE +# +DEF 7440_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7440_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 0 N +P 2 0 1 0 100 0 100 -400 N +P 2 0 1 0 100 -400 400 -400 N +A 400 -200 200 -899 899 0 1 0 N 400 -400 400 0 +X ~ Y 700 -200 100 L 30 30 0 1 O +X ~ PWR 300 100 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ D 0 -400 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 7442A_PSPICE +# +DEF 7442A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7442A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 200 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ Y0 600 100 100 L 30 30 0 1 O +X ~ Y1 600 0 100 L 30 30 0 1 O +X ~ Y2 600 -100 100 L 30 30 0 1 O +X ~ Y3 600 -200 100 L 30 30 0 1 O +X ~ Y4 600 -300 100 L 30 30 0 1 O +X ~ Y5 600 -400 100 L 30 30 0 1 O +X ~ Y6 600 -500 100 L 30 30 0 1 O +X ~ Y7 600 -600 100 L 30 30 0 1 O +X ~ Y8 600 -700 100 L 30 30 0 1 O +X ~ Y9 600 -800 100 L 30 30 0 1 O +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7443A_PSPICE +# +DEF 7443A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7443A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 200 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ Y0 600 100 100 L 30 30 0 1 O +X ~ Y1 600 0 100 L 30 30 0 1 O +X ~ Y2 600 -100 100 L 30 30 0 1 O +X ~ Y3 600 -200 100 L 30 30 0 1 O +X ~ Y4 600 -300 100 L 30 30 0 1 O +X ~ Y5 600 -400 100 L 30 30 0 1 O +X ~ Y6 600 -500 100 L 30 30 0 1 O +X ~ Y7 600 -600 100 L 30 30 0 1 O +X ~ Y8 600 -700 100 L 30 30 0 1 O +X ~ Y9 600 -800 100 L 30 30 0 1 O +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7444A_PSPICE +# +DEF 7444A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7444A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 200 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ Y0 600 100 100 L 30 30 0 1 O +X ~ Y1 600 0 100 L 30 30 0 1 O +X ~ Y2 600 -100 100 L 30 30 0 1 O +X ~ Y3 600 -200 100 L 30 30 0 1 O +X ~ Y4 600 -300 100 L 30 30 0 1 O +X ~ Y5 600 -400 100 L 30 30 0 1 O +X ~ Y6 600 -500 100 L 30 30 0 1 O +X ~ Y7 600 -600 100 L 30 30 0 1 O +X ~ Y8 600 -700 100 L 30 30 0 1 O +X ~ Y9 600 -800 100 L 30 30 0 1 O +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7445_PSPICE +# +DEF 7445_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7445_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 200 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ Y0 600 100 100 L 30 30 0 1 O +X ~ Y1 600 0 100 L 30 30 0 1 O +X ~ Y2 600 -100 100 L 30 30 0 1 O +X ~ Y3 600 -200 100 L 30 30 0 1 O +X ~ Y4 600 -300 100 L 30 30 0 1 O +X ~ Y5 600 -400 100 L 30 30 0 1 O +X ~ Y6 600 -500 100 L 30 30 0 1 O +X ~ Y7 600 -600 100 L 30 30 0 1 O +X ~ Y8 600 -700 100 L 30 30 0 1 O +X ~ Y9 600 -800 100 L 30 30 0 1 O +X ~ PWR 300 300 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7446A_PSPICE +# +DEF 7446A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7446A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 100 N +X ~ INA 0 -400 100 R 30 30 0 1 I +X ~ INB 0 -500 100 R 30 30 0 1 I +X ~ INC 0 -600 100 R 30 30 0 1 I +X ~ IND 0 -700 100 R 30 30 0 1 I +X ~ \RBI\ 0 -100 100 R 30 30 0 1 I +X ~ \LT\ 0 -200 100 R 30 30 0 1 I +X ~ OUTA 600 -100 100 L 30 30 0 1 O +X ~ OUTB 600 -200 100 L 30 30 0 1 O +X ~ OUTC 600 -300 100 L 30 30 0 1 O +X ~ OUTD 600 -400 100 L 30 30 0 1 O +X ~ OUTE 600 -500 100 L 30 30 0 1 O +X ~ OUTF 600 -600 100 L 30 30 0 1 O +X ~ OUTG 600 -700 100 L 30 30 0 1 O +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ \BI\/\RBO\ 0 0 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7448_PSPICE +# +DEF 7448_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7448_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 100 N +X ~ A 0 -400 100 R 30 30 0 1 I +X ~ B 0 -500 100 R 30 30 0 1 I +X ~ C 0 -600 100 R 30 30 0 1 I +X ~ D 0 -700 100 R 30 30 0 1 I +X ~ \BI\ 0 0 100 R 30 30 0 1 I +X ~ \RBI\ 0 -100 100 R 30 30 0 1 I +X ~ \LT\ 0 -200 100 R 30 30 0 1 I +X ~ OA 600 0 100 L 30 30 0 1 O +X ~ OB 600 -100 100 L 30 30 0 1 O +X ~ OC 600 -200 100 L 30 30 0 1 O +X ~ OD 600 -300 100 L 30 30 0 1 O +X ~ OE 600 -400 100 L 30 30 0 1 O +X ~ OF 600 -500 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ OG 600 -600 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 7449_PSPICE +# +DEF 7449_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7449_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -700 N +P 2 0 1 0 500 -700 100 -700 N +P 2 0 1 0 100 -700 100 100 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ B 0 -400 100 R 30 30 0 1 I +X ~ C 0 -500 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ \BI\ 0 0 100 R 30 30 0 1 I +X ~ OA 600 0 100 L 30 30 0 1 O +X ~ OB 600 -100 100 L 30 30 0 1 O +X ~ OC 600 -200 100 L 30 30 0 1 O +X ~ OD 600 -300 100 L 30 30 0 1 O +X ~ OE 600 -400 100 L 30 30 0 1 O +X ~ OF 600 -500 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -800 100 U 30 30 0 1 W +X ~ OG 600 -600 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 7450_PSPICE +# +DEF 7450_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7450_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -1100 N +P 2 0 1 0 500 -1100 100 -1100 N +P 2 0 1 0 100 -1100 100 100 N +X ~ 1A 0 0 100 R 30 30 0 1 I +X ~ 1B 0 -100 100 R 30 30 0 1 I +X ~ 1C 0 -200 100 R 30 30 0 1 I +X ~ 1D 0 -300 100 R 30 30 0 1 I +X ~ 1X 0 -400 100 R 30 30 0 1 I +X ~ 1\X\ 0 -500 100 R 30 30 0 1 I +X ~ 2A 0 -700 100 R 30 30 0 1 I +X ~ 2B 0 -800 100 R 30 30 0 1 I +X ~ 2C 0 -900 100 R 30 30 0 1 I +X ~ 2D 0 -1000 100 R 30 30 0 1 I +X ~ 1Y 600 -200 100 L 30 30 0 1 O +X ~ 2Y 600 -900 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7451_PSPICE +# +DEF 7451_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7451_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -400 N +P 2 0 1 0 500 -400 100 -400 N +P 2 0 1 0 100 -400 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ Y 600 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7453_PSPICE +# +DEF 7453_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7453_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ E 0 -400 100 R 30 30 0 1 I +X ~ F 0 -500 100 R 30 30 0 1 I +X ~ G 0 -600 100 R 30 30 0 1 I +X ~ H 0 -700 100 R 30 30 0 1 I +X ~ X 0 -800 100 R 30 30 0 1 I +X ~ Y 600 -400 100 L 30 30 0 1 O +X ~ \X\ 0 -900 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1100 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7454_PSPICE +# +DEF 7454_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7454_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ E 0 -400 100 R 30 30 0 1 I +X ~ F 0 -500 100 R 30 30 0 1 I +X ~ G 0 -600 100 R 30 30 0 1 I +X ~ H 0 -700 100 R 30 30 0 1 I +X ~ Y 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7460_PSPICE +# +DEF 7460_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7460_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -500 N +P 2 0 1 0 500 -500 100 -500 N +P 2 0 1 0 100 -500 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -600 100 U 30 30 0 1 W +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ \X\ 0 -400 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ X 600 -100 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 7470_PSPICE +# +DEF 7470_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7470_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -800 0 1 0 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J1 0 0 100 R 30 30 0 1 I +X ~ J2 0 -100 100 R 30 30 0 1 I +X ~ \J\ 0 -200 100 R 30 30 0 1 I +X ~ CLK 0 -300 100 R 30 30 0 1 I +X ~ K1 0 -400 100 R 30 30 0 1 I +X ~ K2 0 -500 100 R 30 30 0 1 I +X ~ \K\ 0 -600 100 R 30 30 0 1 I +X ~ \CLR\ 300 -900 100 U 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \Q\ 600 -500 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7472_PSPICE +# +DEF 7472_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7472_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 200 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J1 0 0 100 R 30 30 0 1 I +X ~ J2 0 -100 100 R 30 30 0 1 I +X ~ J3 0 -200 100 R 30 30 0 1 I +X ~ CLK 0 -300 100 R 30 30 0 1 I +X ~ K1 0 -400 100 R 30 30 0 1 I +X ~ K2 0 -500 100 R 30 30 0 1 I +X ~ K3 0 -600 100 R 30 30 0 1 I +X ~ \CLR\ 300 -900 100 U 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \Q\ 600 -500 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7473_PSPICE +# +DEF 7473_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7473_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -600 0 1 0 N +X ~ J 0 0 100 R 30 30 0 1 I +X ~ CLK 0 -200 100 R 30 30 0 1 I +X ~ K 0 -400 100 R 30 30 0 1 I +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ Q 600 0 100 L 30 30 0 1 O +X ~ \Q\ 600 -400 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7474_PSPICE +# +DEF 7474_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7474_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7475_PSPICE +# +DEF 7475_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7475_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -400 N +P 2 0 1 0 500 -400 100 -400 N +P 2 0 1 0 100 -400 100 100 N +X ~ 1D 0 0 100 R 30 30 0 1 I +X ~ 1Q 600 0 100 L 30 30 0 1 O +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ 2D 0 -100 100 R 30 30 0 1 I +X ~ 2Q 600 -200 100 L 30 30 0 1 O +X ~ 2\Q\ 600 -300 100 L 30 30 0 1 O +X ~ 1\Q\ 600 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7476_PSPICE +# +DEF 7476_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7476_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -600 0 1 0 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J 0 0 100 R 30 30 0 1 I +X ~ CLK 0 -200 100 R 30 30 0 1 I +X ~ K 0 -400 100 R 30 30 0 1 I +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ Q 600 0 100 L 30 30 0 1 O +X ~ \Q\ 600 -400 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7477_PSPICE +# +DEF 7477_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7477_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -500 0 1 0 N +X ~ 1D 0 0 100 R 30 30 0 1 I +X ~ 1Q 600 -100 100 L 30 30 0 1 O +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ 2D 0 -400 100 R 30 30 0 1 I +X ~ 2Q 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -600 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7482_PSPICE +# +DEF 7482_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7482_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -500 0 1 0 N +X ~ C0 0 0 100 R 30 30 0 1 I +X ~ A1 0 -100 100 R 30 30 0 1 I +X ~ B1 0 -200 100 R 30 30 0 1 I +X ~ A2 0 -300 100 R 30 30 0 1 I +X ~ B2 0 -400 100 R 30 30 0 1 I +X ~ SUM1 600 -100 100 L 30 30 0 1 O +X ~ SUM2 600 -300 100 L 30 30 0 1 O +X ~ C2 600 -400 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -600 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7483A_PSPICE +# +DEF 7483A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7483A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 100 N +X ~ A4 0 0 100 R 30 30 0 1 I +X ~ A3 0 -100 100 R 30 30 0 1 I +X ~ A2 0 -200 100 R 30 30 0 1 I +X ~ A1 0 -300 100 R 30 30 0 1 I +X ~ B4 0 -400 100 R 30 30 0 1 I +X ~ B3 0 -500 100 R 30 30 0 1 I +X ~ B2 0 -600 100 R 30 30 0 1 I +X ~ B1 0 -700 100 R 30 30 0 1 I +X ~ C0 0 -800 100 R 30 30 0 1 I +X ~ C4 600 0 100 L 30 30 0 1 O +X ~ SUM4 600 -200 100 L 30 30 0 1 O +X ~ SUM3 600 -400 100 L 30 30 0 1 O +X ~ SUM2 600 -600 100 L 30 30 0 1 O +X ~ SUM1 600 -800 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7485_PSPICE +# +DEF 7485_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7485_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ B3 0 0 100 R 30 30 0 1 I +X ~ A3 0 -100 100 R 30 30 0 1 I +X ~ B2 0 -200 100 R 30 30 0 1 I +X ~ A2 0 -300 100 R 30 30 0 1 I +X ~ B1 0 -400 100 R 30 30 0 1 I +X ~ A1 0 -500 100 R 30 30 0 1 I +X ~ B0 0 -600 100 R 30 30 0 1 I +X ~ A0 0 -700 100 R 30 30 0 1 I +X ~ A<B_IN 0 -800 100 R 30 30 0 1 I +X ~ A=B_IN 0 -900 100 R 30 30 0 1 I +X ~ A>B_IN 0 -1000 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +X ~ A<B 600 -400 100 L 30 30 0 1 O +X ~ A=B 600 -500 100 L 30 30 0 1 O +X ~ A>B 600 -600 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 7486_PSPICE +# +DEF 7486_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7486_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 300 100 N +P 2 0 1 0 100 -300 300 -300 N +A 300 -220 320 219 899 0 1 0 N 597 -101 300 100 +A 300 30 330 -899 -235 0 1 0 N 300 -300 602 -101 +A -290 -100 400 -296 296 0 1 0 N 57 -298 57 98 +A -250 -100 400 -296 296 0 1 0 N 97 -298 97 98 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7490A_PSPICE +# +DEF 7490A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7490A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ R91 0 0 100 R 30 30 0 1 I +X ~ R92 0 -100 100 R 30 30 0 1 I +X ~ R01 0 -700 100 R 30 30 0 1 I +X ~ R02 0 -800 100 R 30 30 0 1 I +X ~ CKA 0 -300 100 R 30 30 0 1 I +X ~ CKB 0 -500 100 R 30 30 0 1 I +X ~ QA 600 -100 100 L 30 30 0 1 O +X ~ QB 600 -300 100 L 30 30 0 1 O +X ~ QC 600 -500 100 L 30 30 0 1 O +X ~ QD 600 -700 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7491A_PSPICE +# +DEF 7491A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7491A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -300 N +P 2 0 1 0 500 -300 100 -300 N +P 2 0 1 0 100 -300 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ CLOCK 0 -200 100 R 30 30 0 1 I +X ~ QH 600 0 100 L 30 30 0 1 O +X ~ \QH\ 600 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7492A_PSPICE +# +DEF 7492A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7492A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -400 N +P 2 0 1 0 500 -400 100 -400 N +P 2 0 1 0 100 -400 100 100 N +X ~ CKA 0 0 100 R 30 30 0 1 I +X ~ CKB 0 -100 100 R 30 30 0 1 I +X ~ R01 0 -200 100 R 30 30 0 1 I +X ~ R02 0 -300 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7493A_PSPICE +# +DEF 7493A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7493A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -400 N +P 2 0 1 0 500 -400 100 -400 N +P 2 0 1 0 100 -400 100 100 N +X ~ CKA 0 0 100 R 30 30 0 1 I +X ~ CKB 0 -100 100 R 30 30 0 1 I +X ~ R01 0 -200 100 R 30 30 0 1 I +X ~ R02 0 -300 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7494_PSPICE +# +DEF 7494_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7494_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1600 0 1 0 N +X ~ PE2 0 0 100 R 30 30 0 1 I +X ~ PE1 0 -100 100 R 30 30 0 1 I +X ~ P1A 0 -300 100 R 30 30 0 1 I +X ~ P2A 0 -800 100 R 30 30 0 1 I +X ~ P1B 0 -400 100 R 30 30 0 1 I +X ~ P1C 0 -500 100 R 30 30 0 1 I +X ~ P1D 0 -600 100 R 30 30 0 1 I +X ~ P2B 0 -900 100 R 30 30 0 1 I +X ~ P2C 0 -1000 100 R 30 30 0 1 I +X ~ P2D 0 -1100 100 R 30 30 0 1 I +X ~ SER_IN 0 -1300 100 R 30 30 0 1 I +X ~ CLOCK 0 -1400 100 R 30 30 0 1 I +X ~ CLEAR 0 -1500 100 R 30 30 0 1 I +X ~ QD 600 -700 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1700 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7495A_PSPICE +# +DEF 7495A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7495A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 100 N +X ~ MODE 0 0 100 R 30 30 0 1 I +X ~ SER 0 -100 100 R 30 30 0 1 I +X ~ CLK1 0 -200 100 R 30 30 0 1 I +X ~ CLK2 0 -300 100 R 30 30 0 1 I +X ~ A 0 -400 100 R 30 30 0 1 I +X ~ B 0 -500 100 R 30 30 0 1 I +X ~ C 0 -600 100 R 30 30 0 1 I +X ~ D 0 -700 100 R 30 30 0 1 I +X ~ QA 600 -400 100 L 30 30 0 1 O +X ~ QB 600 -500 100 L 30 30 0 1 O +X ~ QC 600 -600 100 L 30 30 0 1 O +X ~ QD 600 -700 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7496_PSPICE +# +DEF 7496_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7496_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 200 N +X ~ PRE 300 300 100 D 30 30 0 1 I +X ~ SERIAL 0 0 100 R 30 30 0 1 I +X ~ \CLR\ 300 -900 100 U 30 30 0 1 I +X ~ CLK 0 -100 100 R 30 30 0 1 I +X ~ A 0 -200 100 R 30 30 0 1 I +X ~ B 0 -300 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -500 100 R 30 30 0 1 I +X ~ E 0 -600 100 R 30 30 0 1 I +X ~ QA 600 -200 100 L 30 30 0 1 O +X ~ QB 600 -300 100 L 30 30 0 1 O +X ~ QC 600 -400 100 L 30 30 0 1 O +X ~ QD 600 -500 100 L 30 30 0 1 O +X ~ QE 600 -600 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74100_PSPICE +# +DEF 74100_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74100_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -500 0 1 0 N +X ~ C 0 0 100 R 30 30 0 1 I +X ~ D1 0 -100 100 R 30 30 0 1 I +X ~ D2 0 -200 100 R 30 30 0 1 I +X ~ D3 0 -300 100 R 30 30 0 1 I +X ~ D4 0 -400 100 R 30 30 0 1 I +X ~ Q1 600 -100 100 L 30 30 0 1 O +X ~ Q2 600 -200 100 L 30 30 0 1 O +X ~ Q3 600 -300 100 L 30 30 0 1 O +X ~ Q4 600 -400 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -600 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74107_PSPICE +# +DEF 74107_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74107_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -600 0 1 0 N +X ~ J 0 0 100 R 30 30 0 1 I +X ~ K 0 -400 100 R 30 30 0 1 I +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \Q\ 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +X ~ CLK 0 -200 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 74109_PSPICE +# +DEF 74109_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74109_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -600 0 1 0 N +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ \K\ 0 -400 100 R 30 30 0 1 I +X ~ CLK 0 -200 100 R 30 30 0 1 I +X ~ J 0 0 100 R 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ \Q\ 600 -300 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 74110_PSPICE +# +DEF 74110_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74110_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -800 0 1 0 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J1 0 0 100 R 30 30 0 1 I +X ~ J2 0 -100 100 R 30 30 0 1 I +X ~ J3 0 -200 100 R 30 30 0 1 I +X ~ CLK 0 -300 100 R 30 30 0 1 I +X ~ K1 0 -400 100 R 30 30 0 1 I +X ~ K2 0 -500 100 R 30 30 0 1 I +X ~ K3 0 -600 100 R 30 30 0 1 I +X ~ Q 600 -200 100 L 30 30 0 1 O +X ~ \Q\ 600 -400 100 L 30 30 0 1 O +X ~ \CLR\ 300 -900 100 U 30 30 0 1 I +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74111_PSPICE +# +DEF 74111_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74111_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -600 0 1 0 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J 0 0 100 R 30 30 0 1 I +X ~ CLK 0 -200 100 R 30 30 0 1 I +X ~ K 0 -400 100 R 30 30 0 1 I +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \Q\ 600 -300 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74121_PSPICE +# +DEF 74121_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74121_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -700 0 1 0 N +X ~ A1 0 -400 100 R 30 30 0 1 P +X ~ A2 0 -500 100 R 30 30 0 1 P +X ~ B 0 -600 100 R 30 30 0 1 P +X ~ RINT 0 -100 100 R 30 30 0 1 P +X ~ CEXT 0 -200 100 R 30 30 0 1 P +X ~ Q 700 -200 100 L 30 30 0 1 P +X ~ \Q\ 700 -400 100 L 30 30 0 1 P +X ~ REXT/CEXT 0 0 100 R 30 30 0 1 P +X ~ GND 300 -800 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74122_PSPICE +# +DEF 74122_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74122_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -900 0 1 0 N +X ~ RINT 0 -100 100 R 30 30 0 1 P +X ~ GND 200 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ A1 0 -400 100 R 30 30 0 1 P +X ~ A2 0 -500 100 R 30 30 0 1 P +X ~ \Q\ 700 -400 100 L 30 30 0 1 P +X ~ Q 700 -200 100 L 30 30 0 1 P +X ~ REXT/CEXT 0 0 100 R 30 30 0 1 P +X ~ CEXT 0 -200 100 R 30 30 0 1 P +X ~ B1 0 -600 100 R 30 30 0 1 P +X ~ B2 0 -700 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1000 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74123_PSPICE +# +DEF 74123_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74123_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -600 0 1 0 N +X ~ GND 200 -700 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ Q 700 -100 100 L 30 30 0 1 P +X ~ \Q\ 700 -300 100 L 30 30 0 1 P +X ~ REXT/CEXT 0 0 100 R 30 30 0 1 P +X ~ CEXT 0 -100 100 R 30 30 0 1 P +X ~ \CLR\ 300 -700 100 U 30 30 0 1 P +X ~ A 0 -300 100 R 30 30 0 1 P +X ~ B 0 -400 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74125_PSPICE +# +DEF 74125_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74125_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -300 100 -100 N +P 2 0 1 0 100 -100 100 -500 N +P 2 0 1 0 100 -500 400 -300 N +P 2 0 1 0 100 0 250 0 N +P 2 0 1 0 250 0 250 -140 N +C 250 -160 40 0 1 0 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ Y 500 -300 100 L 30 30 0 1 O +X ~ GND 200 -530 100 U 30 30 0 1 W +X ~ PWR 200 -70 100 D 30 30 0 1 W +X ~ \G\ 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 74126_PSPICE +# +DEF 74126_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74126_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -300 100 -100 N +P 2 0 1 0 100 -100 100 -500 N +P 2 0 1 0 100 -500 400 -300 N +P 2 0 1 0 100 0 250 0 N +P 2 0 1 0 250 0 250 -200 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ Y 500 -300 100 L 30 30 0 1 O +X ~ GND 200 -530 100 U 30 30 0 1 W +X ~ PWR 200 -70 100 D 30 30 0 1 W +X ~ G 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 74128_PSPICE +# +DEF 74128_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74128_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 300 100 N +P 2 0 1 0 100 -300 300 -300 N +A 300 -220 320 219 899 0 1 0 N 597 -101 300 100 +A 300 30 330 -899 -235 0 1 0 N 300 -300 602 -101 +A -290 -100 400 -296 296 0 1 0 N 57 -298 57 98 +A -250 -100 400 -296 296 0 1 0 N 97 -298 97 98 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74132_PSPICE +# +DEF 74132_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74132_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74136_PSPICE +# +DEF 74136_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74136_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 300 100 N +P 2 0 1 0 100 -300 300 -300 N +A 300 -220 320 219 899 0 1 0 N 597 -101 300 100 +A 300 30 330 -899 -235 0 1 0 N 300 -300 602 -101 +A -290 -100 400 -296 296 0 1 0 N 57 -298 57 98 +A -250 -100 400 -296 296 0 1 0 N 97 -298 97 98 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74147_PSPICE +# +DEF 74147_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74147_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ B 600 -300 100 L 30 30 0 1 P +X ~ A 600 -100 100 L 30 30 0 1 P +X ~ C 600 -500 100 L 30 30 0 1 P +X ~ D 600 -700 100 L 30 30 0 1 P +X ~ IN1 0 0 100 R 30 30 0 1 P +X ~ IN2 0 -100 100 R 30 30 0 1 P +X ~ IN3 0 -200 100 R 30 30 0 1 P +X ~ IN4 0 -300 100 R 30 30 0 1 P +X ~ IN5 0 -400 100 R 30 30 0 1 P +X ~ IN6 0 -500 100 R 30 30 0 1 P +X ~ IN7 0 -600 100 R 30 30 0 1 P +X ~ IN8 0 -700 100 R 30 30 0 1 P +X ~ IN9 0 -800 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74148_PSPICE +# +DEF 74148_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74148_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ A1 600 -200 100 L 30 30 0 1 P +X ~ A0 600 0 100 L 30 30 0 1 P +X ~ A2 600 -400 100 L 30 30 0 1 P +X ~ GS 600 -600 100 L 30 30 0 1 P +X ~ IN0 0 0 100 R 30 30 0 1 P +X ~ IN1 0 -100 100 R 30 30 0 1 P +X ~ IN2 0 -200 100 R 30 30 0 1 P +X ~ IN3 0 -300 100 R 30 30 0 1 P +X ~ IN4 0 -400 100 R 30 30 0 1 P +X ~ IN5 0 -500 100 R 30 30 0 1 P +X ~ IN6 0 -600 100 R 30 30 0 1 P +X ~ IN7 0 -700 100 R 30 30 0 1 P +X ~ EI 0 -800 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ EO 600 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74151A_PSPICE +# +DEF 74151A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74151A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1400 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1500 100 U 30 30 0 1 W +X ~ Z 600 -300 100 L 30 30 0 1 O +X ~ \Z\ 600 -700 100 L 30 30 0 1 O +X ~ \E\ 0 0 100 R 30 30 0 1 I +X ~ I0 0 -200 100 R 30 30 0 1 I +X ~ I1 0 -300 100 R 30 30 0 1 I +X ~ I2 0 -400 100 R 30 30 0 1 I +X ~ I3 0 -500 100 R 30 30 0 1 I +X ~ I4 0 -600 100 R 30 30 0 1 I +X ~ I5 0 -700 100 R 30 30 0 1 I +X ~ I6 0 -800 100 R 30 30 0 1 I +X ~ I7 0 -900 100 R 30 30 0 1 I +X ~ S0 0 -1100 100 R 30 30 0 1 I +X ~ S1 0 -1200 100 R 30 30 0 1 I +X ~ S2 0 -1300 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 54152A_PSPICE +# +DEF 54152A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "54152A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1200 0 1 0 N +X ~ W 600 -500 100 L 30 30 0 1 O +X ~ GND 300 -1300 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ D0 0 0 100 R 30 30 0 1 I +X ~ D1 0 -100 100 R 30 30 0 1 I +X ~ D2 0 -200 100 R 30 30 0 1 I +X ~ D3 0 -300 100 R 30 30 0 1 I +X ~ D4 0 -400 100 R 30 30 0 1 I +X ~ D5 0 -500 100 R 30 30 0 1 I +X ~ D6 0 -600 100 R 30 30 0 1 I +X ~ D7 0 -700 100 R 30 30 0 1 I +X ~ A 0 -900 100 R 30 30 0 1 I +X ~ B 0 -1000 100 R 30 30 0 1 I +X ~ C 0 -1100 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 74153_PSPICE +# +DEF 74153_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74153_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1400 0 1 0 N +X ~ GND 300 -1500 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ ZA 600 -500 100 L 30 30 0 1 O +X ~ ZB 600 -1100 100 L 30 30 0 1 O +X ~ S0 0 0 100 R 30 30 0 1 I +X ~ S1 0 -100 100 R 30 30 0 1 I +X ~ \EA\ 0 -300 100 R 30 30 0 1 I +X ~ I0A 0 -400 100 R 30 30 0 1 I +X ~ I1A 0 -500 100 R 30 30 0 1 I +X ~ I2A 0 -600 100 R 30 30 0 1 I +X ~ I3A 0 -700 100 R 30 30 0 1 I +X ~ \EB\ 0 -900 100 R 30 30 0 1 I +X ~ I0B 0 -1000 100 R 30 30 0 1 I +X ~ I1B 0 -1100 100 R 30 30 0 1 I +X ~ I2B 0 -1200 100 R 30 30 0 1 I +X ~ I3B 0 -1300 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 74154_PSPICE +# +DEF 74154_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74154_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1600 0 1 0 N +X ~ GND 300 -1700 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \G\1 0 0 100 R 30 30 0 1 I +X ~ \G\2 0 -200 100 R 30 30 0 1 I +X ~ A 0 -600 100 R 30 30 0 1 I +X ~ B 0 -800 100 R 30 30 0 1 I +X ~ C 0 -1000 100 R 30 30 0 1 I +X ~ D 0 -1200 100 R 30 30 0 1 I +X ~ Y0 600 0 100 L 30 30 0 1 O +X ~ Y1 600 -100 100 L 30 30 0 1 O +X ~ Y2 600 -200 100 L 30 30 0 1 O +X ~ Y3 600 -300 100 L 30 30 0 1 O +X ~ Y4 600 -400 100 L 30 30 0 1 O +X ~ Y5 600 -500 100 L 30 30 0 1 O +X ~ Y6 600 -600 100 L 30 30 0 1 O +X ~ Y7 600 -700 100 L 30 30 0 1 O +X ~ Y8 600 -800 100 L 30 30 0 1 O +X ~ Y9 600 -900 100 L 30 30 0 1 O +X ~ Y10 600 -1000 100 L 30 30 0 1 O +X ~ Y11 600 -1100 100 L 30 30 0 1 O +X ~ Y12 600 -1200 100 L 30 30 0 1 O +X ~ Y13 600 -1300 100 L 30 30 0 1 O +X ~ Y14 600 -1400 100 L 30 30 0 1 O +X ~ Y15 600 -1500 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 74155_PSPICE +# +DEF 74155_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74155_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ 1Y0 600 0 100 L 30 30 0 1 O +X ~ 1Y1 600 -100 100 L 30 30 0 1 O +X ~ 1Y2 600 -200 100 L 30 30 0 1 O +X ~ 1Y3 600 -300 100 L 30 30 0 1 O +X ~ 2Y0 600 -400 100 L 30 30 0 1 O +X ~ 2Y1 600 -500 100 L 30 30 0 1 O +X ~ 2Y2 600 -600 100 L 30 30 0 1 O +X ~ 2Y3 600 -700 100 L 30 30 0 1 O +X ~ 1\G\ 0 0 100 R 30 30 0 1 I +X ~ 1C 0 -100 100 R 30 30 0 1 I +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ B 0 -400 100 R 30 30 0 1 I +X ~ 2\G\ 0 -600 100 R 30 30 0 1 I +X ~ 2\C\ 0 -700 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74156_PSPICE +# +DEF 74156_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74156_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ 1Y0 600 0 100 L 30 30 0 1 O +X ~ 1Y1 600 -100 100 L 30 30 0 1 O +X ~ 1Y2 600 -200 100 L 30 30 0 1 O +X ~ 1Y3 600 -300 100 L 30 30 0 1 O +X ~ 2Y0 600 -400 100 L 30 30 0 1 O +X ~ 2Y1 600 -500 100 L 30 30 0 1 O +X ~ 2Y2 600 -600 100 L 30 30 0 1 O +X ~ 2Y3 600 -700 100 L 30 30 0 1 O +X ~ 1\G\ 0 0 100 R 30 30 0 1 I +X ~ 1C 0 -100 100 R 30 30 0 1 I +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ B 0 -400 100 R 30 30 0 1 I +X ~ 2\G\ 0 -600 100 R 30 30 0 1 I +X ~ 2\C\ 0 -700 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74157_PSPICE +# +DEF 74157_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74157_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1100 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +X ~ 1Y 700 -100 100 L 30 30 0 1 P +X ~ 2Y 700 -300 100 L 30 30 0 1 P +X ~ 3Y 700 -500 100 L 30 30 0 1 P +X ~ 4Y 700 -700 100 L 30 30 0 1 P +X ~ 1A 0 0 100 R 30 30 0 1 P +X ~ 1B 0 -100 100 R 30 30 0 1 P +X ~ 2A 0 -200 100 R 30 30 0 1 P +X ~ 2B 0 -300 100 R 30 30 0 1 P +X ~ 3A 0 -400 100 R 30 30 0 1 P +X ~ 3B 0 -500 100 R 30 30 0 1 P +X ~ 4A 0 -600 100 R 30 30 0 1 P +X ~ 4B 0 -700 100 R 30 30 0 1 P +X ~ STROBE\G\ 0 -900 100 R 30 30 0 1 P +X ~ SELECT\A\B 0 -1000 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74159_PSPICE +# +DEF 74159_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74159_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1600 0 1 0 N +X ~ GND 300 -1700 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \G\1 0 0 100 R 30 30 0 1 I +X ~ \G\2 0 -200 100 R 30 30 0 1 I +X ~ A 0 -600 100 R 30 30 0 1 I +X ~ B 0 -800 100 R 30 30 0 1 I +X ~ C 0 -1000 100 R 30 30 0 1 I +X ~ D 0 -1200 100 R 30 30 0 1 I +X ~ Y0 600 0 100 L 30 30 0 1 O +X ~ Y1 600 -100 100 L 30 30 0 1 O +X ~ Y2 600 -200 100 L 30 30 0 1 O +X ~ Y3 600 -300 100 L 30 30 0 1 O +X ~ Y4 600 -400 100 L 30 30 0 1 O +X ~ Y5 600 -500 100 L 30 30 0 1 O +X ~ Y6 600 -600 100 L 30 30 0 1 O +X ~ Y7 600 -700 100 L 30 30 0 1 O +X ~ Y8 600 -800 100 L 30 30 0 1 O +X ~ Y9 600 -900 100 L 30 30 0 1 O +X ~ Y10 600 -1000 100 L 30 30 0 1 O +X ~ Y11 600 -1100 100 L 30 30 0 1 O +X ~ Y12 600 -1200 100 L 30 30 0 1 O +X ~ Y13 600 -1300 100 L 30 30 0 1 O +X ~ Y14 600 -1400 100 L 30 30 0 1 O +X ~ Y15 600 -1500 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 74160_PSPICE +# +DEF 74160_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74160_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 I +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ CLK 0 -500 100 R 30 30 0 1 I +X ~ ENT 0 -600 100 R 30 30 0 1 I +X ~ ENP 0 -700 100 R 30 30 0 1 I +X ~ \LOAD\ 0 -800 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ RCO 600 -400 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 74161_PSPICE +# +DEF 74161_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74161_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 I +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ CLK 0 -500 100 R 30 30 0 1 I +X ~ ENT 0 -600 100 R 30 30 0 1 I +X ~ ENP 0 -700 100 R 30 30 0 1 I +X ~ \LOAD\ 0 -800 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ RCO 600 -400 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 74162_PSPICE +# +DEF 74162_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74162_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 I +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ CLK 0 -500 100 R 30 30 0 1 I +X ~ ENT 0 -600 100 R 30 30 0 1 I +X ~ ENP 0 -700 100 R 30 30 0 1 I +X ~ \LOAD\ 0 -800 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ RCO 600 -400 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 74163_PSPICE +# +DEF 74163_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74163_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 I +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ CLK 0 -500 100 R 30 30 0 1 I +X ~ ENT 0 -600 100 R 30 30 0 1 I +X ~ ENP 0 -700 100 R 30 30 0 1 I +X ~ \LOAD\ 0 -800 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ RCO 600 -400 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 74164_PSPICE +# +DEF 74164_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74164_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 300 500 -700 0 1 0 N +X ~ GND 200 -800 100 U 30 30 0 1 W +X ~ PWR 300 400 100 D 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ CLK 0 -400 100 R 30 30 0 1 I +X ~ QA 600 200 100 L 30 30 0 1 O +X ~ QB 600 100 100 L 30 30 0 1 O +X ~ QC 600 0 100 L 30 30 0 1 O +X ~ QD 600 -100 100 L 30 30 0 1 O +X ~ QE 600 -200 100 L 30 30 0 1 O +X ~ QF 600 -300 100 L 30 30 0 1 O +X ~ QG 600 -400 100 L 30 30 0 1 O +X ~ QH 600 -500 100 L 30 30 0 1 O +X ~ \CLR\ 300 -800 100 U 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 74173_PSPICE +# +DEF 74173_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74173_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ GND 200 -1200 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ CLR 300 -1200 100 U 30 30 0 1 I +X ~ \G\1 0 -100 100 R 30 30 0 1 I +X ~ \G\2 0 -200 100 R 30 30 0 1 I +X ~ 1D 0 -300 100 R 30 30 0 1 I +X ~ 2D 0 -400 100 R 30 30 0 1 I +X ~ 3D 0 -500 100 R 30 30 0 1 I +X ~ 4D 0 -600 100 R 30 30 0 1 I +X ~ M 0 -800 100 R 30 30 0 1 I +X ~ N 0 -900 100 R 30 30 0 1 I +X ~ 1Q 600 -300 100 L 30 30 0 1 O +X ~ 2Q 600 -400 100 L 30 30 0 1 O +X ~ 3Q 600 -500 100 L 30 30 0 1 O +X ~ 4Q 600 -600 100 L 30 30 0 1 O +X ~ CLK 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74174_PSPICE +# +DEF 74174_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74174_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ 1D 0 0 100 R 30 30 0 1 P +X ~ 2D 0 -100 100 R 30 30 0 1 P +X ~ 3D 0 -200 100 R 30 30 0 1 P +X ~ 4D 0 -300 100 R 30 30 0 1 P +X ~ 5D 0 -400 100 R 30 30 0 1 P +X ~ CLK 0 -600 100 R 30 30 0 1 P +X ~ \CLR\ 300 -900 100 U 30 30 0 1 P +X ~ 1Q 600 0 100 L 30 30 0 1 P +X ~ 2Q 600 -100 100 L 30 30 0 1 P +X ~ 4Q 600 -300 100 L 30 30 0 1 P +X ~ 5Q 600 -400 100 L 30 30 0 1 P +X ~ GND 200 -900 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ 3Q 600 -200 100 L 30 30 0 1 P +X ~ 6D 0 -500 100 R 30 30 0 1 P +X ~ 6Q 600 -500 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74175_PSPICE +# +DEF 74175_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74175_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ 1D 0 0 100 R 30 30 0 1 P +X ~ 2D 0 -200 100 R 30 30 0 1 P +X ~ 3D 0 -400 100 R 30 30 0 1 P +X ~ 4D 0 -600 100 R 30 30 0 1 P +X ~ CLK 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +X ~ 1Q 600 0 100 L 30 30 0 1 P +X ~ 1\Q\ 600 -100 100 L 30 30 0 1 P +X ~ 3Q 600 -400 100 L 30 30 0 1 P +X ~ 4Q 600 -600 100 L 30 30 0 1 P +X ~ 2\Q\ 600 -300 100 L 30 30 0 1 P +X ~ 3\Q\ 600 -500 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ 2Q 600 -200 100 L 30 30 0 1 P +X ~ 4\Q\ 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74176_PSPICE +# +DEF 74176_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74176_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ GND 200 -900 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \LOAD\ 0 0 100 R 30 30 0 1 P +X ~ A 0 -100 100 R 30 30 0 1 P +X ~ B 0 -200 100 R 30 30 0 1 P +X ~ C 0 -300 100 R 30 30 0 1 P +X ~ D 0 -400 100 R 30 30 0 1 P +X ~ \CLR\ 300 -900 100 U 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -200 100 L 30 30 0 1 P +X ~ QC 600 -300 100 L 30 30 0 1 P +X ~ QD 600 -400 100 L 30 30 0 1 P +X ~ CLK1 0 -500 100 R 30 30 0 1 P +X ~ CLK2 0 -600 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74177_PSPICE +# +DEF 74177_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74177_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ GND 200 -900 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \LOAD\ 0 0 100 R 30 30 0 1 P +X ~ A 0 -100 100 R 30 30 0 1 P +X ~ B 0 -200 100 R 30 30 0 1 P +X ~ C 0 -300 100 R 30 30 0 1 P +X ~ D 0 -400 100 R 30 30 0 1 P +X ~ \CLR\ 300 -900 100 U 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -200 100 L 30 30 0 1 P +X ~ QC 600 -300 100 L 30 30 0 1 P +X ~ QD 600 -400 100 L 30 30 0 1 P +X ~ CLK1 0 -500 100 R 30 30 0 1 P +X ~ CLK2 0 -600 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74178_PSPICE +# +DEF 74178_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74178_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 300 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ SERIAL 0 0 100 R 30 30 0 1 P +X ~ LOAD 0 -100 100 R 30 30 0 1 P +X ~ SHIFT 0 -200 100 R 30 30 0 1 P +X ~ A 0 -400 100 R 30 30 0 1 P +X ~ B 0 -500 100 R 30 30 0 1 P +X ~ C 0 -600 100 R 30 30 0 1 P +X ~ D 0 -700 100 R 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +X ~ CLK 0 -900 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74179_PSPICE +# +DEF 74179_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74179_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ GND 200 -1200 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ SERIAL 0 0 100 R 30 30 0 1 P +X ~ LOAD 0 -100 100 R 30 30 0 1 P +X ~ SHIFT 0 -200 100 R 30 30 0 1 P +X ~ A 0 -400 100 R 30 30 0 1 P +X ~ B 0 -500 100 R 30 30 0 1 P +X ~ C 0 -600 100 R 30 30 0 1 P +X ~ D 0 -700 100 R 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +X ~ CLK 0 -900 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1200 100 U 30 30 0 1 P +X ~ \Q\D 600 -900 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74180_PSPICE +# +DEF 74180_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74180_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1000 0 1 0 N +X ~ GND 300 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 P +X ~ B 0 -100 100 R 30 30 0 1 P +X ~ C 0 -200 100 R 30 30 0 1 P +X ~ D 0 -300 100 R 30 30 0 1 P +X ~ E 0 -400 100 R 30 30 0 1 P +X ~ F 0 -500 100 R 30 30 0 1 P +X ~ G 0 -600 100 R 30 30 0 1 P +X ~ H 0 -700 100 R 30 30 0 1 P +X ~ ODD_IN 0 -900 100 R 30 30 0 1 P +X ~ EVEN_IN 0 -800 100 R 30 30 0 1 P +X ~ ODD_OUT 700 -400 100 L 30 30 0 1 P +X ~ EVEN_OUT 700 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74181_PSPICE +# +DEF 74181_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74181_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 600 -1000 0 1 0 N +X ~ S1 400 300 100 D 30 30 0 1 P +X ~ S2 300 300 100 D 30 30 0 1 P +X ~ S3 200 300 100 D 30 30 0 1 P +X ~ \A\0 0 0 100 R 30 30 0 1 P +X ~ \A\1 0 -100 100 R 30 30 0 1 P +X ~ \A\2 0 -200 100 R 30 30 0 1 P +X ~ \A\3 0 -300 100 R 30 30 0 1 P +X ~ \B\0 0 -400 100 R 30 30 0 1 P +X ~ \B\1 0 -500 100 R 30 30 0 1 P +X ~ \B\2 0 -600 100 R 30 30 0 1 P +X ~ \B\3 0 -700 100 R 30 30 0 1 P +X ~ GND 300 -1100 100 U 30 30 0 1 W +X ~ PWR 100 300 100 D 30 30 0 1 W +X ~ CN 0 -800 100 R 30 30 0 1 P +X ~ M 0 -900 100 R 30 30 0 1 P +X ~ \F\0 700 0 100 L 30 30 0 1 P +X ~ \F\1 700 -100 100 L 30 30 0 1 P +X ~ \F\2 700 -200 100 L 30 30 0 1 P +X ~ \F\3 700 -300 100 L 30 30 0 1 P +X ~ A=B 700 -500 100 L 30 30 0 1 P +X ~ CN+4 700 -600 100 L 30 30 0 1 P +X ~ \G\ 700 -700 100 L 30 30 0 1 P +X ~ \P\ 700 -800 100 L 30 30 0 1 P +X ~ S0 500 300 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74182_PSPICE +# +DEF 74182_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74182_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ \P\0 0 0 100 R 30 30 0 1 P +X ~ \P\1 0 -100 100 R 30 30 0 1 P +X ~ \P\2 0 -200 100 R 30 30 0 1 P +X ~ \P\3 0 -300 100 R 30 30 0 1 P +X ~ \G\0 0 -400 100 R 30 30 0 1 P +X ~ \G\1 0 -500 100 R 30 30 0 1 P +X ~ \G\3 0 -700 100 R 30 30 0 1 P +X ~ CN 0 -800 100 R 30 30 0 1 P +X ~ \G\2 0 -600 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ \P\ 600 -200 100 L 30 30 0 1 P +X ~ \G\ 600 -400 100 L 30 30 0 1 P +X ~ CN+Z 600 -800 100 L 30 30 0 1 P +X ~ CN+X 600 -600 100 L 30 30 0 1 P +X ~ CN+Y 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74184_PSPICE +# +DEF 74184_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74184_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ A 0 -200 100 R 30 30 0 1 P +X ~ B 0 -300 100 R 30 30 0 1 P +X ~ C 0 -400 100 R 30 30 0 1 P +X ~ D 0 -500 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ E 0 -600 100 R 30 30 0 1 P +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ Y1 600 0 100 L 30 30 0 1 P +X ~ Y2 600 -100 100 L 30 30 0 1 P +X ~ Y3 600 -200 100 L 30 30 0 1 P +X ~ Y4 600 -300 100 L 30 30 0 1 P +X ~ Y5 600 -400 100 L 30 30 0 1 P +X ~ Y6 600 -500 100 L 30 30 0 1 P +X ~ Y7 600 -600 100 L 30 30 0 1 P +X ~ Y8 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74185A_PSPICE +# +DEF 74185A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74185A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ A 0 -200 100 R 30 30 0 1 P +X ~ B 0 -300 100 R 30 30 0 1 P +X ~ C 0 -400 100 R 30 30 0 1 P +X ~ D 0 -500 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ E 0 -600 100 R 30 30 0 1 P +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ Y1 600 0 100 L 30 30 0 1 P +X ~ Y2 600 -100 100 L 30 30 0 1 P +X ~ Y3 600 -200 100 L 30 30 0 1 P +X ~ Y4 600 -300 100 L 30 30 0 1 P +X ~ Y5 600 -400 100 L 30 30 0 1 P +X ~ Y6 600 -500 100 L 30 30 0 1 P +X ~ Y7 600 -600 100 L 30 30 0 1 P +X ~ Y8 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74194_PSPICE +# +DEF 74194_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74194_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ S1 0 0 100 R 30 30 0 1 P +X ~ S0 0 -100 100 R 30 30 0 1 P +X ~ SR 0 -300 100 R 30 30 0 1 P +X ~ A 0 -400 100 R 30 30 0 1 P +X ~ B 0 -500 100 R 30 30 0 1 P +X ~ C 0 -600 100 R 30 30 0 1 P +X ~ D 0 -700 100 R 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ CLK 0 -800 100 R 30 30 0 1 P +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ SL 0 -200 100 R 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74195_PSPICE +# +DEF 74195_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74195_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1200 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -1300 100 U 30 30 0 1 W +X ~ SH/\LD\ 0 0 100 R 30 30 0 1 P +X ~ J 0 -200 100 R 30 30 0 1 P +X ~ \K\ 0 -300 100 R 30 30 0 1 P +X ~ CLK 0 -1000 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1300 100 U 30 30 0 1 P +X ~ A 0 -500 100 R 30 30 0 1 P +X ~ B 0 -600 100 R 30 30 0 1 P +X ~ C 0 -700 100 R 30 30 0 1 P +X ~ D 0 -800 100 R 30 30 0 1 P +X ~ QA 600 -200 100 L 30 30 0 1 P +X ~ QB 600 -400 100 L 30 30 0 1 P +X ~ QC 600 -600 100 L 30 30 0 1 P +X ~ QD 600 -800 100 L 30 30 0 1 P +X ~ \Q\D 600 -1000 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74196_PSPICE +# +DEF 74196_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74196_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \LOAD\ 0 0 100 R 30 30 0 1 P +X ~ CLK1 0 -200 100 R 30 30 0 1 P +X ~ CLK2 0 -300 100 R 30 30 0 1 P +X ~ A 0 -500 100 R 30 30 0 1 P +X ~ B 0 -600 100 R 30 30 0 1 P +X ~ C 0 -700 100 R 30 30 0 1 P +X ~ D 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74197_PSPICE +# +DEF 74197_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74197_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \LOAD\ 0 0 100 R 30 30 0 1 P +X ~ CLK1 0 -200 100 R 30 30 0 1 P +X ~ CLK2 0 -300 100 R 30 30 0 1 P +X ~ A 0 -500 100 R 30 30 0 1 P +X ~ B 0 -600 100 R 30 30 0 1 P +X ~ C 0 -700 100 R 30 30 0 1 P +X ~ D 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74246_PSPICE +# +DEF 74246_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74246_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ INA 0 0 100 R 30 30 0 1 P +X ~ INB 0 -100 100 R 30 30 0 1 P +X ~ INC 0 -200 100 R 30 30 0 1 P +X ~ IND 0 -300 100 R 30 30 0 1 P +X ~ \BI\/\RBO\ 0 -800 100 R 30 30 0 1 P +X ~ \LT\ 0 -600 100 R 30 30 0 1 P +X ~ \RBI\ 0 -700 100 R 30 30 0 1 P +X ~ OUTA 600 0 100 L 30 30 0 1 P +X ~ OUTB 600 -100 100 L 30 30 0 1 P +X ~ OUTC 600 -200 100 L 30 30 0 1 P +X ~ OUTD 600 -300 100 L 30 30 0 1 P +X ~ OUTE 600 -400 100 L 30 30 0 1 P +X ~ OUTF 600 -500 100 L 30 30 0 1 P +X ~ OUTG 600 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74248_PSPICE +# +DEF 74248_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74248_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ INA 0 0 100 R 30 30 0 1 P +X ~ INB 0 -100 100 R 30 30 0 1 P +X ~ INC 0 -200 100 R 30 30 0 1 P +X ~ IND 0 -300 100 R 30 30 0 1 P +X ~ \BI\/\RBO\ 0 -800 100 R 30 30 0 1 P +X ~ \LT\ 0 -600 100 R 30 30 0 1 P +X ~ \RBI\ 0 -700 100 R 30 30 0 1 P +X ~ OUTA 600 0 100 L 30 30 0 1 P +X ~ OUTB 600 -100 100 L 30 30 0 1 P +X ~ OUTC 600 -200 100 L 30 30 0 1 P +X ~ OUTD 600 -300 100 L 30 30 0 1 P +X ~ OUTE 600 -400 100 L 30 30 0 1 P +X ~ OUTF 600 -500 100 L 30 30 0 1 P +X ~ OUTG 600 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74249_PSPICE +# +DEF 74249_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74249_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ INA 0 0 100 R 30 30 0 1 P +X ~ INB 0 -100 100 R 30 30 0 1 P +X ~ INC 0 -200 100 R 30 30 0 1 P +X ~ IND 0 -300 100 R 30 30 0 1 P +X ~ \BI\/\RBO\ 0 -800 100 R 30 30 0 1 P +X ~ \LT\ 0 -600 100 R 30 30 0 1 P +X ~ \RBI\ 0 -700 100 R 30 30 0 1 P +X ~ OUTA 600 0 100 L 30 30 0 1 P +X ~ OUTB 600 -100 100 L 30 30 0 1 P +X ~ OUTC 600 -200 100 L 30 30 0 1 P +X ~ OUTD 600 -300 100 L 30 30 0 1 P +X ~ OUTE 600 -400 100 L 30 30 0 1 P +X ~ OUTF 600 -500 100 L 30 30 0 1 P +X ~ OUTG 600 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74251_PSPICE +# +DEF 74251_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74251_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1400 0 1 0 N +X ~ D0 0 -200 100 R 30 30 0 1 P +X ~ D1 0 -300 100 R 30 30 0 1 P +X ~ D2 0 -400 100 R 30 30 0 1 P +X ~ D3 0 -500 100 R 30 30 0 1 P +X ~ D4 0 -600 100 R 30 30 0 1 P +X ~ D6 0 -800 100 R 30 30 0 1 P +X ~ D7 0 -900 100 R 30 30 0 1 P +X ~ A 0 -1100 100 R 30 30 0 1 P +X ~ B 0 -1200 100 R 30 30 0 1 P +X ~ C 0 -1300 100 R 30 30 0 1 P +X ~ Y 600 -200 100 L 30 30 0 1 P +X ~ \W\ 600 -400 100 L 30 30 0 1 P +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1500 100 U 30 30 0 1 W +X ~ D5 0 -700 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74259_PSPICE +# +DEF 74259_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74259_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -1000 100 U 30 30 0 1 W +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ D 0 -200 100 R 30 30 0 1 P +X ~ S0 0 -400 100 R 30 30 0 1 P +X ~ S1 0 -500 100 R 30 30 0 1 P +X ~ S2 0 -600 100 R 30 30 0 1 P +X ~ Q0 600 0 100 L 30 30 0 1 P +X ~ Q1 600 -100 100 L 30 30 0 1 P +X ~ Q2 600 -200 100 L 30 30 0 1 P +X ~ Q3 600 -300 100 L 30 30 0 1 P +X ~ Q4 600 -400 100 L 30 30 0 1 P +X ~ Q5 600 -500 100 L 30 30 0 1 P +X ~ Q6 600 -600 100 L 30 30 0 1 P +X ~ Q7 600 -700 100 L 30 30 0 1 P +X ~ \CLR\ 300 -1000 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74265_PSPICE +# +DEF 74265_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74265_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +X ~ 1W 600 0 100 L 30 30 0 1 P +X ~ 1Y 600 -100 100 L 30 30 0 1 P +X ~ 2A 0 -300 100 R 30 30 0 1 P +X ~ 2B 0 -400 100 R 30 30 0 1 P +X ~ 2W 600 -300 100 L 30 30 0 1 P +X ~ 2Y 600 -400 100 L 30 30 0 1 P +X ~ 3A 0 -600 100 R 30 30 0 1 P +X ~ 3B 0 -700 100 R 30 30 0 1 P +X ~ 3Y 600 -700 100 L 30 30 0 1 P +X ~ 4A 0 -900 100 R 30 30 0 1 P +X ~ 4W 600 -900 100 L 30 30 0 1 P +X ~ 3W 600 -600 100 L 30 30 0 1 P +X ~ 4Y 600 -1000 100 L 30 30 0 1 P +X ~ 1A 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74273_PSPICE +# +DEF 74273_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74273_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ D1 0 0 100 R 30 30 0 1 P +X ~ D2 0 -100 100 R 30 30 0 1 P +X ~ D3 0 -200 100 R 30 30 0 1 P +X ~ D4 0 -300 100 R 30 30 0 1 P +X ~ D5 0 -400 100 R 30 30 0 1 P +X ~ D6 0 -500 100 R 30 30 0 1 P +X ~ D7 0 -600 100 R 30 30 0 1 P +X ~ D8 0 -700 100 R 30 30 0 1 P +X ~ CLK 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +X ~ Q1 600 0 100 L 30 30 0 1 P +X ~ Q2 600 -100 100 L 30 30 0 1 P +X ~ Q3 600 -200 100 L 30 30 0 1 P +X ~ Q4 600 -300 100 L 30 30 0 1 P +X ~ Q5 600 -400 100 L 30 30 0 1 P +X ~ Q6 600 -500 100 L 30 30 0 1 P +X ~ Q7 600 -600 100 L 30 30 0 1 P +X ~ Q8 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74276_PSPICE +# +DEF 74276_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74276_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -1300 0 1 0 N +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -1400 100 U 30 30 0 1 W +X ~ \PRE\ 300 300 100 D 30 30 0 1 P +X ~ 1J 0 0 100 R 30 30 0 1 P +X ~ 1\K\ 0 -200 100 R 30 30 0 1 P +X ~ 1CLK 0 -100 100 R 30 30 0 1 P +X ~ 2J 0 -300 100 R 30 30 0 1 P +X ~ 2CLK 0 -400 100 R 30 30 0 1 P +X ~ 2\K\ 0 -500 100 R 30 30 0 1 P +X ~ 3J 0 -600 100 R 30 30 0 1 P +X ~ 3CLK 0 -700 100 R 30 30 0 1 P +X ~ 3\K\ 0 -800 100 R 30 30 0 1 P +X ~ 4J 0 -900 100 R 30 30 0 1 P +X ~ 4CLK 0 -1000 100 R 30 30 0 1 P +X ~ 4\K\ 0 -1100 100 R 30 30 0 1 P +X ~ 1Q 600 0 100 L 30 30 0 1 P +X ~ 2Q 600 -300 100 L 30 30 0 1 P +X ~ 3Q 600 -600 100 L 30 30 0 1 P +X ~ 4Q 600 -900 100 L 30 30 0 1 P +X ~ \CLR\ 300 -1400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74278_PSPICE +# +DEF 74278_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74278_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -700 0 1 0 N +X ~ GND 300 -800 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ P0 0 0 100 R 30 30 0 1 P +X ~ STRB 0 -100 100 R 30 30 0 1 P +X ~ D1 0 -300 100 R 30 30 0 1 P +X ~ D2 0 -400 100 R 30 30 0 1 P +X ~ D3 0 -500 100 R 30 30 0 1 P +X ~ D4 0 -600 100 R 30 30 0 1 P +X ~ P1 600 0 100 L 30 30 0 1 P +X ~ Y1 600 -300 100 L 30 30 0 1 P +X ~ Y2 600 -400 100 L 30 30 0 1 P +X ~ Y3 600 -500 100 L 30 30 0 1 P +X ~ Y4 600 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74279_PSPICE +# +DEF 74279_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74279_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -600 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -700 100 U 30 30 0 1 W +X ~ 1\R\ 0 0 100 R 30 30 0 1 P +X ~ 1\S\1 0 -100 100 R 30 30 0 1 P +X ~ 1\S\2 0 -200 100 R 30 30 0 1 P +X ~ 2\R\ 0 -400 100 R 30 30 0 1 P +X ~ 2\S\ 0 -500 100 R 30 30 0 1 P +X ~ 1Q 600 -200 100 L 30 30 0 1 P +X ~ 2Q 600 -500 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74283_PSPICE +# +DEF 74283_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74283_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1100 100 U 30 30 0 1 W +X ~ A1 0 -700 100 R 30 30 0 1 P +X ~ A2 0 -500 100 R 30 30 0 1 P +X ~ A3 0 -300 100 R 30 30 0 1 P +X ~ A4 0 -100 100 R 30 30 0 1 P +X ~ B1 0 -600 100 R 30 30 0 1 P +X ~ B2 0 -400 100 R 30 30 0 1 P +X ~ B3 0 -200 100 R 30 30 0 1 P +X ~ B4 0 0 100 R 30 30 0 1 P +X ~ C0 0 -900 100 R 30 30 0 1 P +X ~ C4 600 -900 100 L 30 30 0 1 P +X ~ SUM1 600 -700 100 L 30 30 0 1 P +X ~ SUM2 600 -500 100 L 30 30 0 1 P +X ~ SUM3 600 -300 100 L 30 30 0 1 P +X ~ SUM4 600 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74290_PSPICE +# +DEF 74290_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74290_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ R91 0 0 100 R 30 30 0 1 P +X ~ R92 0 -100 100 R 30 30 0 1 P +X ~ CLKA 0 -300 100 R 30 30 0 1 P +X ~ CLKB 0 -400 100 R 30 30 0 1 P +X ~ R01 0 -600 100 R 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +X ~ R02 0 -700 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74293_PSPICE +# +DEF 74293_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74293_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -500 0 1 0 N +X ~ GND 300 -600 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ CLKA 0 0 100 R 30 30 0 1 P +X ~ CLKB 0 -100 100 R 30 30 0 1 P +X ~ R01 0 -300 100 R 30 30 0 1 P +X ~ R02 0 -400 100 R 30 30 0 1 P +X ~ QA 600 0 100 L 30 30 0 1 P +X ~ QB 600 -100 100 L 30 30 0 1 P +X ~ QC 600 -200 100 L 30 30 0 1 P +X ~ QD 600 -300 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74298_PSPICE +# +DEF 74298_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74298_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +X ~ WS 0 0 100 R 30 30 0 1 P +X ~ A1 0 -200 100 R 30 30 0 1 P +X ~ A2 0 -300 100 R 30 30 0 1 P +X ~ B1 0 -400 100 R 30 30 0 1 P +X ~ B2 0 -500 100 R 30 30 0 1 P +X ~ C1 0 -600 100 R 30 30 0 1 P +X ~ C2 0 -700 100 R 30 30 0 1 P +X ~ D1 0 -800 100 R 30 30 0 1 P +X ~ D2 0 -900 100 R 30 30 0 1 P +X ~ CLK 0 -1000 100 R 30 30 0 1 P +X ~ QA 600 -200 100 L 30 30 0 1 P +X ~ QB 600 -400 100 L 30 30 0 1 P +X ~ QC 600 -600 100 L 30 30 0 1 P +X ~ QD 600 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74351_PSPICE +# +DEF 74351_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74351_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -2000 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -2100 100 U 30 30 0 1 W +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ 1D0 0 -200 100 R 30 30 0 1 P +X ~ 1D1 0 -300 100 R 30 30 0 1 P +X ~ 1D2 0 -400 100 R 30 30 0 1 P +X ~ 1D3 0 -500 100 R 30 30 0 1 P +X ~ D4 0 -1200 100 R 30 30 0 1 P +X ~ D5 0 -1300 100 R 30 30 0 1 P +X ~ D6 0 -1400 100 R 30 30 0 1 P +X ~ D7 0 -1500 100 R 30 30 0 1 P +X ~ A 0 -1700 100 R 30 30 0 1 P +X ~ B 0 -1800 100 R 30 30 0 1 P +X ~ C 0 -1900 100 R 30 30 0 1 P +X ~ 2D0 0 -700 100 R 30 30 0 1 P +X ~ 2D1 0 -800 100 R 30 30 0 1 P +X ~ 2D2 0 -900 100 R 30 30 0 1 P +X ~ 2D3 0 -1000 100 R 30 30 0 1 P +X ~ 1Y 600 -200 100 L 30 30 0 1 P +X ~ 2Y 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74365A_PSPICE +# +DEF 74365A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74365A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \G\1 0 0 100 R 30 30 0 1 P +X ~ \G\2 0 -100 100 R 30 30 0 1 P +X ~ A1 0 -300 100 R 30 30 0 1 P +X ~ A2 0 -400 100 R 30 30 0 1 P +X ~ A3 0 -500 100 R 30 30 0 1 P +X ~ A4 0 -600 100 R 30 30 0 1 P +X ~ A5 0 -700 100 R 30 30 0 1 P +X ~ A6 0 -800 100 R 30 30 0 1 P +X ~ Y1 600 -300 100 L 30 30 0 1 P +X ~ Y2 600 -400 100 L 30 30 0 1 P +X ~ Y3 600 -500 100 L 30 30 0 1 P +X ~ Y4 600 -600 100 L 30 30 0 1 P +X ~ Y5 600 -700 100 L 30 30 0 1 P +X ~ Y6 600 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74366A_PSPICE +# +DEF 74366A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74366A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \G\1 0 0 100 R 30 30 0 1 P +X ~ \G\2 0 -100 100 R 30 30 0 1 P +X ~ A1 0 -300 100 R 30 30 0 1 P +X ~ A2 0 -400 100 R 30 30 0 1 P +X ~ A3 0 -500 100 R 30 30 0 1 P +X ~ A4 0 -600 100 R 30 30 0 1 P +X ~ A5 0 -700 100 R 30 30 0 1 P +X ~ A6 0 -800 100 R 30 30 0 1 P +X ~ Y1 600 -300 100 L 30 30 0 1 P +X ~ Y2 600 -400 100 L 30 30 0 1 P +X ~ Y3 600 -500 100 L 30 30 0 1 P +X ~ Y4 600 -600 100 L 30 30 0 1 P +X ~ Y5 600 -700 100 L 30 30 0 1 P +X ~ Y6 600 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74367A_PSPICE +# +DEF 74367A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74367A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ 1\G\ 0 0 100 R 30 30 0 1 P +X ~ 1A1 0 -100 100 R 30 30 0 1 P +X ~ 1A2 0 -200 100 R 30 30 0 1 P +X ~ 1A3 0 -300 100 R 30 30 0 1 P +X ~ 1A4 0 -400 100 R 30 30 0 1 P +X ~ 2\G\ 0 -600 100 R 30 30 0 1 P +X ~ 2A1 0 -700 100 R 30 30 0 1 P +X ~ 2A2 0 -800 100 R 30 30 0 1 P +X ~ 1Y1 600 -100 100 L 30 30 0 1 P +X ~ 1Y2 600 -200 100 L 30 30 0 1 P +X ~ 1Y3 600 -300 100 L 30 30 0 1 P +X ~ 1Y4 600 -400 100 L 30 30 0 1 P +X ~ 2Y2 600 -800 100 L 30 30 0 1 P +X ~ 2Y1 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74368A_PSPICE +# +DEF 74368A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74368A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ 1\G\ 0 0 100 R 30 30 0 1 P +X ~ 1A1 0 -100 100 R 30 30 0 1 P +X ~ 1A2 0 -200 100 R 30 30 0 1 P +X ~ 1A3 0 -300 100 R 30 30 0 1 P +X ~ 1A4 0 -400 100 R 30 30 0 1 P +X ~ 2\G\ 0 -600 100 R 30 30 0 1 P +X ~ 2A1 0 -700 100 R 30 30 0 1 P +X ~ 2A2 0 -800 100 R 30 30 0 1 P +X ~ 1Y1 600 -100 100 L 30 30 0 1 P +X ~ 1Y2 600 -200 100 L 30 30 0 1 P +X ~ 1Y3 600 -300 100 L 30 30 0 1 P +X ~ 1Y4 600 -400 100 L 30 30 0 1 P +X ~ 2Y2 600 -800 100 L 30 30 0 1 P +X ~ 2Y1 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74376_PSPICE +# +DEF 74376_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74376_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ 1J 0 0 100 R 30 30 0 1 P +X ~ 2J 0 -200 100 R 30 30 0 1 P +X ~ 3J 0 -400 100 R 30 30 0 1 P +X ~ 4J 0 -600 100 R 30 30 0 1 P +X ~ 1\K\ 0 -100 100 R 30 30 0 1 P +X ~ 2\K\ 0 -300 100 R 30 30 0 1 P +X ~ 3\K\ 0 -500 100 R 30 30 0 1 P +X ~ 4\K\ 0 -700 100 R 30 30 0 1 P +X ~ 1Q 600 -100 100 L 30 30 0 1 P +X ~ 2Q 600 -300 100 L 30 30 0 1 P +X ~ 3Q 600 -500 100 L 30 30 0 1 P +X ~ 4Q 600 -700 100 L 30 30 0 1 P +X ~ CLK 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74390_PSPICE +# +DEF 74390_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74390_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -400 0 1 0 N +X ~ GND 200 -500 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +X ~ CKA 0 0 100 R 30 30 0 1 P +X ~ CKB 0 -200 100 R 30 30 0 1 P +X ~ CLR 300 -500 100 U 30 30 0 1 P +X ~ QA 600 100 100 L 30 30 0 1 P +X ~ QB 600 0 100 L 30 30 0 1 P +X ~ QC 600 -100 100 L 30 30 0 1 P +X ~ QD 600 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74393_PSPICE +# +DEF 74393_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74393_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -400 0 1 0 N +X ~ GND 200 -500 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 P +X ~ QA 600 0 100 L 30 30 0 1 P +X ~ QB 600 -100 100 L 30 30 0 1 P +X ~ QC 600 -200 100 L 30 30 0 1 P +X ~ QD 600 -300 100 L 30 30 0 1 P +X ~ CLR 300 -500 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74425_PSPICE +# +DEF 74425_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74425_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -300 100 -100 N +P 2 0 1 0 100 -100 100 -500 N +P 2 0 1 0 100 -500 400 -300 N +P 2 0 1 0 100 0 250 0 N +P 2 0 1 0 250 0 250 -140 N +C 250 -160 40 0 1 0 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ Y 500 -300 100 L 30 30 0 1 O +X ~ GND 200 -530 100 U 30 30 0 1 W +X ~ PWR 200 -70 100 D 30 30 0 1 W +X ~ \G\ 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 74426_PSPICE +# +DEF 74426_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74426_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -300 100 -100 N +P 2 0 1 0 100 -100 100 -500 N +P 2 0 1 0 100 -500 400 -300 N +P 2 0 1 0 100 0 250 0 N +P 2 0 1 0 250 0 250 -200 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ Y 500 -300 100 L 30 30 0 1 O +X ~ GND 200 -530 100 U 30 30 0 1 W +X ~ PWR 200 -70 100 D 30 30 0 1 W +X ~ G 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 74490_PSPICE +# +DEF 74490_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74490_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -400 0 1 0 N +X ~ GND 200 -500 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +X ~ SET9 0 0 100 R 30 30 0 1 P +X ~ CLK 0 -200 100 R 30 30 0 1 P +X ~ CLR 300 -500 100 U 30 30 0 1 P +X ~ QA 600 100 100 L 30 30 0 1 P +X ~ QB 600 0 100 L 30 30 0 1 P +X ~ QC 600 -100 100 L 30 30 0 1 P +X ~ QD 600 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 00_PSPICE +# +DEF 00_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "00_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 01_PSPICE +# +DEF 01_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "01_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ Y 700 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 02_PSPICE +# +DEF 02_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "02_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 300 -220 320 219 899 0 1 0 N 597 -101 300 100 +A 300 30 330 -899 -235 0 1 0 N 300 -300 602 -101 +A -290 -100 400 -296 296 0 1 0 N 57 -298 57 98 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 03_PSPICE +# +DEF 03_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "03_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 04_PSPICE +# +DEF 04_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "04_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 O +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 05_PSPICE +# +DEF 05_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "05_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 06_PSPICE +# +DEF 06_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "06_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 07_PSPICE +# +DEF 07_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "07_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 08_PSPICE +# +DEF 08_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "08_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 09_PSPICE +# +DEF 09_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "09_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 10_PSPICE +# +DEF 10_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "10_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 11_PSPICE +# +DEF 11_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "11_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 12_PSPICE +# +DEF 12_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "12_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 13_PSPICE +# +DEF 13_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "13_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 0 N +P 2 0 1 0 100 0 100 -400 N +P 2 0 1 0 100 -400 400 -400 N +P 2 0 1 0 200 -150 350 -150 N +P 2 0 1 0 350 -150 350 -250 N +P 2 0 1 0 400 -250 250 -250 N +P 2 0 1 0 250 -250 250 -150 N +A 400 -200 200 -899 899 0 1 0 N 400 -400 400 0 +X ~ Y 700 -200 100 L 30 30 0 1 O +X ~ PWR 300 100 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ D 0 -400 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 14_PSPICE +# +DEF 14_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "14_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +P 2 0 1 0 140 40 260 40 N +P 2 0 1 0 260 40 260 -40 N +P 2 0 1 0 300 -40 180 -40 N +P 2 0 1 0 180 -40 180 40 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 O +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 16_PSPICE +# +DEF 16_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "16_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 17_PSPICE +# +DEF 17_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "17_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 20_PSPICE +# +DEF 20_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "20_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 0 N +P 2 0 1 0 100 0 100 -400 N +P 2 0 1 0 100 -400 400 -400 N +A 400 -200 200 -899 899 0 1 0 N 400 -400 400 0 +X ~ Y 700 -200 100 L 30 30 0 1 O +X ~ PWR 300 100 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ D 0 -400 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 22_PSPICE +# +DEF 22_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "22_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 0 N +P 2 0 1 0 100 0 100 -400 N +P 2 0 1 0 100 -400 400 -400 N +A 400 -200 200 -899 899 0 1 0 N 400 -400 400 0 +X ~ Y 700 -200 100 L 30 30 0 1 P +X ~ PWR 300 100 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ D 0 -400 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 23_PSPICE +# +DEF 23_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "23_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -1300 N +P 2 0 1 0 500 -1300 100 -1300 N +P 2 0 1 0 100 -1300 100 100 N +X ~ 1A 0 0 100 R 30 30 0 1 I +X ~ 1B 0 -100 100 R 30 30 0 1 I +X ~ 1C 0 -200 100 R 30 30 0 1 I +X ~ 1D 0 -300 100 R 30 30 0 1 I +X ~ 1G 0 -400 100 R 30 30 0 1 I +X ~ X 0 -500 100 R 30 30 0 1 I +X ~ \X\ 0 -600 100 R 30 30 0 1 I +X ~ 2A 0 -800 100 R 30 30 0 1 I +X ~ 2B 0 -900 100 R 30 30 0 1 I +X ~ 2C 0 -1000 100 R 30 30 0 1 I +X ~ 2D 0 -1100 100 R 30 30 0 1 I +X ~ 2G 0 -1200 100 R 30 30 0 1 I +X ~ 1Y 600 -200 100 L 30 30 0 1 I +X ~ 2Y 600 -1000 100 L 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 25_PSPICE +# +DEF 25_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "25_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -500 N +P 2 0 1 0 500 -500 100 -500 N +P 2 0 1 0 100 -500 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ G 0 -400 100 R 30 30 0 1 I +X ~ Y 600 -200 100 L 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 P +X ~ GND 300 -600 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 26_PSPICE +# +DEF 26_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "26_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 27_PSPICE +# +DEF 27_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "27_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 300 -220 320 219 899 0 1 0 N 597 -101 300 100 +A 300 30 330 -899 -235 0 1 0 N 300 -300 602 -101 +A -290 -100 400 -296 296 0 1 0 N 57 -298 57 98 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 28_PSPICE +# +DEF 28_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "28_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 300 -220 320 219 899 0 1 0 N 597 -101 300 100 +A 300 30 330 -899 -235 0 1 0 N 300 -300 602 -101 +A -290 -100 400 -296 296 0 1 0 N 57 -298 57 98 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 30_PSPICE +# +DEF 30_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "30_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ E 0 -400 100 R 30 30 0 1 I +X ~ F 0 -500 100 R 30 30 0 1 I +X ~ G 0 -600 100 R 30 30 0 1 I +X ~ H 0 -700 100 R 30 30 0 1 I +X ~ Y 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 32_PSPICE +# +DEF 32_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "32_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 300 -220 320 219 899 0 1 0 N 597 -101 300 100 +A 300 30 330 -899 -235 0 1 0 N 300 -300 602 -101 +A -290 -100 400 -296 296 0 1 0 N 57 -298 57 98 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 33_PSPICE +# +DEF 33_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "33_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 300 -220 320 219 899 0 1 0 N 597 -101 300 100 +A 300 30 330 -899 -235 0 1 0 N 300 -300 602 -101 +A -290 -100 400 -296 296 0 1 0 N 57 -298 57 98 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 37_PSPICE +# +DEF 37_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "37_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 38_PSPICE +# +DEF 38_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "38_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 39_PSPICE +# +DEF 39_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "39_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 40_PSPICE +# +DEF 40_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "40_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 0 N +P 2 0 1 0 100 0 100 -400 N +P 2 0 1 0 100 -400 400 -400 N +A 400 -200 200 -899 899 0 1 0 N 400 -400 400 0 +X ~ Y 700 -200 100 L 30 30 0 1 O +X ~ PWR 300 100 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ D 0 -400 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 42_PSPICE +# +DEF 42_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "42_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 200 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ Y0 600 100 100 L 30 30 0 1 O +X ~ Y1 600 0 100 L 30 30 0 1 O +X ~ Y2 600 -100 100 L 30 30 0 1 O +X ~ Y3 600 -200 100 L 30 30 0 1 O +X ~ Y4 600 -300 100 L 30 30 0 1 O +X ~ Y5 600 -400 100 L 30 30 0 1 O +X ~ Y6 600 -500 100 L 30 30 0 1 O +X ~ Y7 600 -600 100 L 30 30 0 1 O +X ~ Y8 600 -700 100 L 30 30 0 1 O +X ~ Y9 600 -800 100 L 30 30 0 1 O +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 43_PSPICE +# +DEF 43_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "43_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 200 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ Y0 600 100 100 L 30 30 0 1 O +X ~ Y1 600 0 100 L 30 30 0 1 O +X ~ Y2 600 -100 100 L 30 30 0 1 O +X ~ Y3 600 -200 100 L 30 30 0 1 O +X ~ Y4 600 -300 100 L 30 30 0 1 O +X ~ Y5 600 -400 100 L 30 30 0 1 O +X ~ Y6 600 -500 100 L 30 30 0 1 O +X ~ Y7 600 -600 100 L 30 30 0 1 O +X ~ Y8 600 -700 100 L 30 30 0 1 O +X ~ Y9 600 -800 100 L 30 30 0 1 O +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 44_PSPICE +# +DEF 44_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "44_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 200 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ Y0 600 100 100 L 30 30 0 1 O +X ~ Y1 600 0 100 L 30 30 0 1 O +X ~ Y2 600 -100 100 L 30 30 0 1 O +X ~ Y3 600 -200 100 L 30 30 0 1 O +X ~ Y4 600 -300 100 L 30 30 0 1 O +X ~ Y5 600 -400 100 L 30 30 0 1 O +X ~ Y6 600 -500 100 L 30 30 0 1 O +X ~ Y7 600 -600 100 L 30 30 0 1 O +X ~ Y8 600 -700 100 L 30 30 0 1 O +X ~ Y9 600 -800 100 L 30 30 0 1 O +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 45_PSPICE +# +DEF 45_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "45_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 200 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ Y0 600 100 100 L 30 30 0 1 O +X ~ Y1 600 0 100 L 30 30 0 1 O +X ~ Y2 600 -100 100 L 30 30 0 1 O +X ~ Y3 600 -200 100 L 30 30 0 1 O +X ~ Y4 600 -300 100 L 30 30 0 1 O +X ~ Y5 600 -400 100 L 30 30 0 1 O +X ~ Y6 600 -500 100 L 30 30 0 1 O +X ~ Y7 600 -600 100 L 30 30 0 1 O +X ~ Y8 600 -700 100 L 30 30 0 1 O +X ~ Y9 600 -800 100 L 30 30 0 1 O +X ~ PWR 300 300 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 46_PSPICE +# +DEF 46_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "46_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 100 N +X ~ INA 0 -400 100 R 30 30 0 1 I +X ~ INB 0 -500 100 R 30 30 0 1 I +X ~ INC 0 -600 100 R 30 30 0 1 I +X ~ IND 0 -700 100 R 30 30 0 1 I +X ~ \RBI\ 0 -100 100 R 30 30 0 1 I +X ~ \LT\ 0 -200 100 R 30 30 0 1 I +X ~ OUTA 600 -100 100 L 30 30 0 1 O +X ~ OUTB 600 -200 100 L 30 30 0 1 O +X ~ OUTC 600 -300 100 L 30 30 0 1 O +X ~ OUTD 600 -400 100 L 30 30 0 1 O +X ~ OUTE 600 -500 100 L 30 30 0 1 O +X ~ OUTF 600 -600 100 L 30 30 0 1 O +X ~ OUTG 600 -700 100 L 30 30 0 1 O +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ \BI\/\RBO\ 0 0 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 47_PSPICE +# +DEF 47_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "47_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 100 N +X ~ INA 0 -400 100 R 30 30 0 1 I +X ~ INB 0 -500 100 R 30 30 0 1 I +X ~ INC 0 -600 100 R 30 30 0 1 I +X ~ IND 0 -700 100 R 30 30 0 1 I +X ~ \RBI\ 0 -100 100 R 30 30 0 1 I +X ~ \LT\ 0 -200 100 R 30 30 0 1 I +X ~ OUTA 600 -100 100 L 30 30 0 1 O +X ~ OUTB 600 -200 100 L 30 30 0 1 O +X ~ OUTC 600 -300 100 L 30 30 0 1 O +X ~ OUTD 600 -400 100 L 30 30 0 1 O +X ~ OUTE 600 -500 100 L 30 30 0 1 O +X ~ OUTF 600 -600 100 L 30 30 0 1 O +X ~ OUTG 600 -700 100 L 30 30 0 1 O +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ \BI\/\RBO\ 0 0 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 48_PSPICE +# +DEF 48_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "48_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 100 N +X ~ A 0 -400 100 R 30 30 0 1 I +X ~ B 0 -500 100 R 30 30 0 1 I +X ~ C 0 -600 100 R 30 30 0 1 I +X ~ D 0 -700 100 R 30 30 0 1 I +X ~ \BI\ 0 0 100 R 30 30 0 1 I +X ~ \RBI\ 0 -100 100 R 30 30 0 1 I +X ~ \LT\ 0 -200 100 R 30 30 0 1 I +X ~ OA 600 0 100 L 30 30 0 1 O +X ~ OB 600 -100 100 L 30 30 0 1 O +X ~ OC 600 -200 100 L 30 30 0 1 O +X ~ OD 600 -300 100 L 30 30 0 1 O +X ~ OE 600 -400 100 L 30 30 0 1 O +X ~ OF 600 -500 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ OG 600 -600 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 49_PSPICE +# +DEF 49_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "49_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -700 N +P 2 0 1 0 500 -700 100 -700 N +P 2 0 1 0 100 -700 100 100 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ B 0 -400 100 R 30 30 0 1 I +X ~ C 0 -500 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ \BI\ 0 0 100 R 30 30 0 1 I +X ~ OA 600 0 100 L 30 30 0 1 O +X ~ OB 600 -100 100 L 30 30 0 1 O +X ~ OC 600 -200 100 L 30 30 0 1 O +X ~ OD 600 -300 100 L 30 30 0 1 O +X ~ OE 600 -400 100 L 30 30 0 1 O +X ~ OF 600 -500 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -800 100 U 30 30 0 1 W +X ~ OG 600 -600 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 50_PSPICE +# +DEF 50_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "50_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -1100 N +P 2 0 1 0 500 -1100 100 -1100 N +P 2 0 1 0 100 -1100 100 100 N +X ~ 1A 0 0 100 R 30 30 0 1 I +X ~ 1B 0 -100 100 R 30 30 0 1 I +X ~ 1C 0 -200 100 R 30 30 0 1 I +X ~ 1D 0 -300 100 R 30 30 0 1 I +X ~ 1X 0 -400 100 R 30 30 0 1 I +X ~ 1\X\ 0 -500 100 R 30 30 0 1 I +X ~ 2A 0 -700 100 R 30 30 0 1 I +X ~ 2B 0 -800 100 R 30 30 0 1 I +X ~ 2C 0 -900 100 R 30 30 0 1 I +X ~ 2D 0 -1000 100 R 30 30 0 1 I +X ~ 1Y 600 -200 100 L 30 30 0 1 O +X ~ 2Y 600 -900 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 51_PSPICE +# +DEF 51_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "51_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -400 N +P 2 0 1 0 500 -400 100 -400 N +P 2 0 1 0 100 -400 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ Y 600 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 60_PSPICE +# +DEF 60_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "60_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -500 N +P 2 0 1 0 500 -500 100 -500 N +P 2 0 1 0 100 -500 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -600 100 U 30 30 0 1 W +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ \X\ 0 -400 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ X 600 -100 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 70_PSPICE +# +DEF 70_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "70_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -800 0 1 0 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J1 0 0 100 R 30 30 0 1 I +X ~ J2 0 -100 100 R 30 30 0 1 I +X ~ \J\ 0 -200 100 R 30 30 0 1 I +X ~ CLK 0 -300 100 R 30 30 0 1 I +X ~ K1 0 -400 100 R 30 30 0 1 I +X ~ K2 0 -500 100 R 30 30 0 1 I +X ~ \K\ 0 -600 100 R 30 30 0 1 I +X ~ \CLR\ 300 -900 100 U 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \Q\ 600 -500 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 72_PSPICE +# +DEF 72_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "72_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 200 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J1 0 0 100 R 30 30 0 1 I +X ~ J2 0 -100 100 R 30 30 0 1 I +X ~ J3 0 -200 100 R 30 30 0 1 I +X ~ CLK 0 -300 100 R 30 30 0 1 I +X ~ K1 0 -400 100 R 30 30 0 1 I +X ~ K2 0 -500 100 R 30 30 0 1 I +X ~ K3 0 -600 100 R 30 30 0 1 I +X ~ \CLR\ 300 -900 100 U 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \Q\ 600 -500 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 73_PSPICE +# +DEF 73_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "73_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -600 0 1 0 N +X ~ J 0 0 100 R 30 30 0 1 I +X ~ CLK 0 -200 100 R 30 30 0 1 I +X ~ K 0 -400 100 R 30 30 0 1 I +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ Q 600 0 100 L 30 30 0 1 O +X ~ \Q\ 600 -400 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74_PSPICE +# +DEF 74_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 75_PSPICE +# +DEF 75_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "75_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -400 N +P 2 0 1 0 500 -400 100 -400 N +P 2 0 1 0 100 -400 100 100 N +X ~ 1D 0 0 100 R 30 30 0 1 I +X ~ 1Q 600 0 100 L 30 30 0 1 O +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ 2D 0 -100 100 R 30 30 0 1 I +X ~ 2Q 600 -200 100 L 30 30 0 1 O +X ~ 2\Q\ 600 -300 100 L 30 30 0 1 O +X ~ 1\Q\ 600 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 76_PSPICE +# +DEF 76_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "76_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -600 0 1 0 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J 0 0 100 R 30 30 0 1 I +X ~ CLK 0 -200 100 R 30 30 0 1 I +X ~ K 0 -400 100 R 30 30 0 1 I +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ Q 600 0 100 L 30 30 0 1 O +X ~ \Q\ 600 -400 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 77_PSPICE +# +DEF 77_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "77_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -500 0 1 0 N +X ~ 1D 0 0 100 R 30 30 0 1 I +X ~ 1Q 600 -100 100 L 30 30 0 1 O +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ 2D 0 -400 100 R 30 30 0 1 I +X ~ 2Q 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -600 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 82_PSPICE +# +DEF 82_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "82_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -500 0 1 0 N +X ~ C0 0 0 100 R 30 30 0 1 I +X ~ A1 0 -100 100 R 30 30 0 1 I +X ~ B1 0 -200 100 R 30 30 0 1 I +X ~ A2 0 -300 100 R 30 30 0 1 I +X ~ B2 0 -400 100 R 30 30 0 1 I +X ~ SUM1 600 -100 100 L 30 30 0 1 O +X ~ SUM2 600 -300 100 L 30 30 0 1 O +X ~ C2 600 -400 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -600 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 83_PSPICE +# +DEF 83_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "83_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 100 N +X ~ A4 0 0 100 R 30 30 0 1 I +X ~ A3 0 -100 100 R 30 30 0 1 I +X ~ A2 0 -200 100 R 30 30 0 1 I +X ~ A1 0 -300 100 R 30 30 0 1 I +X ~ B4 0 -400 100 R 30 30 0 1 I +X ~ B3 0 -500 100 R 30 30 0 1 I +X ~ B2 0 -600 100 R 30 30 0 1 I +X ~ B1 0 -700 100 R 30 30 0 1 I +X ~ C0 0 -800 100 R 30 30 0 1 I +X ~ C4 600 0 100 L 30 30 0 1 O +X ~ SUM4 600 -200 100 L 30 30 0 1 O +X ~ SUM3 600 -400 100 L 30 30 0 1 O +X ~ SUM2 600 -600 100 L 30 30 0 1 O +X ~ SUM1 600 -800 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 85_PSPICE +# +DEF 85_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "85_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ B3 0 0 100 R 30 30 0 1 I +X ~ A3 0 -100 100 R 30 30 0 1 I +X ~ B2 0 -200 100 R 30 30 0 1 I +X ~ A2 0 -300 100 R 30 30 0 1 I +X ~ B1 0 -400 100 R 30 30 0 1 I +X ~ A1 0 -500 100 R 30 30 0 1 I +X ~ B0 0 -600 100 R 30 30 0 1 I +X ~ A0 0 -700 100 R 30 30 0 1 I +X ~ A<B_IN 0 -800 100 R 30 30 0 1 I +X ~ A=B_IN 0 -900 100 R 30 30 0 1 I +X ~ A>B_IN 0 -1000 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +X ~ A<B 600 -400 100 L 30 30 0 1 O +X ~ A=B 600 -500 100 L 30 30 0 1 O +X ~ A>B 600 -600 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 86_PSPICE +# +DEF 86_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "86_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 300 100 N +P 2 0 1 0 100 -300 300 -300 N +A 300 -220 320 219 899 0 1 0 N 597 -101 300 100 +A 300 30 330 -899 -235 0 1 0 N 300 -300 602 -101 +A -290 -100 400 -296 296 0 1 0 N 57 -298 57 98 +A -250 -100 400 -296 296 0 1 0 N 97 -298 97 98 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 90_PSPICE +# +DEF 90_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "90_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ R91 0 0 100 R 30 30 0 1 I +X ~ R92 0 -100 100 R 30 30 0 1 I +X ~ R01 0 -700 100 R 30 30 0 1 I +X ~ R02 0 -800 100 R 30 30 0 1 I +X ~ CKA 0 -300 100 R 30 30 0 1 I +X ~ CKB 0 -500 100 R 30 30 0 1 I +X ~ QA 600 -100 100 L 30 30 0 1 O +X ~ QB 600 -300 100 L 30 30 0 1 O +X ~ QC 600 -500 100 L 30 30 0 1 O +X ~ QD 600 -700 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 91_PSPICE +# +DEF 91_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "91_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -300 N +P 2 0 1 0 500 -300 100 -300 N +P 2 0 1 0 100 -300 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ CLOCK 0 -200 100 R 30 30 0 1 I +X ~ QH 600 0 100 L 30 30 0 1 O +X ~ \QH\ 600 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 92_PSPICE +# +DEF 92_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "92_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -400 N +P 2 0 1 0 500 -400 100 -400 N +P 2 0 1 0 100 -400 100 100 N +X ~ CKA 0 0 100 R 30 30 0 1 I +X ~ CKB 0 -100 100 R 30 30 0 1 I +X ~ R01 0 -200 100 R 30 30 0 1 I +X ~ R02 0 -300 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 93_PSPICE +# +DEF 93_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "93_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -400 N +P 2 0 1 0 500 -400 100 -400 N +P 2 0 1 0 100 -400 100 100 N +X ~ CKA 0 0 100 R 30 30 0 1 I +X ~ CKB 0 -100 100 R 30 30 0 1 I +X ~ R01 0 -200 100 R 30 30 0 1 I +X ~ R02 0 -300 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 94_PSPICE +# +DEF 94_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "94_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1600 0 1 0 N +X ~ PE2 0 0 100 R 30 30 0 1 I +X ~ PE1 0 -100 100 R 30 30 0 1 I +X ~ P1A 0 -300 100 R 30 30 0 1 I +X ~ P2A 0 -800 100 R 30 30 0 1 I +X ~ P1B 0 -400 100 R 30 30 0 1 I +X ~ P1C 0 -500 100 R 30 30 0 1 I +X ~ P1D 0 -600 100 R 30 30 0 1 I +X ~ P2B 0 -900 100 R 30 30 0 1 I +X ~ P2C 0 -1000 100 R 30 30 0 1 I +X ~ P2D 0 -1100 100 R 30 30 0 1 I +X ~ SER_IN 0 -1300 100 R 30 30 0 1 I +X ~ CLOCK 0 -1400 100 R 30 30 0 1 I +X ~ CLEAR 0 -1500 100 R 30 30 0 1 I +X ~ QD 600 -700 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1700 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 95_PSPICE +# +DEF 95_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "95_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 100 N +X ~ MODE 0 0 100 R 30 30 0 1 I +X ~ SER 0 -100 100 R 30 30 0 1 I +X ~ CLK1 0 -200 100 R 30 30 0 1 I +X ~ CLK2 0 -300 100 R 30 30 0 1 I +X ~ A 0 -400 100 R 30 30 0 1 I +X ~ B 0 -500 100 R 30 30 0 1 I +X ~ C 0 -600 100 R 30 30 0 1 I +X ~ D 0 -700 100 R 30 30 0 1 I +X ~ QA 600 -400 100 L 30 30 0 1 O +X ~ QB 600 -500 100 L 30 30 0 1 O +X ~ QC 600 -600 100 L 30 30 0 1 O +X ~ QD 600 -700 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 96_PSPICE +# +DEF 96_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "96_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 200 N +X ~ PRE 300 300 100 D 30 30 0 1 I +X ~ SERIAL 0 0 100 R 30 30 0 1 I +X ~ \CLR\ 300 -900 100 U 30 30 0 1 I +X ~ CLK 0 -100 100 R 30 30 0 1 I +X ~ A 0 -200 100 R 30 30 0 1 I +X ~ B 0 -300 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -500 100 R 30 30 0 1 I +X ~ E 0 -600 100 R 30 30 0 1 I +X ~ QA 600 -200 100 L 30 30 0 1 O +X ~ QB 600 -300 100 L 30 30 0 1 O +X ~ QC 600 -400 100 L 30 30 0 1 O +X ~ QD 600 -500 100 L 30 30 0 1 O +X ~ QE 600 -600 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 100_PSPICE +# +DEF 100_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "100_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -500 0 1 0 N +X ~ C 0 0 100 R 30 30 0 1 I +X ~ D1 0 -100 100 R 30 30 0 1 I +X ~ D2 0 -200 100 R 30 30 0 1 I +X ~ D3 0 -300 100 R 30 30 0 1 I +X ~ D4 0 -400 100 R 30 30 0 1 I +X ~ Q1 600 -100 100 L 30 30 0 1 O +X ~ Q2 600 -200 100 L 30 30 0 1 O +X ~ Q3 600 -300 100 L 30 30 0 1 O +X ~ Q4 600 -400 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -600 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 107_PSPICE +# +DEF 107_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "107_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -600 0 1 0 N +X ~ J 0 0 100 R 30 30 0 1 I +X ~ K 0 -400 100 R 30 30 0 1 I +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \Q\ 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +X ~ CLK 0 -200 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 109_PSPICE +# +DEF 109_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "109_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -600 0 1 0 N +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ \K\ 0 -400 100 R 30 30 0 1 I +X ~ CLK 0 -200 100 R 30 30 0 1 I +X ~ J 0 0 100 R 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ \Q\ 600 -300 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 110_PSPICE +# +DEF 110_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "110_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -800 0 1 0 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J1 0 0 100 R 30 30 0 1 I +X ~ J2 0 -100 100 R 30 30 0 1 I +X ~ J3 0 -200 100 R 30 30 0 1 I +X ~ CLK 0 -300 100 R 30 30 0 1 I +X ~ K1 0 -400 100 R 30 30 0 1 I +X ~ K2 0 -500 100 R 30 30 0 1 I +X ~ K3 0 -600 100 R 30 30 0 1 I +X ~ Q 600 -200 100 L 30 30 0 1 O +X ~ \Q\ 600 -400 100 L 30 30 0 1 O +X ~ \CLR\ 300 -900 100 U 30 30 0 1 I +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 111_PSPICE +# +DEF 111_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "111_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -600 0 1 0 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J 0 0 100 R 30 30 0 1 I +X ~ CLK 0 -200 100 R 30 30 0 1 I +X ~ K 0 -400 100 R 30 30 0 1 I +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \Q\ 600 -300 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 121_PSPICE +# +DEF 121_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "121_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -700 0 1 0 N +X ~ A1 0 -400 100 R 30 30 0 1 P +X ~ A2 0 -500 100 R 30 30 0 1 P +X ~ B 0 -600 100 R 30 30 0 1 P +X ~ RINT 0 -100 100 R 30 30 0 1 P +X ~ CEXT 0 -200 100 R 30 30 0 1 P +X ~ Q 700 -200 100 L 30 30 0 1 P +X ~ \Q\ 700 -400 100 L 30 30 0 1 P +X ~ REXT/CEXT 0 0 100 R 30 30 0 1 P +X ~ GND 300 -800 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 122_PSPICE +# +DEF 122_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "122_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -900 0 1 0 N +X ~ RINT 0 -100 100 R 30 30 0 1 P +X ~ GND 200 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ A1 0 -400 100 R 30 30 0 1 P +X ~ A2 0 -500 100 R 30 30 0 1 P +X ~ \Q\ 700 -400 100 L 30 30 0 1 P +X ~ Q 700 -200 100 L 30 30 0 1 P +X ~ REXT/CEXT 0 0 100 R 30 30 0 1 P +X ~ CEXT 0 -200 100 R 30 30 0 1 P +X ~ B1 0 -600 100 R 30 30 0 1 P +X ~ B2 0 -700 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1000 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 123_PSPICE +# +DEF 123_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "123_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -600 0 1 0 N +X ~ GND 200 -700 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ Q 700 -100 100 L 30 30 0 1 P +X ~ \Q\ 700 -300 100 L 30 30 0 1 P +X ~ REXT/CEXT 0 0 100 R 30 30 0 1 P +X ~ CEXT 0 -100 100 R 30 30 0 1 P +X ~ \CLR\ 300 -700 100 U 30 30 0 1 P +X ~ A 0 -300 100 R 30 30 0 1 P +X ~ B 0 -400 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 125_PSPICE +# +DEF 125_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "125_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -300 100 -100 N +P 2 0 1 0 100 -100 100 -500 N +P 2 0 1 0 100 -500 400 -300 N +P 2 0 1 0 100 0 250 0 N +P 2 0 1 0 250 0 250 -140 N +C 250 -160 40 0 1 0 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ Y 500 -300 100 L 30 30 0 1 O +X ~ GND 200 -530 100 U 30 30 0 1 W +X ~ PWR 200 -70 100 D 30 30 0 1 W +X ~ \G\ 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 126_PSPICE +# +DEF 126_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "126_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -300 100 -100 N +P 2 0 1 0 100 -100 100 -500 N +P 2 0 1 0 100 -500 400 -300 N +P 2 0 1 0 100 0 250 0 N +P 2 0 1 0 250 0 250 -200 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ Y 500 -300 100 L 30 30 0 1 O +X ~ GND 200 -530 100 U 30 30 0 1 W +X ~ PWR 200 -70 100 D 30 30 0 1 W +X ~ G 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 128_PSPICE +# +DEF 128_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "128_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 300 100 N +P 2 0 1 0 100 -300 300 -300 N +A 300 -220 320 219 899 0 1 0 N 597 -101 300 100 +A 300 30 330 -899 -235 0 1 0 N 300 -300 602 -101 +A -290 -100 400 -296 296 0 1 0 N 57 -298 57 98 +A -250 -100 400 -296 296 0 1 0 N 97 -298 97 98 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 132_PSPICE +# +DEF 132_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "132_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 136_PSPICE +# +DEF 136_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "136_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 300 100 N +P 2 0 1 0 100 -300 300 -300 N +A 300 -220 320 219 899 0 1 0 N 597 -101 300 100 +A 300 30 330 -899 -235 0 1 0 N 300 -300 602 -101 +A -290 -100 400 -296 296 0 1 0 N 57 -298 57 98 +A -250 -100 400 -296 296 0 1 0 N 97 -298 97 98 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 145_PSPICE +# +DEF 145_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "145_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -900 0 1 0 N +X ~ PWR 300 300 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ Y0 600 100 100 L 30 30 0 1 P +X ~ Y1 600 0 100 L 30 30 0 1 P +X ~ Y2 600 -100 100 L 30 30 0 1 P +X ~ Y3 600 -200 100 L 30 30 0 1 P +X ~ Y4 600 -300 100 L 30 30 0 1 P +X ~ Y5 600 -400 100 L 30 30 0 1 P +X ~ Y6 600 -500 100 L 30 30 0 1 P +X ~ Y7 600 -600 100 L 30 30 0 1 P +X ~ Y8 600 -700 100 L 30 30 0 1 P +X ~ Y9 600 -800 100 L 30 30 0 1 P +X ~ A 0 0 100 R 30 30 0 1 P +X ~ B 0 -200 100 R 30 30 0 1 P +X ~ C 0 -400 100 R 30 30 0 1 P +X ~ D 0 -600 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 147_PSPICE +# +DEF 147_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "147_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ B 600 -300 100 L 30 30 0 1 P +X ~ A 600 -100 100 L 30 30 0 1 P +X ~ C 600 -500 100 L 30 30 0 1 P +X ~ D 600 -700 100 L 30 30 0 1 P +X ~ IN1 0 0 100 R 30 30 0 1 P +X ~ IN2 0 -100 100 R 30 30 0 1 P +X ~ IN3 0 -200 100 R 30 30 0 1 P +X ~ IN4 0 -300 100 R 30 30 0 1 P +X ~ IN5 0 -400 100 R 30 30 0 1 P +X ~ IN6 0 -500 100 R 30 30 0 1 P +X ~ IN7 0 -600 100 R 30 30 0 1 P +X ~ IN8 0 -700 100 R 30 30 0 1 P +X ~ IN9 0 -800 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 148_PSPICE +# +DEF 148_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "148_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ A1 600 -200 100 L 30 30 0 1 P +X ~ A0 600 0 100 L 30 30 0 1 P +X ~ A2 600 -400 100 L 30 30 0 1 P +X ~ GS 600 -600 100 L 30 30 0 1 P +X ~ IN0 0 0 100 R 30 30 0 1 P +X ~ IN1 0 -100 100 R 30 30 0 1 P +X ~ IN2 0 -200 100 R 30 30 0 1 P +X ~ IN3 0 -300 100 R 30 30 0 1 P +X ~ IN4 0 -400 100 R 30 30 0 1 P +X ~ IN5 0 -500 100 R 30 30 0 1 P +X ~ IN6 0 -600 100 R 30 30 0 1 P +X ~ IN7 0 -700 100 R 30 30 0 1 P +X ~ EI 0 -800 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ EO 600 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 151A_PSPICE +# +DEF 151A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "151A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1400 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1500 100 U 30 30 0 1 W +X ~ Z 600 -300 100 L 30 30 0 1 O +X ~ \Z\ 600 -700 100 L 30 30 0 1 O +X ~ \E\ 0 0 100 R 30 30 0 1 I +X ~ I0 0 -200 100 R 30 30 0 1 I +X ~ I1 0 -300 100 R 30 30 0 1 I +X ~ I2 0 -400 100 R 30 30 0 1 I +X ~ I3 0 -500 100 R 30 30 0 1 I +X ~ I4 0 -600 100 R 30 30 0 1 I +X ~ I5 0 -700 100 R 30 30 0 1 I +X ~ I6 0 -800 100 R 30 30 0 1 I +X ~ I7 0 -900 100 R 30 30 0 1 I +X ~ S0 0 -1100 100 R 30 30 0 1 I +X ~ S1 0 -1200 100 R 30 30 0 1 I +X ~ S2 0 -1300 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 152_PSPICE +# +DEF 152_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "152_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1200 0 1 0 N +X ~ W 600 -500 100 L 30 30 0 1 O +X ~ GND 300 -1300 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ D0 0 0 100 R 30 30 0 1 I +X ~ D1 0 -100 100 R 30 30 0 1 I +X ~ D2 0 -200 100 R 30 30 0 1 I +X ~ D3 0 -300 100 R 30 30 0 1 I +X ~ D4 0 -400 100 R 30 30 0 1 I +X ~ D5 0 -500 100 R 30 30 0 1 I +X ~ D6 0 -600 100 R 30 30 0 1 I +X ~ D7 0 -700 100 R 30 30 0 1 I +X ~ A 0 -900 100 R 30 30 0 1 I +X ~ B 0 -1000 100 R 30 30 0 1 I +X ~ C 0 -1100 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 153A_PSPICE +# +DEF 153A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "153A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1400 0 1 0 N +X ~ GND 300 -1500 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ ZA 600 -500 100 L 30 30 0 1 O +X ~ ZB 600 -1100 100 L 30 30 0 1 O +X ~ S0 0 0 100 R 30 30 0 1 I +X ~ S1 0 -100 100 R 30 30 0 1 I +X ~ \EA\ 0 -300 100 R 30 30 0 1 I +X ~ I0A 0 -400 100 R 30 30 0 1 I +X ~ I1A 0 -500 100 R 30 30 0 1 I +X ~ I2A 0 -600 100 R 30 30 0 1 I +X ~ I3A 0 -700 100 R 30 30 0 1 I +X ~ \EB\ 0 -900 100 R 30 30 0 1 I +X ~ I0B 0 -1000 100 R 30 30 0 1 I +X ~ I1B 0 -1100 100 R 30 30 0 1 I +X ~ I2B 0 -1200 100 R 30 30 0 1 I +X ~ I3B 0 -1300 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 154_PSPICE +# +DEF 154_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "154_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1600 0 1 0 N +X ~ GND 300 -1700 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \G\1 0 0 100 R 30 30 0 1 I +X ~ \G\2 0 -200 100 R 30 30 0 1 I +X ~ A 0 -600 100 R 30 30 0 1 I +X ~ B 0 -800 100 R 30 30 0 1 I +X ~ C 0 -1000 100 R 30 30 0 1 I +X ~ D 0 -1200 100 R 30 30 0 1 I +X ~ Y0 600 0 100 L 30 30 0 1 O +X ~ Y1 600 -100 100 L 30 30 0 1 O +X ~ Y2 600 -200 100 L 30 30 0 1 O +X ~ Y3 600 -300 100 L 30 30 0 1 O +X ~ Y4 600 -400 100 L 30 30 0 1 O +X ~ Y5 600 -500 100 L 30 30 0 1 O +X ~ Y6 600 -600 100 L 30 30 0 1 O +X ~ Y7 600 -700 100 L 30 30 0 1 O +X ~ Y8 600 -800 100 L 30 30 0 1 O +X ~ Y9 600 -900 100 L 30 30 0 1 O +X ~ Y10 600 -1000 100 L 30 30 0 1 O +X ~ Y11 600 -1100 100 L 30 30 0 1 O +X ~ Y12 600 -1200 100 L 30 30 0 1 O +X ~ Y13 600 -1300 100 L 30 30 0 1 O +X ~ Y14 600 -1400 100 L 30 30 0 1 O +X ~ Y15 600 -1500 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 155_PSPICE +# +DEF 155_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "155_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ 1Y0 600 0 100 L 30 30 0 1 O +X ~ 1Y1 600 -100 100 L 30 30 0 1 O +X ~ 1Y2 600 -200 100 L 30 30 0 1 O +X ~ 1Y3 600 -300 100 L 30 30 0 1 O +X ~ 2Y0 600 -400 100 L 30 30 0 1 O +X ~ 2Y1 600 -500 100 L 30 30 0 1 O +X ~ 2Y2 600 -600 100 L 30 30 0 1 O +X ~ 2Y3 600 -700 100 L 30 30 0 1 O +X ~ 1\G\ 0 0 100 R 30 30 0 1 I +X ~ 1C 0 -100 100 R 30 30 0 1 I +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ B 0 -400 100 R 30 30 0 1 I +X ~ 2\G\ 0 -600 100 R 30 30 0 1 I +X ~ 2\C\ 0 -700 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 156_PSPICE +# +DEF 156_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "156_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ 1Y0 600 0 100 L 30 30 0 1 O +X ~ 1Y1 600 -100 100 L 30 30 0 1 O +X ~ 1Y2 600 -200 100 L 30 30 0 1 O +X ~ 1Y3 600 -300 100 L 30 30 0 1 O +X ~ 2Y0 600 -400 100 L 30 30 0 1 O +X ~ 2Y1 600 -500 100 L 30 30 0 1 O +X ~ 2Y2 600 -600 100 L 30 30 0 1 O +X ~ 2Y3 600 -700 100 L 30 30 0 1 O +X ~ 1\G\ 0 0 100 R 30 30 0 1 I +X ~ 1C 0 -100 100 R 30 30 0 1 I +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ B 0 -400 100 R 30 30 0 1 I +X ~ 2\G\ 0 -600 100 R 30 30 0 1 I +X ~ 2\C\ 0 -700 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 157_PSPICE +# +DEF 157_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "157_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1100 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +X ~ 1Y 700 -100 100 L 30 30 0 1 P +X ~ 2Y 700 -300 100 L 30 30 0 1 P +X ~ 3Y 700 -500 100 L 30 30 0 1 P +X ~ 4Y 700 -700 100 L 30 30 0 1 P +X ~ 1A 0 0 100 R 30 30 0 1 P +X ~ 1B 0 -100 100 R 30 30 0 1 P +X ~ 2A 0 -200 100 R 30 30 0 1 P +X ~ 2B 0 -300 100 R 30 30 0 1 P +X ~ 3A 0 -400 100 R 30 30 0 1 P +X ~ 3B 0 -500 100 R 30 30 0 1 P +X ~ 4A 0 -600 100 R 30 30 0 1 P +X ~ 4B 0 -700 100 R 30 30 0 1 P +X ~ STROBE\G\ 0 -900 100 R 30 30 0 1 P +X ~ SELECT\A\B 0 -1000 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 160_PSPICE +# +DEF 160_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "160_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 I +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ CLK 0 -500 100 R 30 30 0 1 I +X ~ ENT 0 -600 100 R 30 30 0 1 I +X ~ ENP 0 -700 100 R 30 30 0 1 I +X ~ \LOAD\ 0 -800 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ RCO 600 -400 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 161_PSPICE +# +DEF 161_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "161_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 I +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ CLK 0 -500 100 R 30 30 0 1 I +X ~ ENT 0 -600 100 R 30 30 0 1 I +X ~ ENP 0 -700 100 R 30 30 0 1 I +X ~ \LOAD\ 0 -800 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ RCO 600 -400 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 162_PSPICE +# +DEF 162_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "162_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 I +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ CLK 0 -500 100 R 30 30 0 1 I +X ~ ENT 0 -600 100 R 30 30 0 1 I +X ~ ENP 0 -700 100 R 30 30 0 1 I +X ~ \LOAD\ 0 -800 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ RCO 600 -400 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 163_PSPICE +# +DEF 163_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "163_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 I +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ CLK 0 -500 100 R 30 30 0 1 I +X ~ ENT 0 -600 100 R 30 30 0 1 I +X ~ ENP 0 -700 100 R 30 30 0 1 I +X ~ \LOAD\ 0 -800 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ RCO 600 -400 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 164_PSPICE +# +DEF 164_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "164_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 300 500 -700 0 1 0 N +X ~ GND 200 -800 100 U 30 30 0 1 W +X ~ PWR 300 400 100 D 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ CLK 0 -400 100 R 30 30 0 1 I +X ~ QA 600 200 100 L 30 30 0 1 O +X ~ QB 600 100 100 L 30 30 0 1 O +X ~ QC 600 0 100 L 30 30 0 1 O +X ~ QD 600 -100 100 L 30 30 0 1 O +X ~ QE 600 -200 100 L 30 30 0 1 O +X ~ QF 600 -300 100 L 30 30 0 1 O +X ~ QG 600 -400 100 L 30 30 0 1 O +X ~ QH 600 -500 100 L 30 30 0 1 O +X ~ \CLR\ 300 -800 100 U 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 173_PSPICE +# +DEF 173_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "173_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ GND 200 -1200 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ CLR 300 -1200 100 U 30 30 0 1 I +X ~ \G\1 0 -100 100 R 30 30 0 1 I +X ~ \G\2 0 -200 100 R 30 30 0 1 I +X ~ 1D 0 -300 100 R 30 30 0 1 I +X ~ 2D 0 -400 100 R 30 30 0 1 I +X ~ 3D 0 -500 100 R 30 30 0 1 I +X ~ 4D 0 -600 100 R 30 30 0 1 I +X ~ M 0 -800 100 R 30 30 0 1 I +X ~ N 0 -900 100 R 30 30 0 1 I +X ~ 1Q 600 -300 100 L 30 30 0 1 O +X ~ 2Q 600 -400 100 L 30 30 0 1 O +X ~ 3Q 600 -500 100 L 30 30 0 1 O +X ~ 4Q 600 -600 100 L 30 30 0 1 O +X ~ CLK 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 174_PSPICE +# +DEF 174_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "174_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ 1D 0 0 100 R 30 30 0 1 P +X ~ 2D 0 -100 100 R 30 30 0 1 P +X ~ 3D 0 -200 100 R 30 30 0 1 P +X ~ 4D 0 -300 100 R 30 30 0 1 P +X ~ 5D 0 -400 100 R 30 30 0 1 P +X ~ CLK 0 -600 100 R 30 30 0 1 P +X ~ \CLR\ 300 -900 100 U 30 30 0 1 P +X ~ 1Q 600 0 100 L 30 30 0 1 P +X ~ 2Q 600 -100 100 L 30 30 0 1 P +X ~ 4Q 600 -300 100 L 30 30 0 1 P +X ~ 5Q 600 -400 100 L 30 30 0 1 P +X ~ GND 200 -900 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ 3Q 600 -200 100 L 30 30 0 1 P +X ~ 6D 0 -500 100 R 30 30 0 1 P +X ~ 6Q 600 -500 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 175_PSPICE +# +DEF 175_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "175_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ 1D 0 0 100 R 30 30 0 1 P +X ~ 2D 0 -200 100 R 30 30 0 1 P +X ~ 3D 0 -400 100 R 30 30 0 1 P +X ~ 4D 0 -600 100 R 30 30 0 1 P +X ~ CLK 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +X ~ 1Q 600 0 100 L 30 30 0 1 P +X ~ 1\Q\ 600 -100 100 L 30 30 0 1 P +X ~ 3Q 600 -400 100 L 30 30 0 1 P +X ~ 4Q 600 -600 100 L 30 30 0 1 P +X ~ 2\Q\ 600 -300 100 L 30 30 0 1 P +X ~ 3\Q\ 600 -500 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ 2Q 600 -200 100 L 30 30 0 1 P +X ~ 4\Q\ 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 176_PSPICE +# +DEF 176_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "176_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ GND 200 -900 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \LOAD\ 0 0 100 R 30 30 0 1 P +X ~ A 0 -100 100 R 30 30 0 1 P +X ~ B 0 -200 100 R 30 30 0 1 P +X ~ C 0 -300 100 R 30 30 0 1 P +X ~ D 0 -400 100 R 30 30 0 1 P +X ~ \CLR\ 300 -900 100 U 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -200 100 L 30 30 0 1 P +X ~ QC 600 -300 100 L 30 30 0 1 P +X ~ QD 600 -400 100 L 30 30 0 1 P +X ~ CLK1 0 -500 100 R 30 30 0 1 P +X ~ CLK2 0 -600 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 177_PSPICE +# +DEF 177_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "177_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ GND 200 -900 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \LOAD\ 0 0 100 R 30 30 0 1 P +X ~ A 0 -100 100 R 30 30 0 1 P +X ~ B 0 -200 100 R 30 30 0 1 P +X ~ C 0 -300 100 R 30 30 0 1 P +X ~ D 0 -400 100 R 30 30 0 1 P +X ~ \CLR\ 300 -900 100 U 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -200 100 L 30 30 0 1 P +X ~ QC 600 -300 100 L 30 30 0 1 P +X ~ QD 600 -400 100 L 30 30 0 1 P +X ~ CLK1 0 -500 100 R 30 30 0 1 P +X ~ CLK2 0 -600 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 178_PSPICE +# +DEF 178_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "178_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 300 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ SERIAL 0 0 100 R 30 30 0 1 P +X ~ LOAD 0 -100 100 R 30 30 0 1 P +X ~ SHIFT 0 -200 100 R 30 30 0 1 P +X ~ A 0 -400 100 R 30 30 0 1 P +X ~ B 0 -500 100 R 30 30 0 1 P +X ~ C 0 -600 100 R 30 30 0 1 P +X ~ D 0 -700 100 R 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +X ~ CLK 0 -900 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 179_PSPICE +# +DEF 179_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "179_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ GND 200 -1200 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ SERIAL 0 0 100 R 30 30 0 1 P +X ~ LOAD 0 -100 100 R 30 30 0 1 P +X ~ SHIFT 0 -200 100 R 30 30 0 1 P +X ~ A 0 -400 100 R 30 30 0 1 P +X ~ B 0 -500 100 R 30 30 0 1 P +X ~ C 0 -600 100 R 30 30 0 1 P +X ~ D 0 -700 100 R 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +X ~ CLK 0 -900 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1200 100 U 30 30 0 1 P +X ~ \Q\D 600 -900 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 180_PSPICE +# +DEF 180_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "180_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1000 0 1 0 N +X ~ GND 300 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 P +X ~ B 0 -100 100 R 30 30 0 1 P +X ~ C 0 -200 100 R 30 30 0 1 P +X ~ D 0 -300 100 R 30 30 0 1 P +X ~ E 0 -400 100 R 30 30 0 1 P +X ~ F 0 -500 100 R 30 30 0 1 P +X ~ G 0 -600 100 R 30 30 0 1 P +X ~ H 0 -700 100 R 30 30 0 1 P +X ~ ODD_IN 0 -900 100 R 30 30 0 1 P +X ~ EVEN_IN 0 -800 100 R 30 30 0 1 P +X ~ ODD_OUT 700 -400 100 L 30 30 0 1 P +X ~ EVEN_OUT 700 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 181_PSPICE +# +DEF 181_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "181_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 600 -1000 0 1 0 N +X ~ S1 400 300 100 D 30 30 0 1 P +X ~ S2 300 300 100 D 30 30 0 1 P +X ~ S3 200 300 100 D 30 30 0 1 P +X ~ \A\0 0 0 100 R 30 30 0 1 P +X ~ \A\1 0 -100 100 R 30 30 0 1 P +X ~ \A\2 0 -200 100 R 30 30 0 1 P +X ~ \A\3 0 -300 100 R 30 30 0 1 P +X ~ \B\0 0 -400 100 R 30 30 0 1 P +X ~ \B\1 0 -500 100 R 30 30 0 1 P +X ~ \B\2 0 -600 100 R 30 30 0 1 P +X ~ \B\3 0 -700 100 R 30 30 0 1 P +X ~ GND 300 -1100 100 U 30 30 0 1 W +X ~ PWR 100 300 100 D 30 30 0 1 W +X ~ CN 0 -800 100 R 30 30 0 1 P +X ~ M 0 -900 100 R 30 30 0 1 P +X ~ \F\0 700 0 100 L 30 30 0 1 P +X ~ \F\1 700 -100 100 L 30 30 0 1 P +X ~ \F\2 700 -200 100 L 30 30 0 1 P +X ~ \F\3 700 -300 100 L 30 30 0 1 P +X ~ A=B 700 -500 100 L 30 30 0 1 P +X ~ CN+4 700 -600 100 L 30 30 0 1 P +X ~ \G\ 700 -700 100 L 30 30 0 1 P +X ~ \P\ 700 -800 100 L 30 30 0 1 P +X ~ S0 500 300 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 182_PSPICE +# +DEF 182_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "182_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ \P\0 0 0 100 R 30 30 0 1 P +X ~ \P\1 0 -100 100 R 30 30 0 1 P +X ~ \P\2 0 -200 100 R 30 30 0 1 P +X ~ \P\3 0 -300 100 R 30 30 0 1 P +X ~ \G\0 0 -400 100 R 30 30 0 1 P +X ~ \G\1 0 -500 100 R 30 30 0 1 P +X ~ \G\3 0 -700 100 R 30 30 0 1 P +X ~ CN 0 -800 100 R 30 30 0 1 P +X ~ \G\2 0 -600 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ \P\ 600 -200 100 L 30 30 0 1 P +X ~ \G\ 600 -400 100 L 30 30 0 1 P +X ~ CN+Z 600 -800 100 L 30 30 0 1 P +X ~ CN+X 600 -600 100 L 30 30 0 1 P +X ~ CN+Y 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 184_PSPICE +# +DEF 184_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "184_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ A 0 -200 100 R 30 30 0 1 P +X ~ B 0 -300 100 R 30 30 0 1 P +X ~ C 0 -400 100 R 30 30 0 1 P +X ~ D 0 -500 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ E 0 -600 100 R 30 30 0 1 P +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ Y1 600 0 100 L 30 30 0 1 P +X ~ Y2 600 -100 100 L 30 30 0 1 P +X ~ Y3 600 -200 100 L 30 30 0 1 P +X ~ Y4 600 -300 100 L 30 30 0 1 P +X ~ Y5 600 -400 100 L 30 30 0 1 P +X ~ Y6 600 -500 100 L 30 30 0 1 P +X ~ Y7 600 -600 100 L 30 30 0 1 P +X ~ Y8 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 185_PSPICE +# +DEF 185_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "185_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ A 0 -200 100 R 30 30 0 1 P +X ~ B 0 -300 100 R 30 30 0 1 P +X ~ C 0 -400 100 R 30 30 0 1 P +X ~ D 0 -500 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ E 0 -600 100 R 30 30 0 1 P +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ Y1 600 0 100 L 30 30 0 1 P +X ~ Y2 600 -100 100 L 30 30 0 1 P +X ~ Y3 600 -200 100 L 30 30 0 1 P +X ~ Y4 600 -300 100 L 30 30 0 1 P +X ~ Y5 600 -400 100 L 30 30 0 1 P +X ~ Y6 600 -500 100 L 30 30 0 1 P +X ~ Y7 600 -600 100 L 30 30 0 1 P +X ~ Y8 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 194_PSPICE +# +DEF 194_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "194_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ S1 0 0 100 R 30 30 0 1 P +X ~ S0 0 -100 100 R 30 30 0 1 P +X ~ SR 0 -300 100 R 30 30 0 1 P +X ~ A 0 -400 100 R 30 30 0 1 P +X ~ B 0 -500 100 R 30 30 0 1 P +X ~ C 0 -600 100 R 30 30 0 1 P +X ~ D 0 -700 100 R 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ CLK 0 -800 100 R 30 30 0 1 P +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ SL 0 -200 100 R 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 195_PSPICE +# +DEF 195_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "195_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1200 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -1300 100 U 30 30 0 1 W +X ~ SH/\LD\ 0 0 100 R 30 30 0 1 P +X ~ J 0 -200 100 R 30 30 0 1 P +X ~ \K\ 0 -300 100 R 30 30 0 1 P +X ~ CLK 0 -1000 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1300 100 U 30 30 0 1 P +X ~ A 0 -500 100 R 30 30 0 1 P +X ~ B 0 -600 100 R 30 30 0 1 P +X ~ C 0 -700 100 R 30 30 0 1 P +X ~ D 0 -800 100 R 30 30 0 1 P +X ~ QA 600 -200 100 L 30 30 0 1 P +X ~ QB 600 -400 100 L 30 30 0 1 P +X ~ QC 600 -600 100 L 30 30 0 1 P +X ~ QD 600 -800 100 L 30 30 0 1 P +X ~ \Q\D 600 -1000 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 196_PSPICE +# +DEF 196_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "196_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \LOAD\ 0 0 100 R 30 30 0 1 P +X ~ CLK1 0 -200 100 R 30 30 0 1 P +X ~ CLK2 0 -300 100 R 30 30 0 1 P +X ~ A 0 -500 100 R 30 30 0 1 P +X ~ B 0 -600 100 R 30 30 0 1 P +X ~ C 0 -700 100 R 30 30 0 1 P +X ~ D 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 197_PSPICE +# +DEF 197_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "197_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \LOAD\ 0 0 100 R 30 30 0 1 P +X ~ CLK1 0 -200 100 R 30 30 0 1 P +X ~ CLK2 0 -300 100 R 30 30 0 1 P +X ~ A 0 -500 100 R 30 30 0 1 P +X ~ B 0 -600 100 R 30 30 0 1 P +X ~ C 0 -700 100 R 30 30 0 1 P +X ~ D 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 246_PSPICE +# +DEF 246_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "246_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ INA 0 0 100 R 30 30 0 1 P +X ~ INB 0 -100 100 R 30 30 0 1 P +X ~ INC 0 -200 100 R 30 30 0 1 P +X ~ IND 0 -300 100 R 30 30 0 1 P +X ~ \BI\/\RBO\ 0 -800 100 R 30 30 0 1 P +X ~ \LT\ 0 -600 100 R 30 30 0 1 P +X ~ \RBI\ 0 -700 100 R 30 30 0 1 P +X ~ OUTA 600 0 100 L 30 30 0 1 P +X ~ OUTB 600 -100 100 L 30 30 0 1 P +X ~ OUTC 600 -200 100 L 30 30 0 1 P +X ~ OUTD 600 -300 100 L 30 30 0 1 P +X ~ OUTE 600 -400 100 L 30 30 0 1 P +X ~ OUTF 600 -500 100 L 30 30 0 1 P +X ~ OUTG 600 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 247_PSPICE +# +DEF 247_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "247_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ INA 0 0 100 R 30 30 0 1 P +X ~ INB 0 -100 100 R 30 30 0 1 P +X ~ INC 0 -200 100 R 30 30 0 1 P +X ~ IND 0 -300 100 R 30 30 0 1 P +X ~ \BI\/\RBO\ 0 -800 100 R 30 30 0 1 P +X ~ \LT\ 0 -600 100 R 30 30 0 1 P +X ~ \RBI\ 0 -700 100 R 30 30 0 1 P +X ~ OUTA 600 0 100 L 30 30 0 1 P +X ~ OUTB 600 -100 100 L 30 30 0 1 P +X ~ OUTC 600 -200 100 L 30 30 0 1 P +X ~ OUTD 600 -300 100 L 30 30 0 1 P +X ~ OUTE 600 -400 100 L 30 30 0 1 P +X ~ OUTF 600 -500 100 L 30 30 0 1 P +X ~ OUTG 600 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 248_PSPICE +# +DEF 248_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "248_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ INA 0 0 100 R 30 30 0 1 P +X ~ INB 0 -100 100 R 30 30 0 1 P +X ~ INC 0 -200 100 R 30 30 0 1 P +X ~ IND 0 -300 100 R 30 30 0 1 P +X ~ \BI\/\RBO\ 0 -800 100 R 30 30 0 1 P +X ~ \LT\ 0 -600 100 R 30 30 0 1 P +X ~ \RBI\ 0 -700 100 R 30 30 0 1 P +X ~ OUTA 600 0 100 L 30 30 0 1 P +X ~ OUTB 600 -100 100 L 30 30 0 1 P +X ~ OUTC 600 -200 100 L 30 30 0 1 P +X ~ OUTD 600 -300 100 L 30 30 0 1 P +X ~ OUTE 600 -400 100 L 30 30 0 1 P +X ~ OUTF 600 -500 100 L 30 30 0 1 P +X ~ OUTG 600 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 249_PSPICE +# +DEF 249_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "249_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ INA 0 0 100 R 30 30 0 1 P +X ~ INB 0 -100 100 R 30 30 0 1 P +X ~ INC 0 -200 100 R 30 30 0 1 P +X ~ IND 0 -300 100 R 30 30 0 1 P +X ~ \BI\/\RBO\ 0 -800 100 R 30 30 0 1 P +X ~ \LT\ 0 -600 100 R 30 30 0 1 P +X ~ \RBI\ 0 -700 100 R 30 30 0 1 P +X ~ OUTA 600 0 100 L 30 30 0 1 P +X ~ OUTB 600 -100 100 L 30 30 0 1 P +X ~ OUTC 600 -200 100 L 30 30 0 1 P +X ~ OUTD 600 -300 100 L 30 30 0 1 P +X ~ OUTE 600 -400 100 L 30 30 0 1 P +X ~ OUTF 600 -500 100 L 30 30 0 1 P +X ~ OUTG 600 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 251_PSPICE +# +DEF 251_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "251_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1400 0 1 0 N +X ~ D0 0 -200 100 R 30 30 0 1 P +X ~ D1 0 -300 100 R 30 30 0 1 P +X ~ D2 0 -400 100 R 30 30 0 1 P +X ~ D3 0 -500 100 R 30 30 0 1 P +X ~ D4 0 -600 100 R 30 30 0 1 P +X ~ D6 0 -800 100 R 30 30 0 1 P +X ~ D7 0 -900 100 R 30 30 0 1 P +X ~ A 0 -1100 100 R 30 30 0 1 P +X ~ B 0 -1200 100 R 30 30 0 1 P +X ~ C 0 -1300 100 R 30 30 0 1 P +X ~ Y 600 -200 100 L 30 30 0 1 P +X ~ \W\ 600 -400 100 L 30 30 0 1 P +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1500 100 U 30 30 0 1 W +X ~ D5 0 -700 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 259_PSPICE +# +DEF 259_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "259_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -1000 100 U 30 30 0 1 W +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ D 0 -200 100 R 30 30 0 1 P +X ~ S0 0 -400 100 R 30 30 0 1 P +X ~ S1 0 -500 100 R 30 30 0 1 P +X ~ S2 0 -600 100 R 30 30 0 1 P +X ~ Q0 600 0 100 L 30 30 0 1 P +X ~ Q1 600 -100 100 L 30 30 0 1 P +X ~ Q2 600 -200 100 L 30 30 0 1 P +X ~ Q3 600 -300 100 L 30 30 0 1 P +X ~ Q4 600 -400 100 L 30 30 0 1 P +X ~ Q5 600 -500 100 L 30 30 0 1 P +X ~ Q6 600 -600 100 L 30 30 0 1 P +X ~ Q7 600 -700 100 L 30 30 0 1 P +X ~ \CLR\ 300 -1000 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 265_PSPICE +# +DEF 265_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "265_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +X ~ 1W 600 0 100 L 30 30 0 1 P +X ~ 1Y 600 -100 100 L 30 30 0 1 P +X ~ 2A 0 -300 100 R 30 30 0 1 P +X ~ 2B 0 -400 100 R 30 30 0 1 P +X ~ 2W 600 -300 100 L 30 30 0 1 P +X ~ 2Y 600 -400 100 L 30 30 0 1 P +X ~ 3A 0 -600 100 R 30 30 0 1 P +X ~ 3B 0 -700 100 R 30 30 0 1 P +X ~ 3Y 600 -700 100 L 30 30 0 1 P +X ~ 4A 0 -900 100 R 30 30 0 1 P +X ~ 4W 600 -900 100 L 30 30 0 1 P +X ~ 3W 600 -600 100 L 30 30 0 1 P +X ~ 4Y 600 -1000 100 L 30 30 0 1 P +X ~ 1A 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 273_PSPICE +# +DEF 273_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "273_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ D1 0 0 100 R 30 30 0 1 P +X ~ D2 0 -100 100 R 30 30 0 1 P +X ~ D3 0 -200 100 R 30 30 0 1 P +X ~ D4 0 -300 100 R 30 30 0 1 P +X ~ D5 0 -400 100 R 30 30 0 1 P +X ~ D6 0 -500 100 R 30 30 0 1 P +X ~ D7 0 -600 100 R 30 30 0 1 P +X ~ D8 0 -700 100 R 30 30 0 1 P +X ~ CLK 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +X ~ Q1 600 0 100 L 30 30 0 1 P +X ~ Q2 600 -100 100 L 30 30 0 1 P +X ~ Q3 600 -200 100 L 30 30 0 1 P +X ~ Q4 600 -300 100 L 30 30 0 1 P +X ~ Q5 600 -400 100 L 30 30 0 1 P +X ~ Q6 600 -500 100 L 30 30 0 1 P +X ~ Q7 600 -600 100 L 30 30 0 1 P +X ~ Q8 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 276_PSPICE +# +DEF 276_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "276_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -1300 0 1 0 N +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -1400 100 U 30 30 0 1 W +X ~ \PRE\ 300 300 100 D 30 30 0 1 P +X ~ 1J 0 0 100 R 30 30 0 1 P +X ~ 1\K\ 0 -200 100 R 30 30 0 1 P +X ~ 1CLK 0 -100 100 R 30 30 0 1 P +X ~ 2J 0 -300 100 R 30 30 0 1 P +X ~ 2CLK 0 -400 100 R 30 30 0 1 P +X ~ 2\K\ 0 -500 100 R 30 30 0 1 P +X ~ 3J 0 -600 100 R 30 30 0 1 P +X ~ 3CLK 0 -700 100 R 30 30 0 1 P +X ~ 3\K\ 0 -800 100 R 30 30 0 1 P +X ~ 4J 0 -900 100 R 30 30 0 1 P +X ~ 4CLK 0 -1000 100 R 30 30 0 1 P +X ~ 4\K\ 0 -1100 100 R 30 30 0 1 P +X ~ 1Q 600 0 100 L 30 30 0 1 P +X ~ 2Q 600 -300 100 L 30 30 0 1 P +X ~ 3Q 600 -600 100 L 30 30 0 1 P +X ~ 4Q 600 -900 100 L 30 30 0 1 P +X ~ \CLR\ 300 -1400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 278_PSPICE +# +DEF 278_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "278_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -700 0 1 0 N +X ~ GND 300 -800 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ P0 0 0 100 R 30 30 0 1 P +X ~ STRB 0 -100 100 R 30 30 0 1 P +X ~ D1 0 -300 100 R 30 30 0 1 P +X ~ D2 0 -400 100 R 30 30 0 1 P +X ~ D3 0 -500 100 R 30 30 0 1 P +X ~ D4 0 -600 100 R 30 30 0 1 P +X ~ P1 600 0 100 L 30 30 0 1 P +X ~ Y1 600 -300 100 L 30 30 0 1 P +X ~ Y2 600 -400 100 L 30 30 0 1 P +X ~ Y3 600 -500 100 L 30 30 0 1 P +X ~ Y4 600 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 279_PSPICE +# +DEF 279_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "279_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -600 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -700 100 U 30 30 0 1 W +X ~ 1\R\ 0 0 100 R 30 30 0 1 P +X ~ 1\S\1 0 -100 100 R 30 30 0 1 P +X ~ 1\S\2 0 -200 100 R 30 30 0 1 P +X ~ 2\R\ 0 -400 100 R 30 30 0 1 P +X ~ 2\S\ 0 -500 100 R 30 30 0 1 P +X ~ 1Q 600 -200 100 L 30 30 0 1 P +X ~ 2Q 600 -500 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 283_PSPICE +# +DEF 283_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "283_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1100 100 U 30 30 0 1 W +X ~ A1 0 -700 100 R 30 30 0 1 P +X ~ A2 0 -500 100 R 30 30 0 1 P +X ~ A3 0 -300 100 R 30 30 0 1 P +X ~ A4 0 -100 100 R 30 30 0 1 P +X ~ B1 0 -600 100 R 30 30 0 1 P +X ~ B2 0 -400 100 R 30 30 0 1 P +X ~ B3 0 -200 100 R 30 30 0 1 P +X ~ B4 0 0 100 R 30 30 0 1 P +X ~ C0 0 -900 100 R 30 30 0 1 P +X ~ C4 600 -900 100 L 30 30 0 1 P +X ~ SUM1 600 -700 100 L 30 30 0 1 P +X ~ SUM2 600 -500 100 L 30 30 0 1 P +X ~ SUM3 600 -300 100 L 30 30 0 1 P +X ~ SUM4 600 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 290_PSPICE +# +DEF 290_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "290_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ R91 0 0 100 R 30 30 0 1 P +X ~ R92 0 -100 100 R 30 30 0 1 P +X ~ CLKA 0 -300 100 R 30 30 0 1 P +X ~ CLKB 0 -400 100 R 30 30 0 1 P +X ~ R01 0 -600 100 R 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +X ~ R02 0 -700 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 293_PSPICE +# +DEF 293_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "293_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -500 0 1 0 N +X ~ GND 300 -600 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ CLKA 0 0 100 R 30 30 0 1 P +X ~ CLKB 0 -100 100 R 30 30 0 1 P +X ~ R01 0 -300 100 R 30 30 0 1 P +X ~ R02 0 -400 100 R 30 30 0 1 P +X ~ QA 600 0 100 L 30 30 0 1 P +X ~ QB 600 -100 100 L 30 30 0 1 P +X ~ QC 600 -200 100 L 30 30 0 1 P +X ~ QD 600 -300 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 298_PSPICE +# +DEF 298_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "298_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +X ~ WS 0 0 100 R 30 30 0 1 P +X ~ A1 0 -200 100 R 30 30 0 1 P +X ~ A2 0 -300 100 R 30 30 0 1 P +X ~ B1 0 -400 100 R 30 30 0 1 P +X ~ B2 0 -500 100 R 30 30 0 1 P +X ~ C1 0 -600 100 R 30 30 0 1 P +X ~ C2 0 -700 100 R 30 30 0 1 P +X ~ D1 0 -800 100 R 30 30 0 1 P +X ~ D2 0 -900 100 R 30 30 0 1 P +X ~ CLK 0 -1000 100 R 30 30 0 1 P +X ~ QA 600 -200 100 L 30 30 0 1 P +X ~ QB 600 -400 100 L 30 30 0 1 P +X ~ QC 600 -600 100 L 30 30 0 1 P +X ~ QD 600 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 351_PSPICE +# +DEF 351_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "351_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -2000 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -2100 100 U 30 30 0 1 W +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ 1D0 0 -200 100 R 30 30 0 1 P +X ~ 1D1 0 -300 100 R 30 30 0 1 P +X ~ 1D2 0 -400 100 R 30 30 0 1 P +X ~ 1D3 0 -500 100 R 30 30 0 1 P +X ~ D4 0 -1200 100 R 30 30 0 1 P +X ~ D5 0 -1300 100 R 30 30 0 1 P +X ~ D6 0 -1400 100 R 30 30 0 1 P +X ~ D7 0 -1500 100 R 30 30 0 1 P +X ~ A 0 -1700 100 R 30 30 0 1 P +X ~ B 0 -1800 100 R 30 30 0 1 P +X ~ C 0 -1900 100 R 30 30 0 1 P +X ~ 2D0 0 -700 100 R 30 30 0 1 P +X ~ 2D1 0 -800 100 R 30 30 0 1 P +X ~ 2D2 0 -900 100 R 30 30 0 1 P +X ~ 2D3 0 -1000 100 R 30 30 0 1 P +X ~ 1Y 600 -200 100 L 30 30 0 1 P +X ~ 2Y 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 365_PSPICE +# +DEF 365_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "365_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \G\1 0 0 100 R 30 30 0 1 P +X ~ \G\2 0 -100 100 R 30 30 0 1 P +X ~ A1 0 -300 100 R 30 30 0 1 P +X ~ A2 0 -400 100 R 30 30 0 1 P +X ~ A3 0 -500 100 R 30 30 0 1 P +X ~ A4 0 -600 100 R 30 30 0 1 P +X ~ A5 0 -700 100 R 30 30 0 1 P +X ~ A6 0 -800 100 R 30 30 0 1 P +X ~ Y1 600 -300 100 L 30 30 0 1 P +X ~ Y2 600 -400 100 L 30 30 0 1 P +X ~ Y3 600 -500 100 L 30 30 0 1 P +X ~ Y4 600 -600 100 L 30 30 0 1 P +X ~ Y5 600 -700 100 L 30 30 0 1 P +X ~ Y6 600 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 366_PSPICE +# +DEF 366_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "366_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \G\1 0 0 100 R 30 30 0 1 P +X ~ \G\2 0 -100 100 R 30 30 0 1 P +X ~ A1 0 -300 100 R 30 30 0 1 P +X ~ A2 0 -400 100 R 30 30 0 1 P +X ~ A3 0 -500 100 R 30 30 0 1 P +X ~ A4 0 -600 100 R 30 30 0 1 P +X ~ A5 0 -700 100 R 30 30 0 1 P +X ~ A6 0 -800 100 R 30 30 0 1 P +X ~ Y1 600 -300 100 L 30 30 0 1 P +X ~ Y2 600 -400 100 L 30 30 0 1 P +X ~ Y3 600 -500 100 L 30 30 0 1 P +X ~ Y4 600 -600 100 L 30 30 0 1 P +X ~ Y5 600 -700 100 L 30 30 0 1 P +X ~ Y6 600 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 367_PSPICE +# +DEF 367_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "367_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ 1\G\ 0 0 100 R 30 30 0 1 P +X ~ 1A1 0 -100 100 R 30 30 0 1 P +X ~ 1A2 0 -200 100 R 30 30 0 1 P +X ~ 1A3 0 -300 100 R 30 30 0 1 P +X ~ 1A4 0 -400 100 R 30 30 0 1 P +X ~ 2\G\ 0 -600 100 R 30 30 0 1 P +X ~ 2A1 0 -700 100 R 30 30 0 1 P +X ~ 2A2 0 -800 100 R 30 30 0 1 P +X ~ 1Y1 600 -100 100 L 30 30 0 1 P +X ~ 1Y2 600 -200 100 L 30 30 0 1 P +X ~ 1Y3 600 -300 100 L 30 30 0 1 P +X ~ 1Y4 600 -400 100 L 30 30 0 1 P +X ~ 2Y2 600 -800 100 L 30 30 0 1 P +X ~ 2Y1 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 368_PSPICE +# +DEF 368_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "368_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ 1\G\ 0 0 100 R 30 30 0 1 P +X ~ 1A1 0 -100 100 R 30 30 0 1 P +X ~ 1A2 0 -200 100 R 30 30 0 1 P +X ~ 1A3 0 -300 100 R 30 30 0 1 P +X ~ 1A4 0 -400 100 R 30 30 0 1 P +X ~ 2\G\ 0 -600 100 R 30 30 0 1 P +X ~ 2A1 0 -700 100 R 30 30 0 1 P +X ~ 2A2 0 -800 100 R 30 30 0 1 P +X ~ 1Y1 600 -100 100 L 30 30 0 1 P +X ~ 1Y2 600 -200 100 L 30 30 0 1 P +X ~ 1Y3 600 -300 100 L 30 30 0 1 P +X ~ 1Y4 600 -400 100 L 30 30 0 1 P +X ~ 2Y2 600 -800 100 L 30 30 0 1 P +X ~ 2Y1 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 376_PSPICE +# +DEF 376_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "376_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ 1J 0 0 100 R 30 30 0 1 P +X ~ 2J 0 -200 100 R 30 30 0 1 P +X ~ 3J 0 -400 100 R 30 30 0 1 P +X ~ 4J 0 -600 100 R 30 30 0 1 P +X ~ 1\K\ 0 -100 100 R 30 30 0 1 P +X ~ 2\K\ 0 -300 100 R 30 30 0 1 P +X ~ 3\K\ 0 -500 100 R 30 30 0 1 P +X ~ 4\K\ 0 -700 100 R 30 30 0 1 P +X ~ 1Q 600 -100 100 L 30 30 0 1 P +X ~ 2Q 600 -300 100 L 30 30 0 1 P +X ~ 3Q 600 -500 100 L 30 30 0 1 P +X ~ 4Q 600 -700 100 L 30 30 0 1 P +X ~ CLK 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 390_PSPICE +# +DEF 390_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "390_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -400 0 1 0 N +X ~ GND 200 -500 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +X ~ CKA 0 0 100 R 30 30 0 1 P +X ~ CKB 0 -200 100 R 30 30 0 1 P +X ~ CLR 300 -500 100 U 30 30 0 1 P +X ~ QA 600 100 100 L 30 30 0 1 P +X ~ QB 600 0 100 L 30 30 0 1 P +X ~ QC 600 -100 100 L 30 30 0 1 P +X ~ QD 600 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 393_PSPICE +# +DEF 393_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "393_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -400 0 1 0 N +X ~ GND 200 -500 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 P +X ~ QA 600 0 100 L 30 30 0 1 P +X ~ QB 600 -100 100 L 30 30 0 1 P +X ~ QC 600 -200 100 L 30 30 0 1 P +X ~ QD 600 -300 100 L 30 30 0 1 P +X ~ CLR 300 -500 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 425_PSPICE +# +DEF 425_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "425_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -300 100 -100 N +P 2 0 1 0 100 -100 100 -500 N +P 2 0 1 0 100 -500 400 -300 N +P 2 0 1 0 100 0 250 0 N +P 2 0 1 0 250 0 250 -140 N +C 250 -160 40 0 1 0 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ Y 500 -300 100 L 30 30 0 1 O +X ~ GND 200 -530 100 U 30 30 0 1 W +X ~ PWR 200 -70 100 D 30 30 0 1 W +X ~ \G\ 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 426_PSPICE +# +DEF 426_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "426_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -300 100 -100 N +P 2 0 1 0 100 -100 100 -500 N +P 2 0 1 0 100 -500 400 -300 N +P 2 0 1 0 100 0 250 0 N +P 2 0 1 0 250 0 250 -200 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ Y 500 -300 100 L 30 30 0 1 O +X ~ GND 200 -530 100 U 30 30 0 1 W +X ~ PWR 200 -70 100 D 30 30 0 1 W +X ~ G 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 490_PSPICE +# +DEF 490_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "490_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -400 0 1 0 N +X ~ GND 200 -500 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +X ~ SET9 0 0 100 R 30 30 0 1 P +X ~ CLK 0 -200 100 R 30 30 0 1 P +X ~ CLR 300 -500 100 U 30 30 0 1 P +X ~ QA 600 100 100 L 30 30 0 1 P +X ~ QB 600 0 100 L 30 30 0 1 P +X ~ QC 600 -100 100 L 30 30 0 1 P +X ~ QD 600 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 411/OP_PSPICE +# +DEF 411/OP_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "411/OP_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -500 N +P 2 0 1 0 100 -500 700 -200 N +P 2 0 1 0 700 -200 100 100 N +P 2 0 1 0 400 0 400 -50 N +P 2 0 1 0 400 -400 400 -350 N +P 2 0 1 0 600 0 500 -100 N +P 2 0 1 0 500 -300 600 -400 N +P 2 0 1 0 600 0 700 0 N +P 2 0 1 0 600 -400 700 -400 N +X ~ + 0 0 100 R 30 30 0 1 I +X ~ - 0 -400 100 R 30 30 0 1 I +X ~ V+ 400 100 100 D 30 30 0 1 W +X ~ V- 400 -500 100 U 30 30 0 1 W +X ~ OUT 800 -200 100 L 30 30 0 1 O +X ~ B1 800 -400 100 L 30 30 0 1 I +X ~ B2 800 0 100 L 30 30 0 1 I +ENDDRAW +ENDDEF +# +# nmose_PSPICE +# +DEF nmose_PSPICE M 0 30 Y Y 1 F N +F0 "M" 0 0 30 H V L CNN +F1 "nmose_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 290 -20 230 0 290 20 N +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ G 0 0 100 R 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 741/OP_PSPICE +# +DEF 741/OP_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "741/OP_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -500 N +P 2 0 1 0 100 -500 700 -200 N +P 2 0 1 0 700 -200 100 100 N +P 2 0 1 0 400 0 400 -50 N +P 2 0 1 0 400 -400 400 -350 N +P 2 0 1 0 600 0 500 -100 N +P 2 0 1 0 500 -300 600 -400 N +P 2 0 1 0 600 0 700 0 N +P 2 0 1 0 600 -400 700 -400 N +X ~ + 0 0 100 R 30 30 0 1 I +X ~ - 0 -400 100 R 30 30 0 1 I +X ~ V+ 400 100 100 D 30 30 0 1 W +X ~ V- 400 -500 100 U 30 30 0 1 W +X ~ OUT 800 -200 100 L 30 30 0 1 O +X ~ OS1 800 -400 100 L 30 30 0 1 I +X ~ OS2 800 0 100 L 30 30 0 1 I +ENDDRAW +ENDDEF +# +# NIGBT_PSPICE +# +DEF NIGBT_PSPICE Z 0 30 Y Y 1 F N +F0 "Z" 0 0 30 H V L CNN +F1 "NIGBT_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 200 200 0 N +P 2 0 1 0 170 200 170 0 N +P 2 0 1 0 100 0 170 0 N +P 2 0 1 0 300 200 200 150 N +P 2 0 1 0 200 50 300 0 N +P 3 0 1 0 210 20 280 10 230 60 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ C 300 300 100 D 30 30 0 1 P +X ~ E 300 -100 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IXGH40N60_PSPICE +# +DEF IXGH40N60_PSPICE Z 0 30 Y Y 1 F N +F0 "Z" 0 0 30 H V L CNN +F1 "IXGH40N60_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 200 200 0 N +P 2 0 1 0 170 200 170 0 N +P 2 0 1 0 100 0 170 0 N +P 2 0 1 0 300 200 200 150 N +P 2 0 1 0 200 50 300 0 N +P 3 0 1 0 210 20 280 10 230 60 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ C 300 300 100 D 30 30 0 1 P +X ~ E 300 -100 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# D1N914_PSPICE +# +DEF D1N914_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "D1N914_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 50 200 -50 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 0 120 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# d_PSPICE +# +DEF d_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "d_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 50 200 -50 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 0 120 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# CD4016BD_PSPICE +# +DEF CD4016BD_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "CD4016BD_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 200 0 N +P 2 0 1 0 400 0 500 0 N +P 2 0 1 0 100 -200 100 -300 N +P 2 0 1 0 500 -200 500 -300 N +S 100 200 500 200 0 1 0 N +S 500 200 500 -200 0 1 0 N +S 100 -300 500 -300 0 1 0 N +S 100 200 100 200 0 1 0 N +S 100 200 100 -200 0 1 0 N +S 100 0 200 0 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 600 0 100 L 30 30 0 1 P +X ~ VC 0 -200 100 R 30 30 0 1 P +X ~ VDD 300 300 100 D 30 30 0 1 P +X ~ VSS 300 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# T2coupled_PSPICE +# +DEF T2coupled_PSPICE T 0 30 Y Y 1 F N +F0 "T" 0 0 30 H V L CNN +F1 "T2coupled_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -200 0 1 0 N +X ~ in2 0 -100 100 R 30 30 0 1 P +X ~ out1 700 0 100 L 30 30 0 1 P +X ~ in1 0 0 100 R 30 30 0 1 P +X ~ out2 700 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# T3coupled_PSPICE +# +DEF T3coupled_PSPICE T 0 30 Y Y 1 F N +F0 "T" 0 0 30 H V L CNN +F1 "T3coupled_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -300 0 1 0 N +X ~ in2 0 -100 100 R 30 30 0 1 P +X ~ out1 700 0 100 L 30 30 0 1 P +X ~ in1 0 0 100 R 30 30 0 1 P +X ~ out2 700 -100 100 L 30 30 0 1 P +X ~ out3 700 -200 100 L 30 30 0 1 P +X ~ in3 0 -200 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Q2N6052_PSPICE +# +DEF Q2N6052_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "Q2N6052_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 300 -50 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 100 -50 200 -100 N +P 2 0 1 0 300 -150 400 -200 N +P 3 0 1 0 190 -70 120 -60 170 -110 N +P 3 0 1 0 390 -170 320 -160 370 -210 N +P 2 0 1 0 200 100 400 100 N +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 300 0 300 -200 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 400 100 400 0 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 400 200 100 D 30 30 0 1 P +X ~ 1 400 -300 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Q2N6059_PSPICE +# +DEF Q2N6059_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "Q2N6059_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 300 -50 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 -100 100 -50 N +P 2 0 1 0 400 -200 300 -150 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +P 3 0 1 0 310 -180 380 -190 330 -140 N +P 2 0 1 0 200 100 400 100 N +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 300 0 300 -200 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 400 100 400 0 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 400 200 100 D 30 30 0 1 P +X ~ 1 400 -300 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/src/converter/schematic_converters/lib/PythonLib/header.py b/src/converter/schematic_converters/lib/PythonLib/header.py new file mode 100644 index 00000000..7f69210d --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/header.py @@ -0,0 +1,13 @@ +#The MIT License (MIT) + +#PSpice to Oscad Schematic Converter +#This code is written by Suryavamshi Tenneti, FOSSEE, IIT Bombay +#The code is modified by Sumanto Kar and Gloria Nandihal, FOSSEE, IIT Bombay + + + +MULT = 10 +nameAppend = '' +REMOVEDCOMPONENTS = '' + + diff --git a/src/converter/schematic_converters/lib/PythonLib/include.py b/src/converter/schematic_converters/lib/PythonLib/include.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/include.py diff --git a/src/converter/schematic_converters/lib/PythonLib/libParser.lib b/src/converter/schematic_converters/lib/PythonLib/libParser.lib new file mode 100644 index 00000000..32b90649 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/libParser.lib @@ -0,0 +1,4 @@ +EESchema-LIBRARY Version 4.7 Date: +#encoding utf-8 +# +#End Library diff --git a/src/converter/schematic_converters/lib/PythonLib/libParser.py b/src/converter/schematic_converters/lib/PythonLib/libParser.py new file mode 100644 index 00000000..c94bd7d5 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/libParser.py @@ -0,0 +1,80 @@ +#The MIT License (MIT) + +#PSpice to Oscad Schematic Converter +#This code is written by Suryavamshi Tenneti, FOSSEE, IIT Bombay +#The code is modified by Sumanto Kar and Gloria Nandihal, FOSSEE, IIT Bombay + + +import sys +import os +from attribute import * +from component_instance import * +from component import * +from design import * +from wire import * +from header import * +from misc import * + + +libDescr = 'EESchema-LIBRARY Version 4.7 Date: \n#encoding utf-8\n' + +nameAppend = '_PSPICE' +REMOVEDCOMPONENTS = ['TITLEBLK', 'PARAM', 'readme', 'VIEWPOINT', 'LIB', 'copyright', 'WATCH1', 'VECTOR', 'NODESET1'] + +for fcounter in range(1, len(sys.argv[1:])+1): + input_file = open(sys.argv[fcounter], 'r+') + fbasename = os.path.basename(sys.argv[fcounter]) + flname = fbasename[:fbasename.find('.')] + '.lib' + flib = open(flname, 'w+') #Write .lib header: + print('Library file name: ',flname) + + flib.write(libDescr) + + line = skipTo(input_file,'*symbol') + print('Parser',line) + ''' + while(line != '' and '*symbol' not in line): + line = input_file.readline().strip() + print(line) + ''' + + while(line != '__ERROR__'): + #print(input_file.tell()) + #print('Compo line',line) + d = line.find(' ') + cnametmp = line[d+1:] + #print('cnametmp',cnametmp) + d = cnametmp.find(' ') + if d == -1: + cname = cnametmp + else: + cname = cnametmp[0:d] + + #print('cname->',cname) + + fileTMP = open(sys.argv[fcounter]) + c = Component(fileTMP, cname) + #print(c.ref) + fixComp(c) + #print('After fixComp',cname, 'ref=', c.ref) + + write = True + + for i in range(len(REMOVEDCOMPONENTS)): #Don't let these components be saved. + if cname == REMOVEDCOMPONENTS[i]: + write = False + break + #print('write->', write) + #print('line->', line) + if write: + c.type_ = c.type_ + nameAppend + c.print(flib) + + '''line = input_file.readline().strip() + while(line != '' and '*symbol' not in line): + line = input_file.readline().strip() + print(line) + ''' + line = skipTo(input_file, '*symbol') + flib.write('#\n#End Library\n') + flib.close() diff --git a/src/converter/schematic_converters/lib/PythonLib/marker.lib b/src/converter/schematic_converters/lib/PythonLib/marker.lib new file mode 100644 index 00000000..dec37970 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/marker.lib @@ -0,0 +1,202 @@ +EESchema-LIBRARY Version 4.7 Date: +#encoding utf-8 +# +# vdb_PSPICE +# +DEF vdb_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "vdb_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# idb_PSPICE +# +DEF idb_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "idb_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# vphase_PSPICE +# +DEF vphase_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "vphase_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# iphase_PSPICE +# +DEF iphase_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "iphase_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# vgroupdelay_PSPICE +# +DEF vgroupdelay_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "vgroupdelay_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# igroupdelay_PSPICE +# +DEF igroupdelay_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "igroupdelay_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# vreal_PSPICE +# +DEF vreal_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "vreal_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ireal_PSPICE +# +DEF ireal_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "ireal_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# vimaginary_PSPICE +# +DEF vimaginary_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "vimaginary_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# iimaginary_PSPICE +# +DEF iimaginary_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "iimaginary_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IMARKER_PSPICE +# +DEF IMARKER_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "IMARKER_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 230 200 180 N +P 2 0 1 0 180 230 220 230 N +P 2 0 1 0 180 180 220 180 N +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# NODEMARKER_PSPICE +# +DEF NODEMARKER_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "NODEMARKER_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VDIFFMARKER_PSPICE +# +DEF VDIFFMARKER_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "VDIFFMARKER_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/src/converter/schematic_converters/lib/PythonLib/misc.py b/src/converter/schematic_converters/lib/PythonLib/misc.py new file mode 100644 index 00000000..1d77ae80 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/misc.py @@ -0,0 +1,232 @@ +#The MIT License (MIT) + +#PSpice to Oscad Schematic Converter +#This code is written by Suryavamshi Tenneti, FOSSEE, IIT Bombay +#The code is modified by Sumanto Kar and Gloria Nandihal, FOSSEE, IIT Bombay + + +from component_instance import * + + +def skipTo(input_stream, s): # Find the line containing the first occurence (after the current position) of string s in istream& in and read it and then return it + tmp = '1' + while tmp != '' and tmp.find(s) == -1: + tmp = input_stream.readline().strip() # cout<<tmp<<"**"<<endl; + + # print('SkipLine',tmp) + # print('In skipto',tmp.find(s)) + + if tmp == '': # cerr<<"skipTo error"<<endl; + return '__ERROR__' + + return tmp + + +def stripNumFromRef(ref): + i = len(ref) - 1 + while i >= 0 and ref[i] >= '0' and ref[i] <= '9': + i -= 1 + return ref[:i + 1] + + +def fixComp(c): + + # print('In fixComp c.type' ,c.type_) + + ref = c.ref + + # print('last 6') + + if ref == 'Q': # Transistor + for i in range(0, len(c.pins)): + if c.pins[i].n == 'e' or c.pins[i].n == 'E': + c.pins[i].n = '1' + if c.pins[i].n == 'b' or c.pins[i].n == 'B': + c.pins[i].n = '2' + if c.pins[i].n == 'c' or c.pins[i].n == 'C': + c.pins[i].n = '3' + + ref = 'Q' + c.ref = 'Q' + return + + # print('last 5') + + if ref == 'J': # Mos + for i in range(0, len(c.pins)): + if c.pins[i].n == 'g' or c.pins[i].n == 'G': + c.pins[i].n = 'G' + if c.pins[i].n == 's' or c.pins[i].n == 'S': + c.pins[i].n = 'S' + if c.pins[i].n == 'd' or c.pins[i].n == 'D': + c.pins[i].n = 'D' + ref = 'J' + c.ref = 'J' + return + + # print('last 5') + + if ref == 'M': # FET + for i in range(0, len(c.pins)): + if c.pins[i].n == 'g' or c.pins[i].n == 'G': + c.pins[i].n = 'G' + if c.pins[i].n == 's' or c.pins[i].n == 'S': + c.pins[i].n = 'S' + if c.pins[i].n == 'd' or c.pins[i].n == 'D': + c.pins[i].n = 'D' + ref = 'M' + c.ref = 'M' + return + + # print('last4') + + if ref == 'E': # Linear voltage controlled voltage sources + for i in range(0, len(c.pins)): + if c.pins[i].n == '1': + c.pins[i].n = '3' + continue + if c.pins[i].n == '2': + c.pins[i].n = '4' + continue + if c.pins[i].n == '3': + c.pins[i].n = '1' + continue + if c.pins[i].n == '4': + c.pins[i].n = '2' + continue + ref = 'E' + c.ref = 'E' + return + + # print('last3') #Linear current controlled current sources + + if ref == 'F': + for i in range(0, len(c.pins)): + if c.pins[i].n == '1': + c.pins[i].n = '3' + continue + if c.pins[i].n == '2': + c.pins[i].n = '4' + continue + if c.pins[i].n == '3': + c.pins[i].n = '1' + continue + if c.pins[i].n == '4': + c.pins[i].n = '2' + continue + ref = 'F' + c.ref = 'F' + return + + # print('last2') + + if ref == 'G': # Linear Voltage controlled voltage sources + for i in range(0, len(c.pins)): + if c.pins[i].n == '1': + c.pins[i].n = '3' + continue + if c.pins[i].n == '2': + c.pins[i].n = '4' + continue + if c.pins[i].n == '3': + c.pins[i].n = '1' + continue + if c.pins[i].n == '4': + c.pins[i].n = '2' + continue + ref = 'G' + c.ref = 'G' + return + + # print('last1') + + if ref == 'H': # Linear Current controlled voltage sources + for i in range(0, len(c.pins)): + if c.pins[i].n == '1': + c.pins[i].n = '3' + continue + if c.pins[i].n == '2': + c.pins[i].n = '4' + continue + if c.pins[i].n == '3': + c.pins[i].n = '1' + continue + if c.pins[i].n == '4': + c.pins[i].n = '2' + continue + ref = 'H' + c.ref = 'H' + return + + # print('last') + + if c.type_ == 'VPLOT1' or c.type_ == 'VPLOT2' or c.type_ \ + == 'VPRINT1' or c.type_ == 'VPRINT2' or c.type_ == 'IPRINT' \ + or c.type_ == 'IPLOT': + ref = 'U' + c.ref = 'U' + c.value = c.type_ + if c.type_ == 'VPLOT2': + c.value = 'VPLOT8' + if c.type_ == 'VPRINT2': + c.value = 'VPRINT' + + # print('*1') + + return + + +def fixInst(ci): + + # print(len(ci.attrs)) + + ref = stripNumFromRef(ci.attrs[0].value) + + # print('misc',ref) + + if ref == 'J': + ci.attrs[0].value = 'J?' + return + if ref == 'M': + ci.attrs[0].value = 'M?' + return + +# Voltage sources + + if ci.type_ == 'VAC' or ci.type_ == 'VDC' or ci.type_ == 'VPULSE' \ + or ci.type_ == 'VSIN' or ci.type_ == 'VEXP' or ci.type_ \ + == 'VPWL': + if ci.attrs[1].value == 'VAC' or ci.attrs[1].value == 'VDC' \ + or ci.attrs[1].value == 'VPULSE' or ci.attrs[1].value \ + == 'VEXP': + ci.attrs[1].value = \ + ci.attrs[1].value[1:len(ci.attrs[1].value)] + if ci.attrs[1].value == 'VSIN': + ci.attrs[1].value = 'SINE' + return + +# Plot sources + + if ci.type_ == 'VPLOT1' or ci.type_ == 'VPLOT2' or ci.type_ \ + == 'VPRINT1' or ci.type_ == 'VPRINT2' or ci.type_ == 'IPRINT' \ + or ci.type_ == 'IPLOT': + ci.attrs[0].value = 'U?' + if ci.type_ == 'VPLOT2': + ci.attrs[1].value = 'VPLOT8' + if ci.type_ == 'VPRINT2': + ci.attrs[1].value = 'VPRINT' + return + +# Gnd sources + + if ci.type_ == 'AGND' or ci.type_ == 'GND_ANALOG': + ci.type_ = 'GND' + return + + if ci.type_ == 'EGND' or ci.type_ == 'GND_EARTH': + + # print(True) + + ci.type_ = 'GND' + return + diff --git a/src/converter/schematic_converters/lib/PythonLib/parser.py b/src/converter/schematic_converters/lib/PythonLib/parser.py new file mode 100644 index 00000000..62f8bb80 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/parser.py @@ -0,0 +1,192 @@ +#The MIT License (MIT) + +#PSpice to Oscad Schematic Converter +#This code is written by Suryavamshi Tenneti, FOSSEE, IIT Bombay +#The code is modified by Sumanto Kar and Gloria Nandihal, FOSSEE, IIT Bombay + + +from header import * #Importing header file from PythonLib folder +from component_instance import * #Importing component_instance file from PythonLib folder +from wire import * #Importing header file from PythonLib folder + +import sys #Importing python sys module +import os #Importing python os module + +from misc import * #Importing misc file from PythonLib folder + + + +files = sys.argv[1:] +input_file = files[0] #input file(Pspice Schematic) location +new_location = files[1] #new file(KiCAD file) location +new_directory = os.path.dirname(new_location) #Creating new directory path(where KiCAD files are to be stored +base_name = os.path.basename(new_location) #Addding base name to the new directory + + + +if not os.path.exists(new_location): #If the directory does not already exists, then making new directory + os.makedirs(new_location) + + + +#current_location = os.getcwd() +file = open(input_file, 'r+') #opening a file in read and write mode +os.chdir(new_location) #changing to the new directory location +fprojname = base_name + '.proj' #Creating name for the new KiCAD project +fproname = base_name + '.pro' #Creating name for the new KiCAD project +fschname = base_name + '.sch' #Creating name for the new EESchema schematic + + + + + +#Creating a String of the libraries and library names to be added in the EESchema and project file respectively +descr = 'EESchema Schematic File Version 2 date \nLIBS:power\nLIBS:device\nLIBS:transistors\nLIBS:conn\nLIBS:linear\nLIBS:regul\nLIBS:74xx\nLIBS:cmos4000\nLIBS:adc-dac\nLIBS:memory\nLIBS:xilinx\nLIBS:special\nLIBS:microcontrollers\nLIBS:dsp\nLIBS:microchip\nLIBS:analog_switches\nLIBS:motorola\nLIBS:texas\nLIBS:intel\nLIBS:audio\nLIBS:interface\nLIBS:digital-audio\nLIBS:philips\nLIBS:display\nLIBS:cypress\nLIBS:siliconi\nLIBS:opto\nLIBS:atmel\nLIBS:contrib\nLIBS:valves\nEELAYER 25 0\nEELAYER END\n$Descr A4 11700 8267\nencoding utf-8\nSheet 1 1\nTitle \"\"\nDate \"\"\nRev \"\"\nComp \"\"\nComment1 \"\"\nComment2 \"\"\nComment3 \"\"\nComment4 \"\"\n$EndDescr\n' + + + + + +proDescr = 'update= \nlast_client=eeschema\n[eeschema]\nversion=1\nLibDir=\nNetFmt=1\nHPGLSpd=20\nHPGLDm=15\nHPGLNum=1\noffX_A4=0\noffY_A4=0\noffX_A3=0\noffY_A3=0\noffX_A2=0\noffY_A2=0\noffX_A1=0\noffY_A1=0\noffX_A0=0\noffY_A0=0\noffX_A=0\noffY_A=0\noffX_B=0\noffY_B=0\noffX_C=0\noffY_C=0\noffX_D=0\noffY_D=0\noffX_E=0\noffY_E=0\nRptD_X=0\nRptD_Y=100\nRptLab=1\nLabSize=60\n[eeschema/libraries]\nLibName1=power\nLibName2=device\nLibName3=transistors\nLibName4=conn\nLibName5=linear\nLibName6=regul\nLibName7=74xx\nLibName8=cmos4000\nLibName9=adc-dac\nLibName10=memory\nLibName11=xilinx\nLibName12=special\nLibName13=microcontrollers\nLibName14=dsp\nLibName15=microchip\nLibName16=analog_switches\nLibName17=motorola\nLibName18=texas\nLibName19=intel\nLibName20=audio\nLibName21=interface\nLibName22=digital-audio\nLibName23=philips\nLibName24=display\nLibName25=cypress\nLibName26=siliconi\nLibName27=opto\nLibName28=atmel\nLibName29=contrib\nLibName30=valves' + + + + +nameAppend = '_PSPICE' #name to be appended with the Pspice Components +REMOVEDCOMPONENTS = ['TITLEBLK', 'PARAM', 'readme', 'VIEWPOINT', 'LIB', 'copyright', 'WATCH1', 'VECTOR', 'NODESET1'] + # Components to be removed + + + +#print('opening .proj file') +fproj = open(fprojname,'w+') #opening the project KiCAD file in write mode, if not present creating it +fproj.write('schematicFile '+ base_name + '.sch.sch' + '\n') #writing to the project file +fproj.close() #closing the project file +#print('closing .proj file') + + + + +#print('opening .pro file') +fpro = open(fproname, 'w+') #opening the project KiCAD file in write mode, if not present creating it +fpro.write(proDescr + '\n') #writing the library names to the project file +fpro.close() #closing the project file +#print('closing .pro file') + + + + +textline = file.readline().strip() #reading from the Pspice Schematic file until '@status' is reached +while('@status' not in textline): + textline = file.readline().strip() + #print(textline) + +textline = file.readline().strip() + + + + +#print('opening .sch file') +fsch = open(fschname, 'w+') #opening the EESchema file in write mode, if not present creating it +fsch.write(descr) #writing the libraries to the project file + +while('@ports' not in textline): #reading from the Pspice Schematic file until '@ports' is reached + textline = file.readline().strip() + #print(textline) + + + + + +componentInstances = [] #creating array of componentInstances for EESchema +g = file.tell() #getting position of file handle +textline = file.readline().strip() +while(textline[:4] == 'port' and textline != ''): #reading each port data from the Pspice schematic file + #print('decoding ports') + #print(textline) + file.seek(g) #setting the position of file handle + ci = ComponentInstance(file) #sending the 'file'object to ComponentInstance Constructor + #and storing the result in ci + if ci.type_ == 'AGND' or ci.type_ == 'GND_ANALOG' or ci.type_ == 'GND_EARTH' or ci.type_ == 'EGND' or ci.type_ == '+5V' or ci.type_ == '-5V' : #checking whether the type of ci is ground or power lines + #print(ci.type_) + fixInst(ci) + componentInstances.append(ci) #appending ci to the array of componentInstances for EESchema + + componentInstances[-1].attrs[0].value = '#PWR'+str(len(componentInstances)) + #appending pwr to the array of componentInstances for EESchema + + g = file.tell() #getting position of file handle + textline = file.readline().strip() + +'''file.seek(g) +g = file.tell() +print(file.readline().strip()) +file.seek(g) +print('**', textline, ('@parts' in textline)) +''' + + + + +while('@parts' not in textline and textline!=''): #reading each part data from the Pspice schematic file + #print('parts') + textline = file.readline().strip() + #print(textline) +g = file.tell() #getting position of file handle + + + + +#textline = file.readline().strip() +textline = file.readline().strip() +#print('part->', textline) +while(textline[:4] == 'part' and textline != ''): + file.seek(g) #setting the position of file handle + #print('part',file.readline().strip()) + file.seek(g) + ci = ComponentInstance(file) #sending the 'file' object to ComponentInstance Constructor + #in ComponentInstance.py and storing the result in ci + fixInst(ci) + ci.type_ = ci.type_ + nameAppend #appending _PSPIE stored in nameAppend to ci.type + componentInstances.append(ci) #appending ci to the array of componentInstances for EESchema + g = file.tell() #getting position of file handle + textline = file.readline().strip() + + + + + +file.seek(g) #setting the position of file handle +#print('len of componentInstances = ', len(componentInstances)) +for i in range(0, len(componentInstances)): #printing the componentInstances array to the EESchema Schematic file + componentInstances[i].print(fsch) + +while('@conn' not in textline and textline != ''): #reading each part data from the Pspice schematic file + textline = file.readline().strip() + + + + +wires = [] #creating an array wires +file.readline().strip() +parseWire(file, wires) #sending the 'file' object to parseWire function in wire.py + #and storing the result in wires + +for i in range(0, len(wires)): #printing the wires array to the EESchema Schematic file + wires[i].print(fsch) + + + + +conns = [] +parseConn(file, conns) #sending the 'file' object to parseConn function in wire.py + #and storing the result in conns + +for i in range(0, len(conns)): #printing the conns array to the EESchema Schematic file + conns[i].print(fsch) + + + + +fsch.write('$EndSCHEMATC\n') #writing '$EndSCHEMATIC' to EESchema Schematic +fsch.close() #closing the EESchema Schematic diff --git a/src/converter/schematic_converters/lib/PythonLib/source.lib b/src/converter/schematic_converters/lib/PythonLib/source.lib new file mode 100644 index 00000000..cf0e04dc --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/source.lib @@ -0,0 +1,570 @@ +EESchema-LIBRARY Version 4.7 Date: +#encoding utf-8 +# +# DigClock_PSPICE +# +DEF DigClock_PSPICE DSTM 0 30 Y Y 1 F N +F0 "DSTM" 0 0 30 H V L CNN +F1 "DigClock_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -500 50 -500 -50 N +P 2 0 1 0 -500 -50 -200 -50 N +P 2 0 1 0 -200 -50 -100 0 N +P 2 0 1 0 -100 0 -200 50 N +P 2 0 1 0 -200 50 -500 50 N +P 2 0 1 0 -360 -20 -310 -20 N +P 2 0 1 0 -310 -20 -310 20 N +P 2 0 1 0 -310 20 -260 20 N +P 2 0 1 0 -260 20 -260 -20 N +P 2 0 1 0 -260 -20 -210 -20 N +P 2 0 1 0 -210 -20 -210 20 N +P 2 0 1 0 -210 20 -160 20 N +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ pwr -250 150 100 D 30 30 0 1 W +X ~ gnd -250 -150 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# FileStim_PSPICE +# +DEF FileStim_PSPICE DSTM 0 30 Y Y 1 F N +F0 "DSTM" 0 0 30 H V L CNN +F1 "FileStim_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -500 50 -500 -50 N +P 2 0 1 0 -500 -50 -200 -50 N +P 2 0 1 0 -200 -50 -100 0 N +P 2 0 1 0 -100 0 -200 50 N +P 2 0 1 0 -200 50 -500 50 N +P 2 0 1 0 -400 -20 -350 -20 N +P 2 0 1 0 -350 -20 -350 20 N +P 2 0 1 0 -350 20 -300 20 N +P 2 0 1 0 -300 20 -300 -20 N +P 2 0 1 0 -300 -20 -250 -20 N +P 2 0 1 0 -250 -20 -250 20 N +P 2 0 1 0 -250 20 -200 20 N +X ~ PWR -200 150 100 D 30 30 0 1 W +X ~ GND -200 -150 100 U 30 30 0 1 W +X ~ *1 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IAC_PSPICE +# +DEF IAC_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IAC_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +C 0 -200 100 0 1 0 N +A 30 -200 30 -1799 -1 0 1 0 N 0 -200 60 -200 +A -30 -200 30 1 1799 0 1 0 N 0 -200 -60 -200 +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IDC_PSPICE +# +DEF IDC_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IDC_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 -150 0 -250 N +P 2 0 1 0 0 -250 -50 -200 N +P 2 0 1 0 0 -250 50 -200 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IEXP_PSPICE +# +DEF IEXP_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IEXP_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +A -10 -230 60 716 1880 0 1 0 N 9 -173 -69 -238 +A 70 -170 60 -1799 -901 0 1 0 N 10 -170 70 -230 +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPULSE_PSPICE +# +DEF IPULSE_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IPULSE_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -250 N +P 2 0 1 0 -40 -250 -20 -180 N +P 2 0 1 0 -20 -180 20 -180 N +P 2 0 1 0 20 -180 40 -250 N +P 2 0 1 0 40 -250 70 -250 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPWL_ENH_PSPICE +# +DEF IPWL_ENH_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IPWL_ENH_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPWL_FILE_PSPICE +# +DEF IPWL_FILE_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IPWL_FILE_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPWL_PSPICE +# +DEF IPWL_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IPWL_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ISFFM_PSPICE +# +DEF ISFFM_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "ISFFM_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +A -30 -200 30 1 1799 0 1 0 N 0 -200 -60 -200 +A 30 -200 30 -1799 -1 0 1 0 N 0 -200 60 -200 +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ISIN_PSPICE +# +DEF ISIN_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "ISIN_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +A -30 -200 30 1 1799 0 1 0 N 0 -200 -60 -200 +A 30 -200 30 -1799 -1 0 1 0 N 0 -200 60 -200 +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ISRC_PSPICE +# +DEF ISRC_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "ISRC_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 -150 0 -250 N +P 2 0 1 0 0 -250 -50 -200 N +P 2 0 1 0 0 -250 50 -200 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# STIM1_PSPICE +# +DEF STIM1_PSPICE DSTM 0 30 Y Y 1 F N +F0 "DSTM" 0 0 30 H V L CNN +F1 "STIM1_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -500 50 -500 -50 N +P 2 0 1 0 -500 -50 -200 -50 N +P 2 0 1 0 -200 -50 -100 0 N +P 2 0 1 0 -100 0 -200 50 N +P 2 0 1 0 -200 50 -500 50 N +P 2 0 1 0 -450 -20 -400 -20 N +P 2 0 1 0 -400 -20 -400 20 N +P 2 0 1 0 -400 20 -350 20 N +P 2 0 1 0 -350 20 -350 -20 N +P 2 0 1 0 -350 -20 -300 -20 N +P 2 0 1 0 -300 -20 -300 20 N +P 2 0 1 0 -300 20 -250 20 N +X ~ pin1 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# STIM4_PSPICE +# +DEF STIM4_PSPICE DSTM 0 30 Y Y 1 F N +F0 "DSTM" 0 0 30 H V L CNN +F1 "STIM4_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -500 50 -500 -50 N +P 2 0 1 0 -500 -50 -200 -50 N +P 2 0 1 0 -200 -50 -100 0 N +P 2 0 1 0 -100 0 -200 50 N +P 2 0 1 0 -200 50 -500 50 N +P 2 0 1 0 -450 -20 -400 -20 N +P 2 0 1 0 -400 -20 -400 20 N +P 2 0 1 0 -400 20 -350 20 N +P 2 0 1 0 -350 20 -350 -20 N +P 2 0 1 0 -350 -20 -300 -20 N +P 2 0 1 0 -300 -20 -300 20 N +P 2 0 1 0 -300 20 -250 20 N +X ~ pin[0-3] 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# STIM8_PSPICE +# +DEF STIM8_PSPICE DSTM 0 30 Y Y 1 F N +F0 "DSTM" 0 0 30 H V L CNN +F1 "STIM8_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -500 50 -500 -50 N +P 2 0 1 0 -500 -50 -200 -50 N +P 2 0 1 0 -200 -50 -100 0 N +P 2 0 1 0 -100 0 -200 50 N +P 2 0 1 0 -200 50 -500 50 N +P 2 0 1 0 -450 -20 -400 -20 N +P 2 0 1 0 -400 -20 -400 20 N +P 2 0 1 0 -400 20 -350 20 N +P 2 0 1 0 -350 20 -350 -20 N +P 2 0 1 0 -350 -20 -300 -20 N +P 2 0 1 0 -300 -20 -300 20 N +P 2 0 1 0 -300 20 -250 20 N +X ~ pin[0-7] 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# STIM16_PSPICE +# +DEF STIM16_PSPICE DSTM 0 30 Y Y 1 F N +F0 "DSTM" 0 0 30 H V L CNN +F1 "STIM16_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -500 50 -500 -50 N +P 2 0 1 0 -500 -50 -200 -50 N +P 2 0 1 0 -200 -50 -100 0 N +P 2 0 1 0 -100 0 -200 50 N +P 2 0 1 0 -200 50 -500 50 N +P 2 0 1 0 -450 -20 -400 -20 N +P 2 0 1 0 -400 -20 -400 20 N +P 2 0 1 0 -400 20 -350 20 N +P 2 0 1 0 -350 20 -350 -20 N +P 2 0 1 0 -350 -20 -300 -20 N +P 2 0 1 0 -300 -20 -300 20 N +P 2 0 1 0 -300 20 -250 20 N +X ~ pin[0-15] 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VEXP_PSPICE +# +DEF VEXP_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VEXP_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +A -10 -230 60 716 1880 0 1 0 N 9 -173 -69 -238 +A 70 -170 60 -1799 -901 0 1 0 N 10 -170 70 -230 +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPULSE_PSPICE +# +DEF VPULSE_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VPULSE_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -250 N +P 2 0 1 0 -40 -250 -20 -180 N +P 2 0 1 0 -20 -180 20 -180 N +P 2 0 1 0 20 -180 40 -250 N +P 2 0 1 0 40 -250 70 -250 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPWL_ENH_PSPICE +# +DEF VPWL_ENH_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VPWL_ENH_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPWL_FILE_PSPICE +# +DEF VPWL_FILE_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VPWL_FILE_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPWL_PSPICE +# +DEF VPWL_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VPWL_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VSFFM_PSPICE +# +DEF VSFFM_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VSFFM_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +A -30 -200 30 1 1799 0 1 0 N 0 -200 -60 -200 +A 30 -200 30 -1799 -1 0 1 0 N 0 -200 60 -200 +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VSIN_PSPICE +# +DEF VSIN_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VSIN_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +A -30 -200 30 1 1799 0 1 0 N 0 -200 -60 -200 +A 30 -200 30 -1799 -1 0 1 0 N 0 -200 60 -200 +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VSRC_PSPICE +# +DEF VSRC_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VSRC_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VAC_PSPICE +# +DEF VAC_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VAC_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +A -30 -200 30 1 1799 0 1 0 N 0 -200 -60 -200 +A 30 -200 30 -1799 -1 0 1 0 N 0 -200 60 -200 +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VDC_PSPICE +# +DEF VDC_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VDC_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -100 -140 100 -140 N +P 2 0 1 0 -50 -170 50 -170 N +P 2 0 1 0 100 -200 -100 -200 N +P 2 0 1 0 -50 -240 50 -240 N +P 2 0 1 0 0 -90 0 -140 N +P 2 0 1 0 0 -300 0 -240 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPWL_RE_FOREVER_PSPICE +# +DEF IPWL_RE_FOREVER_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IPWL_RE_FOREVER_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPWL_RE_N_TIMES_PSPICE +# +DEF IPWL_RE_N_TIMES_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IPWL_RE_N_TIMES_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPWL_RE_FOREVER_PSPICE +# +DEF VPWL_RE_FOREVER_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VPWL_RE_FOREVER_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPWL_RE_N_TIMES_PSPICE +# +DEF VPWL_RE_N_TIMES_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VPWL_RE_N_TIMES_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPWL_F_RE_FOREVER_PSPICE +# +DEF IPWL_F_RE_FOREVER_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IPWL_F_RE_FOREVER_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPWL_F_RE_N_TIMES_PSPICE +# +DEF VPWL_F_RE_N_TIMES_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VPWL_F_RE_N_TIMES_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPWL_F_RE_FOREVER_PSPICE +# +DEF VPWL_F_RE_FOREVER_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VPWL_F_RE_FOREVER_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPWL_F_RE_N_TIMES_PSPICE +# +DEF IPWL_F_RE_N_TIMES_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IPWL_F_RE_N_TIMES_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/src/converter/schematic_converters/lib/PythonLib/sourcstm.lib b/src/converter/schematic_converters/lib/PythonLib/sourcstm.lib new file mode 100644 index 00000000..8bebb6fb --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/sourcstm.lib @@ -0,0 +1,55 @@ +EESchema-LIBRARY Version 4.7 Date: +#encoding utf-8 +# +# ISTIM_PSPICE +# +DEF ISTIM_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "ISTIM_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 -150 0 -250 N +P 2 0 1 0 0 -250 -50 -200 N +P 2 0 1 0 0 -250 50 -200 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VSTIM_PSPICE +# +DEF VSTIM_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VSTIM_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DigStim_PSPICE +# +DEF DigStim_PSPICE DSTM 0 30 Y Y 1 F N +F0 "DSTM" 0 0 30 H V L CNN +F1 "DigStim_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -500 50 -500 -50 N +P 2 0 1 0 -500 -50 -200 -50 N +P 2 0 1 0 -200 -50 -100 0 N +P 2 0 1 0 -100 0 -200 50 N +P 2 0 1 0 -200 50 -500 50 N +P 2 0 1 0 -400 -20 -350 -20 N +P 2 0 1 0 -350 -20 -350 20 N +P 2 0 1 0 -350 20 -300 20 N +P 2 0 1 0 -300 20 -300 -20 N +P 2 0 1 0 -300 -20 -250 -20 N +P 2 0 1 0 -250 -20 -250 20 N +P 2 0 1 0 -250 20 -200 20 N +X ~ PWR -200 150 100 D 30 30 0 1 W +X ~ GND -200 -150 100 U 30 30 0 1 W +X ~ *OUT 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/src/converter/schematic_converters/lib/PythonLib/special.lib b/src/converter/schematic_converters/lib/PythonLib/special.lib new file mode 100644 index 00000000..08a7654e --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/special.lib @@ -0,0 +1,864 @@ +EESchema-LIBRARY Version 4.7 Date: +#encoding utf-8 +# +# CD4000_PWR_PSPICE +# +DEF CD4000_PWR_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "CD4000_PWR_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 -150 1500 -150 N +S 0 0 1500 -700 0 1 0 N +X ~ VDD -100 -300 100 R 30 30 0 1 P +X ~ AGND 500 -800 100 U 30 30 0 1 P +X ~ VSS 1600 -300 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DIGIFPWR_PSPICE +# +DEF DIGIFPWR_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "DIGIFPWR_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 -150 1500 -150 N +S 0 0 1500 -700 0 1 0 N +X ~ PWR -100 -300 100 R 30 30 0 1 P +X ~ AGND 500 -800 100 U 30 30 0 1 P +X ~ GND 1600 -300 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ECL_100K_PWR_PSPICE +# +DEF ECL_100K_PWR_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "ECL_100K_PWR_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 -150 1600 -150 N +S 0 0 1600 -1200 0 1 0 N +X ~ VEE -100 -200 100 R 30 30 0 1 P +X ~ AGND 700 -1290 100 U 30 30 0 1 P +X ~ VCC1 1700 -200 100 L 30 30 0 1 P +X ~ VTT -100 -400 100 R 30 30 0 1 P +X ~ VCC2 1700 -400 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ECL_10K_PWR_PSPICE +# +DEF ECL_10K_PWR_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "ECL_10K_PWR_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 -150 1500 -150 N +S 0 0 1500 -1200 0 1 0 N +X ~ VEE -100 -200 100 R 30 30 0 1 P +X ~ AGND 700 -1300 100 U 30 30 0 1 P +X ~ VCC1 1600 -200 100 L 30 30 0 1 P +X ~ VTT -100 -400 100 R 30 30 0 1 P +X ~ VCC2 1600 -400 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IC1_PSPICE +# +DEF IC1_PSPICE IC 0 30 Y Y 1 F N +F0 "IC" 0 0 30 H V L CNN +F1 "IC1_PSPICE" 0 60 30 H V L CNN +DRAW +S -100 200 100 100 0 1 0 N +X ~ + 0 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IC2_PSPICE +# +DEF IC2_PSPICE IC 0 30 Y Y 1 F N +F0 "IC" 0 0 30 H V L CNN +F1 "IC2_PSPICE" 0 60 30 H V L CNN +DRAW +S 0 200 300 100 0 1 0 N +X ~ + 0 0 100 U 30 30 0 1 P +X ~ - 300 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPROBE_PSPICE +# +DEF IPROBE_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "IPROBE_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 -230 50 -150 N +C 0 -200 100 0 1 0 N +A -10 -190 80 141 1639 0 1 0 N 67 -170 -86 -167 +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# NODESET2_PSPICE +# +DEF NODESET2_PSPICE NS 0 30 Y Y 1 F N +F0 "NS" 0 0 30 H V L CNN +F1 "NODESET2_PSPICE" 0 60 30 H V L CNN +DRAW +S -100 200 300 100 0 1 0 N +X ~ + 0 0 100 U 30 30 0 1 P +X ~ - 200 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# OPTPARAM_PSPICE +# +DEF OPTPARAM_PSPICE PM 0 30 Y Y 1 F N +F0 "PM" 0 0 30 H V L CNN +F1 "OPTPARAM_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 900 0 N +ENDDRAW +ENDDEF +# +# PRINT1_PSPICE +# +DEF PRINT1_PSPICE PRINT 0 30 Y Y 1 F N +F0 "PRINT" 0 0 30 H V L CNN +F1 "PRINT1_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -100 100 100 100 N +P 2 0 1 0 100 100 150 150 N +P 2 0 1 0 150 150 150 200 N +P 2 0 1 0 150 200 100 150 N +P 2 0 1 0 100 150 -100 150 N +P 2 0 1 0 -100 150 -50 200 N +P 2 0 1 0 -50 200 0 200 N +P 2 0 1 0 0 200 0 280 N +P 2 0 1 0 0 280 100 280 N +P 2 0 1 0 100 280 100 200 N +P 2 0 1 0 100 200 70 170 N +P 2 0 1 0 70 170 -30 170 N +P 2 0 1 0 -30 170 0 200 N +P 2 0 1 0 -100 150 -100 100 N +P 2 0 1 0 100 150 100 100 N +P 2 0 1 0 100 200 150 200 N +P 2 0 1 0 20 260 80 260 N +P 2 0 1 0 20 240 80 240 N +P 2 0 1 0 20 220 80 220 N +P 2 0 1 0 20 200 80 200 N +P 2 0 1 0 50 130 80 130 N +C 130 150 10 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# PRINTDGTLCHG_PSPICE +# +DEF PRINTDGTLCHG_PSPICE PRINT 0 30 Y Y 1 F N +F0 "PRINT" 0 0 30 H V L CNN +F1 "PRINTDGTLCHG_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -100 100 100 100 N +P 2 0 1 0 100 100 150 150 N +P 2 0 1 0 150 150 150 200 N +P 2 0 1 0 150 200 100 150 N +P 2 0 1 0 100 150 -100 150 N +P 2 0 1 0 -100 150 -50 200 N +P 2 0 1 0 -50 200 0 200 N +P 2 0 1 0 0 200 0 280 N +P 2 0 1 0 0 280 100 280 N +P 2 0 1 0 100 280 100 200 N +P 2 0 1 0 100 200 70 170 N +P 2 0 1 0 70 170 -30 170 N +P 2 0 1 0 -30 170 0 200 N +P 2 0 1 0 -100 150 -100 100 N +P 2 0 1 0 100 150 100 100 N +P 2 0 1 0 100 200 150 200 N +P 2 0 1 0 20 260 80 260 N +P 2 0 1 0 20 240 80 240 N +P 2 0 1 0 20 220 80 220 N +P 2 0 1 0 20 200 80 200 N +P 2 0 1 0 50 130 80 130 N +C 130 150 10 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# UNKNOWN_PSPICE +# +DEF UNKNOWN_PSPICE *? 0 30 Y Y 1 F N +F0 "*?" 0 0 30 H V L CNN +F1 "UNKNOWN_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 -200 200 -300 N +S 0 0 400 -400 0 1 0 N +C 200 -350 20 0 1 0 N +A 200 -150 50 -899 899 0 1 0 N 200 -200 200 -100 +A 200 -150 50 1 1799 0 1 0 N 250 -150 150 -150 +ENDDRAW +ENDDEF +# +# VPRINT1_PSPICE +# +DEF VPRINT1_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "VPRINT1_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -100 100 100 100 N +P 2 0 1 0 100 100 150 150 N +P 2 0 1 0 150 150 150 200 N +P 2 0 1 0 150 200 100 150 N +P 2 0 1 0 100 150 -100 150 N +P 2 0 1 0 -100 150 -50 200 N +P 2 0 1 0 -50 200 0 200 N +P 2 0 1 0 0 280 100 280 N +P 2 0 1 0 100 280 100 200 N +P 2 0 1 0 100 200 70 170 N +P 2 0 1 0 70 170 -30 170 N +P 2 0 1 0 -30 170 0 200 N +P 2 0 1 0 -100 150 -100 100 N +P 2 0 1 0 100 150 100 100 N +P 2 0 1 0 100 200 150 200 N +P 2 0 1 0 20 260 80 260 N +P 2 0 1 0 20 240 80 240 N +P 2 0 1 0 20 220 80 220 N +P 2 0 1 0 20 200 80 200 N +P 2 0 1 0 50 130 80 130 N +P 2 0 1 0 0 200 0 280 N +C 130 150 10 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPRINT2_PSPICE +# +DEF VPRINT2_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "VPRINT2_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 120 260 180 260 N +P 2 0 1 0 120 240 180 240 N +P 2 0 1 0 120 220 180 220 N +P 2 0 1 0 120 200 180 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 100 200 100 280 N +C 230 150 10 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +X ~ 2 200 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPLOT1_PSPICE +# +DEF VPLOT1_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "VPLOT1_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -100 100 100 100 N +P 2 0 1 0 100 100 150 150 N +P 2 0 1 0 150 150 150 200 N +P 2 0 1 0 150 200 100 150 N +P 2 0 1 0 100 150 -100 150 N +P 2 0 1 0 -100 150 -50 200 N +P 2 0 1 0 -50 200 0 200 N +P 2 0 1 0 0 200 0 280 N +P 2 0 1 0 0 280 100 280 N +P 2 0 1 0 100 280 100 200 N +P 2 0 1 0 100 200 70 170 N +P 2 0 1 0 70 170 -30 170 N +P 2 0 1 0 -30 170 0 200 N +P 2 0 1 0 -100 150 -100 100 N +P 2 0 1 0 100 150 100 100 N +P 2 0 1 0 100 200 150 200 N +P 2 0 1 0 20 200 80 200 N +P 2 0 1 0 50 130 80 130 N +P 2 0 1 0 -100 100 100 100 N +P 2 0 1 0 100 100 150 150 N +P 2 0 1 0 150 150 150 200 N +P 2 0 1 0 150 200 100 150 N +P 2 0 1 0 100 150 -100 150 N +P 2 0 1 0 -100 150 -50 200 N +P 2 0 1 0 -50 200 0 200 N +P 2 0 1 0 0 200 0 280 N +P 2 0 1 0 0 280 100 280 N +P 2 0 1 0 100 280 100 200 N +P 2 0 1 0 100 200 70 170 N +P 2 0 1 0 70 170 -30 170 N +P 2 0 1 0 -30 170 0 200 N +P 2 0 1 0 -100 150 -100 100 N +P 2 0 1 0 100 150 100 100 N +P 2 0 1 0 100 200 150 200 N +P 2 0 1 0 50 130 80 130 N +P 2 0 1 0 -100 100 100 100 N +P 2 0 1 0 100 100 150 150 N +P 2 0 1 0 150 150 150 200 N +P 2 0 1 0 150 200 100 150 N +P 2 0 1 0 100 150 -100 150 N +P 2 0 1 0 -100 150 -50 200 N +P 2 0 1 0 -50 200 0 200 N +P 2 0 1 0 0 200 0 280 N +P 2 0 1 0 0 280 100 280 N +P 2 0 1 0 100 280 100 200 N +P 2 0 1 0 100 200 70 170 N +P 2 0 1 0 70 170 -30 170 N +P 2 0 1 0 -30 170 0 200 N +P 2 0 1 0 -100 150 -100 100 N +P 2 0 1 0 100 150 100 100 N +P 2 0 1 0 100 200 150 200 N +P 2 0 1 0 50 130 80 130 N +P 2 0 1 0 -100 100 100 100 N +P 2 0 1 0 100 100 150 150 N +P 2 0 1 0 150 150 150 200 N +P 2 0 1 0 150 200 100 150 N +P 2 0 1 0 100 150 -100 150 N +P 2 0 1 0 -100 150 -50 200 N +P 2 0 1 0 -100 150 -100 100 N +P 2 0 1 0 100 150 100 100 N +P 2 0 1 0 50 130 80 130 N +P 2 0 1 0 -100 100 100 100 N +P 2 0 1 0 100 100 150 150 N +P 2 0 1 0 150 150 150 200 N +P 2 0 1 0 150 200 100 150 N +P 2 0 1 0 100 150 -100 150 N +P 2 0 1 0 -100 150 -50 200 N +P 2 0 1 0 -50 200 0 200 N +P 2 0 1 0 0 200 0 280 N +P 2 0 1 0 0 280 100 280 N +P 2 0 1 0 100 280 100 200 N +P 2 0 1 0 100 200 70 170 N +P 2 0 1 0 70 170 -30 170 N +P 2 0 1 0 -30 170 0 200 N +P 2 0 1 0 -100 150 -100 100 N +P 2 0 1 0 100 150 100 100 N +P 2 0 1 0 100 200 150 200 N +P 2 0 1 0 50 130 80 130 N +P 2 0 1 0 -50 200 150 200 N +P 2 0 1 0 20 270 20 210 N +P 2 0 1 0 70 270 80 240 N +P 2 0 1 0 80 240 60 210 N +C 130 150 10 0 1 0 N +C 130 150 10 0 1 0 N +C 130 150 10 0 1 0 N +C 130 150 10 0 1 0 N +C 130 150 10 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPLOT2_PSPICE +# +DEF VPLOT2_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "VPLOT2_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 120 200 180 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 50 200 250 200 N +P 2 0 1 0 120 270 120 210 N +P 2 0 1 0 170 270 180 240 N +P 2 0 1 0 180 240 160 210 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +X ~ 2 200 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPRINT_PSPICE +# +DEF IPRINT_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "IPRINT_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 120 200 180 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 50 200 250 200 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 120 260 180 260 N +P 2 0 1 0 120 240 180 240 N +P 2 0 1 0 120 220 180 220 N +P 2 0 1 0 120 200 180 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 150 0 150 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +X ~ 2 200 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPLOT_PSPICE +# +DEF IPLOT_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "IPLOT_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 120 200 180 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 50 200 250 200 N +P 2 0 1 0 120 270 120 210 N +P 2 0 1 0 170 270 180 240 N +P 2 0 1 0 180 240 160 210 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +X ~ 2 200 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# INCLUDE_PSPICE +# +DEF INCLUDE_PSPICE IN 0 30 Y Y 1 F N +F0 "IN" 0 0 30 H V L CNN +F1 "INCLUDE_PSPICE" 0 60 30 H V L CNN +DRAW +ENDDRAW +ENDDEF +# +# TBLK-D/E/F/H/J/K_PSPICE +# +DEF TBLK-D/E/F/H/J/K_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "TBLK-D/E/F/H/J/K_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -5120 2500 -5120 0 N +P 2 0 1 0 -4750 750 -4750 250 N +P 2 0 1 0 -3500 750 -3500 250 N +P 2 0 1 0 -3750 250 -3750 0 N +P 2 0 1 0 -1750 250 -1750 0 N +P 2 0 1 0 -5120 1880 0 1880 N +P 2 0 1 0 -5120 750 0 750 N +P 2 0 1 0 -5120 250 0 250 N +P 2 0 1 0 -5130 250 -5180 250 N +P 2 0 1 0 -5220 250 -5270 250 N +P 2 0 1 0 -5310 250 -5360 250 N +P 2 0 1 0 -5400 250 -5450 250 N +P 2 0 1 0 -5490 250 -5540 250 N +P 2 0 1 0 -5580 250 -5630 250 N +P 2 0 1 0 -5670 250 -5720 250 N +P 2 0 1 0 -5760 250 -5810 250 N +P 2 0 1 0 -5850 250 -5900 250 N +P 2 0 1 0 -5940 250 -5990 250 N +P 2 0 1 0 -6030 250 -6080 250 N +P 2 0 1 0 -6120 250 -6170 250 N +P 2 0 1 0 -6210 250 -6260 250 N +P 2 0 1 0 -6300 250 -6350 250 N +P 2 0 1 0 -6390 250 -6440 250 N +P 2 0 1 0 -6480 250 -6530 250 N +P 2 0 1 0 -6570 250 -6620 250 N +P 2 0 1 0 -6660 250 -6710 250 N +P 2 0 1 0 -6750 250 -6800 250 N +P 2 0 1 0 -6840 250 -6890 250 N +P 2 0 1 0 -6930 250 -6980 250 N +P 2 0 1 0 -7020 250 -7070 250 N +P 2 0 1 0 -500 730 -500 680 N +P 2 0 1 0 -500 640 -500 590 N +P 2 0 1 0 -500 550 -500 500 N +P 2 0 1 0 -500 460 -500 410 N +P 2 0 1 0 -500 370 -500 320 N +P 2 0 1 0 -500 280 -500 250 N +P 2 0 1 0 -7110 250 -7160 250 N +P 2 0 1 0 -7200 250 -7250 250 N +P 2 0 1 0 -7290 250 -7340 250 N +P 2 0 1 0 -7380 250 -7430 250 N +P 2 0 1 0 -7470 250 -7520 250 N +P 2 0 1 0 -7560 250 -7610 250 N +P 2 0 1 0 -5130 500 -5180 500 N +P 2 0 1 0 -5220 500 -5270 500 N +P 2 0 1 0 -5310 500 -5360 500 N +P 2 0 1 0 -5400 500 -5450 500 N +P 2 0 1 0 -5490 500 -5540 500 N +P 2 0 1 0 -5580 500 -5630 500 N +P 2 0 1 0 -5670 500 -5720 500 N +P 2 0 1 0 -5760 500 -5810 500 N +P 2 0 1 0 -5850 500 -5900 500 N +P 2 0 1 0 -5940 500 -5990 500 N +P 2 0 1 0 -6030 500 -6080 500 N +P 2 0 1 0 -6120 500 -6170 500 N +P 2 0 1 0 -6210 500 -6260 500 N +P 2 0 1 0 -6300 500 -6350 500 N +P 2 0 1 0 -6390 500 -6440 500 N +P 2 0 1 0 -6480 500 -6530 500 N +P 2 0 1 0 -6570 500 -6620 500 N +P 2 0 1 0 -6660 500 -6710 500 N +P 2 0 1 0 -6750 500 -6800 500 N +P 2 0 1 0 -6840 500 -6890 500 N +P 2 0 1 0 -6930 500 -6980 500 N +P 2 0 1 0 -7020 500 -7070 500 N +P 2 0 1 0 -7110 500 -7160 500 N +P 2 0 1 0 -7200 500 -7250 500 N +P 2 0 1 0 -7290 500 -7340 500 N +P 2 0 1 0 -7380 500 -7430 500 N +P 2 0 1 0 -7470 500 -7520 500 N +P 2 0 1 0 -7560 500 -7610 500 N +S -7620 2500 0 0 0 1 0 N +ENDDRAW +ENDDEF +# +# TBCONT-A/B/C/G_PSPICE +# +DEF TBCONT-A/B/C/G_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "TBCONT-A/B/C/G_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -3870 620 -3870 250 N +P 2 0 1 0 -2750 620 -2750 250 N +P 2 0 1 0 -3250 250 -3250 0 N +P 2 0 1 0 -1750 250 -1750 0 N +P 2 0 1 0 -4250 620 0 620 N +P 2 0 1 0 -4250 250 0 250 N +P 2 0 1 0 -380 580 -380 530 N +P 2 0 1 0 -380 490 -380 440 N +P 2 0 1 0 -380 400 -380 350 N +P 2 0 1 0 -380 310 -380 260 N +P 2 0 1 0 -4250 620 -4250 0 N +P 2 0 1 0 -4250 0 0 0 N +P 2 0 1 0 0 0 0 620 N +ENDDRAW +ENDDEF +# +# TBCONT-D/E/F/H/J/K_PSPICE +# +DEF TBCONT-D/E/F/H/J/K_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "TBCONT-D/E/F/H/J/K_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -4750 750 -4750 250 N +P 2 0 1 0 -3500 750 -3500 250 N +P 2 0 1 0 -3750 250 -3750 0 N +P 2 0 1 0 -1750 250 -1750 0 N +P 2 0 1 0 -5120 750 0 750 N +P 2 0 1 0 -5120 250 0 250 N +P 2 0 1 0 -500 730 -500 680 N +P 2 0 1 0 -500 640 -500 590 N +P 2 0 1 0 -500 550 -500 500 N +P 2 0 1 0 -500 460 -500 410 N +P 2 0 1 0 -500 370 -500 320 N +P 2 0 1 0 -450 280 -450 250 N +P 2 0 1 0 -5120 750 -5120 0 N +P 2 0 1 0 -5120 0 -20 0 N +P 2 0 1 0 -30 0 0 0 N +P 2 0 1 0 0 0 0 750 N +ENDDRAW +ENDDEF +# +# TBLK-A/B/C/G_PSPICE +# +DEF TBLK-A/B/C/G_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "TBLK-A/B/C/G_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -4250 2000 -4250 0 N +P 2 0 1 0 -3870 620 -3870 250 N +P 2 0 1 0 -2750 620 -2750 250 N +P 2 0 1 0 -3250 250 -3250 0 N +P 2 0 1 0 -1750 250 -1750 0 N +P 2 0 1 0 -4250 1380 0 1380 N +P 2 0 1 0 -4250 620 0 620 N +P 2 0 1 0 -4250 250 0 250 N +P 2 0 1 0 -380 580 -380 530 N +P 2 0 1 0 -380 490 -380 440 N +P 2 0 1 0 -380 400 -380 350 N +P 2 0 1 0 -380 310 -380 260 N +P 2 0 1 0 -4290 250 -4340 250 N +P 2 0 1 0 -4380 250 -4430 250 N +P 2 0 1 0 -4470 250 -4520 250 N +P 2 0 1 0 -4560 250 -4610 250 N +P 2 0 1 0 -4650 250 -4700 250 N +P 2 0 1 0 -4740 250 -4790 250 N +P 2 0 1 0 -4830 250 -4880 250 N +P 2 0 1 0 -4920 250 -4970 250 N +P 2 0 1 0 -5010 250 -5060 250 N +P 2 0 1 0 -5100 250 -5150 250 N +P 2 0 1 0 -5190 250 -5240 250 N +P 2 0 1 0 -5280 250 -5330 250 N +P 2 0 1 0 -5370 250 -5420 250 N +P 2 0 1 0 -5460 250 -5510 250 N +P 2 0 1 0 -5550 250 -5600 250 N +P 2 0 1 0 -5640 250 -5690 250 N +P 2 0 1 0 -5730 250 -5780 250 N +P 2 0 1 0 -5820 250 -5870 250 N +P 2 0 1 0 -5910 250 -5960 250 N +P 2 0 1 0 -6000 250 -6050 250 N +P 2 0 1 0 -6090 250 -6140 250 N +P 2 0 1 0 -6180 250 -6230 250 N +P 2 0 1 0 -4290 500 -4340 500 N +P 2 0 1 0 -4380 500 -4430 500 N +P 2 0 1 0 -4470 500 -4520 500 N +P 2 0 1 0 -4560 500 -4610 500 N +P 2 0 1 0 -4650 500 -4700 500 N +P 2 0 1 0 -4740 500 -4790 500 N +P 2 0 1 0 -4830 500 -4880 500 N +P 2 0 1 0 -4920 500 -4970 500 N +P 2 0 1 0 -5010 500 -5060 500 N +P 2 0 1 0 -5100 500 -5150 500 N +P 2 0 1 0 -5190 500 -5240 500 N +P 2 0 1 0 -5280 500 -5330 500 N +P 2 0 1 0 -5370 500 -5420 500 N +P 2 0 1 0 -5460 500 -5510 500 N +P 2 0 1 0 -5550 500 -5600 500 N +P 2 0 1 0 -5640 500 -5690 500 N +P 2 0 1 0 -5730 500 -5780 500 N +P 2 0 1 0 -5820 500 -5870 500 N +P 2 0 1 0 -5910 500 -5960 500 N +P 2 0 1 0 -6000 500 -6050 500 N +P 2 0 1 0 -6090 500 -6140 500 N +P 2 0 1 0 -6180 500 -6230 500 N +S -6250 2000 0 0 0 1 0 N +ENDDRAW +ENDDEF +# +#End Library diff --git a/src/converter/schematic_converters/lib/PythonLib/wire.py b/src/converter/schematic_converters/lib/PythonLib/wire.py new file mode 100644 index 00000000..b8f56037 --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/wire.py @@ -0,0 +1,66 @@ +#The MIT License (MIT) + +#PSpice to Oscad Schematic Converter +#This code is written by Suryavamshi Tenneti, FOSSEE, IIT Bombay +#The code is modified by Sumanto Kar and Gloria Nandihal, FOSSEE, IIT Bombay + + +from header import * + +class Wire: + x1 = 0 + y1 = 0 + x2 = 0 + y2 = 0 + def __init__(self, x1 = 0, y1 = 0, x2 = 0, y2 = 0): + self.x1 = x1 + self.x2 = x2 + self.y1 = y1 + self.y2 = y2 # print + + def print(self, output_stream): + output_stream.write('Wire Wire Line\n'+'\t') + output_stream.write(str(self.x1)+' '+str(self.y1)+' '+str(self.x2)+' ' +str(self.y2)+'\n') + +class Connector: + x = 0 + y = 0 + + def __init__(self, x = 0, y = 0): + self.x = x + self.y = y # print funciton of Connector class to print connectors format to output schematic file as per KiCad format + + def print(self, output_stream): + output_stream.write('Connection ~ '+str(self.x)+' '+str(self.y)+'\n')# Function parseWire to get the postion of wires + +def parseWire(input_stream, wires): + + line = input_stream.readline().strip() + while(line[0]!='@'): #print('parsing wire', line) + #print('parsing wire', line) + if line[0] == 's': #reading 's' + #print('Yes') + string = line + t,x1,y1,x2,y2 = string.split()[:-1] # retriving the values from string stream + x1 = int(x1) + y1 = int(y1) + x2 = int(x2) + y2 = int(y2) + + w = Wire(x1*MULT, y1*MULT, x2*MULT, y2*MULT) + wires.append(w) + line = input_stream.readline().strip() # Function parseConn to get the position of junction + return input_stream + +def parseConn(input_stream, conns): + line = input_stream.readline().strip() + while(line[0]!= '@'): + if line[0] == 'j': #reading 'j' + string = line + t,x1,y1 = string.split() + x1 = int(x1) + y1 = int(y1) + c = Connector(x1*MULT, y1*MULT) + conns.append(c) + line = input_stream.readline().strip() + return input_stream diff --git a/src/converter/schematic_converters/lib/PythonLib/wizard.lib b/src/converter/schematic_converters/lib/PythonLib/wizard.lib new file mode 100644 index 00000000..b57f0fff --- /dev/null +++ b/src/converter/schematic_converters/lib/PythonLib/wizard.lib @@ -0,0 +1,230 @@ +EESchema-LIBRARY Version 4.7 Date: +#encoding utf-8 +# +# diode_PSPICE +# +DEF diode_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "diode_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 50 200 -50 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 0 120 0 N +ENDDRAW +ENDDEF +# +# npn_PSPICE +# +DEF npn_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "npn_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +ENDDRAW +ENDDEF +# +# pnp_PSPICE +# +DEF pnp_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "pnp_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 100 -50 200 -100 N +P 3 0 1 0 190 -70 120 -60 170 -110 N +ENDDRAW +ENDDEF +# +# zener_diode_PSPICE +# +DEF zener_diode_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "zener_diode_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 170 70 200 50 N +P 2 0 1 0 200 -50 230 -70 N +P 2 0 1 0 200 50 200 -50 N +P 2 0 1 0 100 0 120 0 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +ENDDRAW +ENDDEF +# +# mosfet_n_3_PSPICE +# +DEF mosfet_n_3_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "mosfet_n_3_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 290 -20 230 0 290 20 N +ENDDRAW +ENDDEF +# +# mosfet_n_4_PSPICE +# +DEF mosfet_n_4_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "mosfet_n_4_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 400 0 N +P 2 0 1 0 400 0 400 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 290 -20 230 0 290 20 N +ENDDRAW +ENDDEF +# +# mosfet_p_3_PSPICE +# +DEF mosfet_p_3_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "mosfet_p_3_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 230 20 290 0 230 -20 N +ENDDRAW +ENDDEF +# +# mosfet_p_4_PSPICE +# +DEF mosfet_p_4_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "mosfet_p_4_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 400 0 N +P 2 0 1 0 400 0 400 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 230 20 290 0 230 -20 N +ENDDRAW +ENDDEF +# +# opamp5_PSPICE +# +DEF opamp5_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "opamp5_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 400 -50 N +P 2 0 1 0 400 -400 400 -350 N +P 4 0 1 0 100 100 700 -200 100 -500 100 100 N +ENDDRAW +ENDDEF +# +# opamp6_PSPICE +# +DEF opamp6_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "opamp6_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 400 -50 N +P 2 0 1 0 400 -400 400 -350 N +P 2 0 1 0 700 -400 600 -400 N +P 2 0 1 0 600 -400 500 -300 N +P 4 0 1 0 100 100 700 -200 100 -500 100 100 N +ENDDRAW +ENDDEF +# +# opamp7_PSPICE +# +DEF opamp7_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "opamp7_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 400 -50 N +P 2 0 1 0 400 -400 400 -350 N +P 2 0 1 0 600 0 500 -100 N +P 2 0 1 0 500 -300 600 -400 N +P 2 0 1 0 600 0 700 0 N +P 2 0 1 0 600 -400 700 -400 N +P 4 0 1 0 100 100 700 -200 100 -500 100 100 N +ENDDRAW +ENDDEF +# +# GaAsFET_PSPICE +# +DEF GaAsFET_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "GaAsFET_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 130 200 -130 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 100 0 200 0 N +ENDDRAW +ENDDEF +# +# IGBT_PSPICE +# +DEF IGBT_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "IGBT_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 200 200 0 N +P 2 0 1 0 170 200 170 0 N +P 2 0 1 0 100 0 170 0 N +P 2 0 1 0 300 200 200 150 N +P 2 0 1 0 200 50 300 0 N +P 3 0 1 0 210 20 280 10 230 60 N +ENDDRAW +ENDDEF +# +# JFET_N_PSPICE +# +DEF JFET_N_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "JFET_N_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 200 0 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 130 200 -130 N +P 2 0 1 0 200 100 300 100 N +P 3 0 1 0 110 20 170 0 110 -20 N +ENDDRAW +ENDDEF +# +# JFET_P_PSPICE +# +DEF JFET_P_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "JFET_P_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 200 0 N +P 2 0 1 0 200 130 200 -130 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 -100 300 -100 N +P 3 0 1 0 170 -20 110 0 170 20 N +ENDDRAW +ENDDEF +# +#End Library |