SLiCAP 3.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. slicap-3.3/MANIFEST.in +2 -0
  2. slicap-3.3/PKG-INFO +116 -0
  3. slicap-3.3/README.md +97 -0
  4. slicap-3.3/SLiCAP/SLiCAP.py +175 -0
  5. slicap-3.3/SLiCAP/SLiCAPconfigure.py +612 -0
  6. slicap-3.3/SLiCAP/SLiCAPdesignData.py +297 -0
  7. slicap-3.3/SLiCAP/SLiCAPexecute.py +1704 -0
  8. slicap-3.3/SLiCAP/SLiCAPgschem.py +64 -0
  9. slicap-3.3/SLiCAP/SLiCAPhtml.py +1148 -0
  10. slicap-3.3/SLiCAP/SLiCAPinstruction.py +1714 -0
  11. slicap-3.3/SLiCAP/SLiCAPkicad.py +190 -0
  12. slicap-3.3/SLiCAP/SLiCAPlatex.py +810 -0
  13. slicap-3.3/SLiCAP/SLiCAPlex.py +326 -0
  14. slicap-3.3/SLiCAP/SLiCAPltspice.py +85 -0
  15. slicap-3.3/SLiCAP/SLiCAPmath.py +1947 -0
  16. slicap-3.3/SLiCAP/SLiCAPmatrices.py +535 -0
  17. slicap-3.3/SLiCAP/SLiCAPngspice.py +536 -0
  18. slicap-3.3/SLiCAP/SLiCAPplots.py +1743 -0
  19. slicap-3.3/SLiCAP/SLiCAPprotos.py +941 -0
  20. slicap-3.3/SLiCAP/SLiCAPrst.py +812 -0
  21. slicap-3.3/SLiCAP/SLiCAPshell.py +1374 -0
  22. slicap-3.3/SLiCAP/SLiCAPsvgTools.py +127 -0
  23. slicap-3.3/SLiCAP/SLiCAPyacc.py +1325 -0
  24. slicap-3.3/SLiCAP/__init__.py +7 -0
  25. slicap-3.3/SLiCAP/files/LICENCE.txt +10 -0
  26. slicap-3.3/SLiCAP/files/LTspice/SLABCD.asy +35 -0
  27. slicap-3.3/SLiCAP/files/LTspice/SLC.asy +21 -0
  28. slicap-3.3/SLiCAP/files/LTspice/SLD.asy +19 -0
  29. slicap-3.3/SLiCAP/files/LTspice/SLE.asy +36 -0
  30. slicap-3.3/SLiCAP/files/LTspice/SLEZ.asy +44 -0
  31. slicap-3.3/SLiCAP/files/LTspice/SLF.asy +42 -0
  32. slicap-3.3/SLiCAP/files/LTspice/SLG.asy +40 -0
  33. slicap-3.3/SLiCAP/files/LTspice/SLH.asy +38 -0
  34. slicap-3.3/SLiCAP/files/LTspice/SLHZ.asy +46 -0
  35. slicap-3.3/SLiCAP/files/LTspice/SLI.asy +28 -0
  36. slicap-3.3/SLiCAP/files/LTspice/SLJ.asy +26 -0
  37. slicap-3.3/SLiCAP/files/LTspice/SLJ_noise.asy +30 -0
  38. slicap-3.3/SLiCAP/files/LTspice/SLK.asy +12 -0
  39. slicap-3.3/SLiCAP/files/LTspice/SLL.asy +23 -0
  40. slicap-3.3/SLiCAP/files/LTspice/SLM.asy +33 -0
  41. slicap-3.3/SLiCAP/files/LTspice/SLMD.asy +46 -0
  42. slicap-3.3/SLiCAP/files/LTspice/SLM_noise.asy +30 -0
  43. slicap-3.3/SLiCAP/files/LTspice/SLN.asy +38 -0
  44. slicap-3.3/SLiCAP/files/LTspice/SLN_dcvar.asy +72 -0
  45. slicap-3.3/SLiCAP/files/LTspice/SLN_noise.asy +48 -0
  46. slicap-3.3/SLiCAP/files/LTspice/SLO.asy +29 -0
  47. slicap-3.3/SLiCAP/files/LTspice/SLO_dcvar.asy +31 -0
  48. slicap-3.3/SLiCAP/files/LTspice/SLO_noise.asy +31 -0
  49. slicap-3.3/SLiCAP/files/LTspice/SLQ.asy +30 -0
  50. slicap-3.3/SLiCAP/files/LTspice/SLQD.asy +40 -0
  51. slicap-3.3/SLiCAP/files/LTspice/SLQ_noise.asy +27 -0
  52. slicap-3.3/SLiCAP/files/LTspice/SLR.asy +27 -0
  53. slicap-3.3/SLiCAP/files/LTspice/SLR_r.asy +27 -0
  54. slicap-3.3/SLiCAP/files/LTspice/SLT.asy +44 -0
  55. slicap-3.3/SLiCAP/files/LTspice/SLV.asy +24 -0
  56. slicap-3.3/SLiCAP/files/LTspice/SLW.asy +35 -0
  57. slicap-3.3/SLiCAP/files/LTspice/SLXJ.asy +26 -0
  58. slicap-3.3/SLiCAP/files/LTspice/SLXM.asy +35 -0
  59. slicap-3.3/SLiCAP/files/LTspice/SLXMD.asy +48 -0
  60. slicap-3.3/SLiCAP/files/LTspice/SLXMPN.asy +35 -0
  61. slicap-3.3/SLiCAP/files/LTspice/SLXM_V.asy +35 -0
  62. slicap-3.3/SLiCAP/files/LTspice/SLXQ.asy +32 -0
  63. slicap-3.3/SLiCAP/files/LTspice/SLXQD.asy +42 -0
  64. slicap-3.3/SLiCAP/files/LTspice/SLiCAPsymbolsLTSpice.asc +108 -0
  65. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/README.md +9 -0
  66. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/gnet-spice-noqsi.scm +608 -0
  67. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/install.sh +5 -0
  68. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/scheme-path.scm +2 -0
  69. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/test/model-test.sch +30 -0
  70. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Models/nch.sym +48 -0
  71. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Models/openIP.inc +1106 -0
  72. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Models/pch.sym +48 -0
  73. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Models/submicron.inc +55 -0
  74. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Schematic/Comparator.sch +317 -0
  75. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Schematic/DISCRI.sch +237 -0
  76. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Simulation/DISCRItest.sch +129 -0
  77. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Simulation/control.cir +5 -0
  78. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Simulation/geda.conf +2 -0
  79. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Symbols/BIAS1-1.sym +59 -0
  80. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Symbols/Comparator.sym +47 -0
  81. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Symbols/DISCRI.sym +94 -0
  82. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Symbols/EDFFP-1.sym +96 -0
  83. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Symbols/INV1P-1.sym +52 -0
  84. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Symbols/NANDP-1.sym +63 -0
  85. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Symbols/NORP-1.sym +64 -0
  86. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Symbols/Noqsi-title-B.sym +41 -0
  87. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Symbols/RSFF1-1.sym +71 -0
  88. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Symbols/Vdd.sym +15 -0
  89. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Symbols/Vdd1.sym +15 -0
  90. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Symbols/Vss.sym +15 -0
  91. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/ASIC/Symbols/Vss1.sym +15 -0
  92. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/BBamp/Schematic/BBamp.sch +269 -0
  93. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/BBamp/Schematic/Board.sch +54 -0
  94. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/BBamp/Simulation/Test.sch +131 -0
  95. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/BBamp/Simulation/geda.conf +2 -0
  96. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/BBamp/Simulation/transistors.lib +54 -0
  97. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/BBamp/Symbols/BBamp.sym +58 -0
  98. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/BBamp/Symbols/Noqsi-title-B.sym +41 -0
  99. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/BBamp/Symbols/pwrjack-RAPC712.sym +45 -0
  100. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/HelloWorld/HelloWorld.sch +50 -0
  101. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/Images/BBamp.png +0 -0
  102. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/Images/Board.png +0 -0
  103. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/Images/Comparator.png +0 -0
  104. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/Images/DISCRI.png +0 -0
  105. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/Images/DISCRItest.png +0 -0
  106. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/Images/HelloWorld.png +0 -0
  107. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/Images/Test.png +0 -0
  108. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/Images/dB.jpg +0 -0
  109. slicap-3.3/SLiCAP/files/gSchem/gnet-spice-noqsi-master/tutorial/Images/dB.tiff +0 -0
  110. slicap-3.3/SLiCAP/files/gSchem/symbols/0.sym +19 -0
  111. slicap-3.3/SLiCAP/files/gSchem/symbols/ABCD.sym +84 -0
  112. slicap-3.3/SLiCAP/files/gSchem/symbols/C.sym +31 -0
  113. slicap-3.3/SLiCAP/files/gSchem/symbols/D.sym +40 -0
  114. slicap-3.3/SLiCAP/files/gSchem/symbols/DevicesGschem.eps +1998 -0
  115. slicap-3.3/SLiCAP/files/gSchem/symbols/DevicesGschem.sch +493 -0
  116. slicap-3.3/SLiCAP/files/gSchem/symbols/E.sym +63 -0
  117. slicap-3.3/SLiCAP/files/gSchem/symbols/EZ.sym +68 -0
  118. slicap-3.3/SLiCAP/files/gSchem/symbols/F.sym +70 -0
  119. slicap-3.3/SLiCAP/files/gSchem/symbols/G.sym +66 -0
  120. slicap-3.3/SLiCAP/files/gSchem/symbols/G_g.sym +66 -0
  121. slicap-3.3/SLiCAP/files/gSchem/symbols/H.sym +65 -0
  122. slicap-3.3/SLiCAP/files/gSchem/symbols/HZ.sym +71 -0
  123. slicap-3.3/SLiCAP/files/gSchem/symbols/I.sym +40 -0
  124. slicap-3.3/SLiCAP/files/gSchem/symbols/J.sym +51 -0
  125. slicap-3.3/SLiCAP/files/gSchem/symbols/K.sym +18 -0
  126. slicap-3.3/SLiCAP/files/gSchem/symbols/L.sym +32 -0
  127. slicap-3.3/SLiCAP/files/gSchem/symbols/M.sym +64 -0
  128. slicap-3.3/SLiCAP/files/gSchem/symbols/MD-H.sym +78 -0
  129. slicap-3.3/SLiCAP/files/gSchem/symbols/MD-V.sym +78 -0
  130. slicap-3.3/SLiCAP/files/gSchem/symbols/M_noise.sym +50 -0
  131. slicap-3.3/SLiCAP/files/gSchem/symbols/N.sym +62 -0
  132. slicap-3.3/SLiCAP/files/gSchem/symbols/N_dcvar.sym +93 -0
  133. slicap-3.3/SLiCAP/files/gSchem/symbols/N_noise.sym +66 -0
  134. slicap-3.3/SLiCAP/files/gSchem/symbols/O.sym +49 -0
  135. slicap-3.3/SLiCAP/files/gSchem/symbols/O_dcvar.sym +51 -0
  136. slicap-3.3/SLiCAP/files/gSchem/symbols/O_noise.sym +49 -0
  137. slicap-3.3/SLiCAP/files/gSchem/symbols/Q.sym +58 -0
  138. slicap-3.3/SLiCAP/files/gSchem/symbols/QD-H.sym +70 -0
  139. slicap-3.3/SLiCAP/files/gSchem/symbols/QD-V.sym +68 -0
  140. slicap-3.3/SLiCAP/files/gSchem/symbols/Q_noise.sym +46 -0
  141. slicap-3.3/SLiCAP/files/gSchem/symbols/Q_noise_LF.sym +50 -0
  142. slicap-3.3/SLiCAP/files/gSchem/symbols/R.sym +38 -0
  143. slicap-3.3/SLiCAP/files/gSchem/symbols/R_r.sym +38 -0
  144. slicap-3.3/SLiCAP/files/gSchem/symbols/T.sym +70 -0
  145. slicap-3.3/SLiCAP/files/gSchem/symbols/V.sym +37 -0
  146. slicap-3.3/SLiCAP/files/gSchem/symbols/W.sym +62 -0
  147. slicap-3.3/SLiCAP/files/gSchem/symbols/XJ.sym +53 -0
  148. slicap-3.3/SLiCAP/files/gSchem/symbols/XM.sym +68 -0
  149. slicap-3.3/SLiCAP/files/gSchem/symbols/XMD-H.sym +82 -0
  150. slicap-3.3/SLiCAP/files/gSchem/symbols/XMD-V.sym +82 -0
  151. slicap-3.3/SLiCAP/files/gSchem/symbols/XMV.sym +72 -0
  152. slicap-3.3/SLiCAP/files/gSchem/symbols/XQ.sym +70 -0
  153. slicap-3.3/SLiCAP/files/gSchem/symbols/XQD-H.sym +72 -0
  154. slicap-3.3/SLiCAP/files/gSchem/symbols/XQD-V.sym +72 -0
  155. slicap-3.3/SLiCAP/files/gSchem/symbols/Z.sym +30 -0
  156. slicap-3.3/SLiCAP/files/gSchem/symbols/detectorDef.sym +10 -0
  157. slicap-3.3/SLiCAP/files/gSchem/symbols/include.sym +10 -0
  158. slicap-3.3/SLiCAP/files/gSchem/symbols/lgrefDef.sym +10 -0
  159. slicap-3.3/SLiCAP/files/gSchem/symbols/modelDef.sym +10 -0
  160. slicap-3.3/SLiCAP/files/gSchem/symbols/parDef.sym +10 -0
  161. slicap-3.3/SLiCAP/files/gSchem/symbols/sourceDef.sym +10 -0
  162. slicap-3.3/SLiCAP/files/html/css/slicap.css +153 -0
  163. slicap-3.3/SLiCAP/files/html/img/Grid.png +0 -0
  164. slicap-3.3/SLiCAP/files/kicad/SLiCAP.kicad_prl +83 -0
  165. slicap-3.3/SLiCAP/files/kicad/SLiCAP.kicad_pro +407 -0
  166. slicap-3.3/SLiCAP/files/kicad/SLiCAP.kicad_sch +14196 -0
  167. slicap-3.3/SLiCAP/files/kicad/SLiCAP.kicad_sym +10314 -0
  168. slicap-3.3/SLiCAP/files/lepton-eda/SLiCAPcomponents.sch +532 -0
  169. slicap-3.3/SLiCAP/files/lepton-eda/symbols/0.sym +19 -0
  170. slicap-3.3/SLiCAP/files/lepton-eda/symbols/ABCD.sym +84 -0
  171. slicap-3.3/SLiCAP/files/lepton-eda/symbols/C.sym +31 -0
  172. slicap-3.3/SLiCAP/files/lepton-eda/symbols/D.sym +40 -0
  173. slicap-3.3/SLiCAP/files/lepton-eda/symbols/E.sym +63 -0
  174. slicap-3.3/SLiCAP/files/lepton-eda/symbols/EZ.sym +68 -0
  175. slicap-3.3/SLiCAP/files/lepton-eda/symbols/F.sym +70 -0
  176. slicap-3.3/SLiCAP/files/lepton-eda/symbols/G.sym +66 -0
  177. slicap-3.3/SLiCAP/files/lepton-eda/symbols/G_g.sym +66 -0
  178. slicap-3.3/SLiCAP/files/lepton-eda/symbols/H.sym +65 -0
  179. slicap-3.3/SLiCAP/files/lepton-eda/symbols/HZ.sym +71 -0
  180. slicap-3.3/SLiCAP/files/lepton-eda/symbols/I.sym +40 -0
  181. slicap-3.3/SLiCAP/files/lepton-eda/symbols/J.sym +51 -0
  182. slicap-3.3/SLiCAP/files/lepton-eda/symbols/K.sym +18 -0
  183. slicap-3.3/SLiCAP/files/lepton-eda/symbols/L.sym +32 -0
  184. slicap-3.3/SLiCAP/files/lepton-eda/symbols/M.sym +64 -0
  185. slicap-3.3/SLiCAP/files/lepton-eda/symbols/MD-H.sym +78 -0
  186. slicap-3.3/SLiCAP/files/lepton-eda/symbols/MD-V.sym +78 -0
  187. slicap-3.3/SLiCAP/files/lepton-eda/symbols/M_noise.sym +50 -0
  188. slicap-3.3/SLiCAP/files/lepton-eda/symbols/N.sym +62 -0
  189. slicap-3.3/SLiCAP/files/lepton-eda/symbols/N_dcvar.sym +93 -0
  190. slicap-3.3/SLiCAP/files/lepton-eda/symbols/N_noise.sym +66 -0
  191. slicap-3.3/SLiCAP/files/lepton-eda/symbols/O.sym +49 -0
  192. slicap-3.3/SLiCAP/files/lepton-eda/symbols/O_dcvar.sym +51 -0
  193. slicap-3.3/SLiCAP/files/lepton-eda/symbols/O_noise.sym +49 -0
  194. slicap-3.3/SLiCAP/files/lepton-eda/symbols/Q.sym +58 -0
  195. slicap-3.3/SLiCAP/files/lepton-eda/symbols/QD-H.sym +70 -0
  196. slicap-3.3/SLiCAP/files/lepton-eda/symbols/QD-V.sym +68 -0
  197. slicap-3.3/SLiCAP/files/lepton-eda/symbols/Q_noise.sym +46 -0
  198. slicap-3.3/SLiCAP/files/lepton-eda/symbols/R.sym +38 -0
  199. slicap-3.3/SLiCAP/files/lepton-eda/symbols/R_r.sym +38 -0
  200. slicap-3.3/SLiCAP/files/lepton-eda/symbols/T.sym +70 -0
  201. slicap-3.3/SLiCAP/files/lepton-eda/symbols/V.sym +37 -0
  202. slicap-3.3/SLiCAP/files/lepton-eda/symbols/W.sym +62 -0
  203. slicap-3.3/SLiCAP/files/lepton-eda/symbols/XJ.sym +53 -0
  204. slicap-3.3/SLiCAP/files/lepton-eda/symbols/XM.sym +68 -0
  205. slicap-3.3/SLiCAP/files/lepton-eda/symbols/XMD-H.sym +82 -0
  206. slicap-3.3/SLiCAP/files/lepton-eda/symbols/XMD-V.sym +82 -0
  207. slicap-3.3/SLiCAP/files/lepton-eda/symbols/XMV.sym +72 -0
  208. slicap-3.3/SLiCAP/files/lepton-eda/symbols/XQD-H.sym +72 -0
  209. slicap-3.3/SLiCAP/files/lepton-eda/symbols/XQD-V.sym +72 -0
  210. slicap-3.3/SLiCAP/files/lepton-eda/symbols/Z.sym +30 -0
  211. slicap-3.3/SLiCAP/files/lepton-eda/symbols/detectorDef.sym +10 -0
  212. slicap-3.3/SLiCAP/files/lepton-eda/symbols/include.sym +10 -0
  213. slicap-3.3/SLiCAP/files/lepton-eda/symbols/lgrefDef.sym +10 -0
  214. slicap-3.3/SLiCAP/files/lepton-eda/symbols/modelDef.sym +10 -0
  215. slicap-3.3/SLiCAP/files/lepton-eda/symbols/parDef.sym +10 -0
  216. slicap-3.3/SLiCAP/files/lepton-eda/symbols/sourceDef.sym +10 -0
  217. slicap-3.3/SLiCAP/files/lib/Grid.png +0 -0
  218. slicap-3.3/SLiCAP/files/lib/SLiCAP.lib +519 -0
  219. slicap-3.3/SLiCAP/files/lib/SLiCAPmodels.lib +166 -0
  220. slicap-3.3/SLiCAP/files/lib/slicap.css +153 -0
  221. slicap-3.3/SLiCAP/files/sphinx/Makefile +19 -0
  222. slicap-3.3/SLiCAP/files/sphinx/_static/custom.css +6 -0
  223. slicap-3.3/SLiCAP/files/sphinx/_static/handsontable.full.min.css +31 -0
  224. slicap-3.3/SLiCAP/files/sphinx/_static/handsontable.full.min.js +89 -0
  225. slicap-3.3/SLiCAP/files/sphinx/_static/html_logo.png +0 -0
  226. slicap-3.3/SLiCAP/files/sphinx/_templates/layout.html +11 -0
  227. slicap-3.3/SLiCAP/files/sphinx/_templates/table.html +16 -0
  228. slicap-3.3/SLiCAP/files/sphinx/conf.py +50 -0
  229. slicap-3.3/SLiCAP/files/sphinx/img/SLiCAP-h1.svg +154 -0
  230. slicap-3.3/SLiCAP/files/sphinx/img/SLiCAP.svg +149 -0
  231. slicap-3.3/SLiCAP/files/sphinx/img/colorCode.svg +242 -0
  232. slicap-3.3/SLiCAP/files/sphinx/index.rst +10 -0
  233. slicap-3.3/SLiCAP/files/sphinx/make.bat +35 -0
  234. slicap-3.3/SLiCAP/files/sphinx/source/Makefile +19 -0
  235. slicap-3.3/SLiCAP/files/sphinx/source/_templates/table.html +16 -0
  236. slicap-3.3/SLiCAP/files/sphinx/source/make.bat +35 -0
  237. slicap-3.3/SLiCAP/files/tex/SLiCAPdata/TEXsubstitutions.tex +1 -0
  238. slicap-3.3/SLiCAP/files/tex/preambuleSLiCAP.tex +122 -0
  239. slicap-3.3/SLiCAP.egg-info/PKG-INFO +116 -0
  240. slicap-3.3/SLiCAP.egg-info/SOURCES.txt +244 -0
  241. slicap-3.3/SLiCAP.egg-info/dependency_links.txt +1 -0
  242. slicap-3.3/SLiCAP.egg-info/top_level.txt +1 -0
  243. slicap-3.3/pyproject.toml +24 -0
  244. slicap-3.3/setup.cfg +7 -0
  245. slicap-3.3/setup.py +67 -0
slicap-3.3/MANIFEST.in ADDED
@@ -0,0 +1,2 @@
1
+ recursive-include SLiCAP/docs *
2
+ recursive-include SLiCAP/files/ *
slicap-3.3/PKG-INFO ADDED
@@ -0,0 +1,116 @@
1
+ Metadata-Version: 2.2
2
+ Name: SLiCAP
3
+ Version: 3.3
4
+ Summary: SLiCAP: more than SYMBOLIC SPICE
5
+ Home-page: https://github.com/SLiCAP/SLiCAP_python/
6
+ Author: Anton Montagne
7
+ Author-email: Anton Montagne <anton@montagne.nl>
8
+ License: MIT
9
+ Project-URL: Homepage, https://slicap.github.io/SLiCAP_python/
10
+ Project-URL: Issues, https://github.com/SLiCAP/SLiCAP_python
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Operating System :: OS Independent
13
+ Requires-Python: >=3.12
14
+ Description-Content-Type: text/markdown
15
+ Dynamic: author
16
+ Dynamic: home-page
17
+ Dynamic: license
18
+ Dynamic: requires-python
19
+
20
+ # SLiCAP: more than SYMBOLIC SPICE
21
+
22
+ ## What it is
23
+ - SLiCAP is an acronym for: **S** ymbolic **Li** near **C** ircuit **A** nalysis **P** rogram
24
+ - SliCAP is a tool for **algorithm-based analog design automation**
25
+ - SLiCAP is intended for setting up and solving **design equations** of electronic circuits
26
+ - SLiCAP is a an **open source** application written in Python
27
+ - SLiCAP is part of the tool set for teaching [Structured Electronics Design](https://analog-electronics.tudelft.nl) at the Delft University of Technology
28
+
29
+ ## Why you should use it
30
+ - SLiCAP facilitates analog design automation and stepwise, hierachically-structured, analog design
31
+ - SLiCAP lets you relate circuit component and device geometry requirements to system performance requirements
32
+ - SLiCAP makes complex symbolic circuit analysis doable
33
+ - SLiCAP speeds up the circuit design process
34
+ - SLiCAP integrates documentation and design ("one-click" update of HTML or PDF design reports)
35
+ - SLiCAP facilitates design education and knowledge building
36
+
37
+ ## Features
38
+ - Accepts SPICE-like netlists as input and provides netlist generation from, amongst others, Kicad and LTspice schematic files.
39
+ - Facilitates concurrent design and documentation
40
+ - Supports and facilitates structured analog design
41
+
42
+ ## Capabilities
43
+ - Conversion of hierarchically structured SPICE netlist into a mixed symbolic/numeric matrix equation
44
+ - Symbolic and numeric noise analysis
45
+ - Symbolic and numeric noise integration over frequency
46
+ - Symbolic and numeric determination of transfer functions and polynomial coefficients of transfer functions
47
+ - Symbolic and numeric inverse Laplace Transform
48
+ - Symbolic and numeric determination of network solutions
49
+ - Symbolic and numeric pole-zero analysis (symbolic pole-zero analysis for low-order systems only)
50
+ - Symbolic and numeric Routh array
51
+ - Order estimation of feedback circuits (numeric only)
52
+ - Root-locus analysis with an arbitrarily selected circuit parameter as root locus variable
53
+ - Symbolic and numeric DC and DC variance analysis for determination of budgets for resistor tolerances, offset, temperature effects, matching and tracking
54
+ - Symbolic and numeric derivation and solution of design equations for bandwidh, frequency response, noise, dc variance, and temperature stability
55
+
56
+ ## Setting up SLiCAP
57
+ 1. Intall Python 3.12+ with the packages listed in requirements.txt (for MSwindows Anaconda installation is preferred)
58
+ 2. Download or clone the SLiCAP archive from github
59
+ 3. Extract it in some directory
60
+ 4. Open a terminal (or an Anaconda terminal if you run python from Anaconda) in the directory with setup.py
61
+ 5. Enter:
62
+
63
+ python -m pip install .
64
+
65
+ Don't forget the dot!
66
+
67
+ ## Addidional software
68
+ - SLiCAP can generate netlists from schematic files from:
69
+ - Kicad (all platforms, preferred!)
70
+ - LTspice (MSWindows: install LTspice on the system drive, Linux and MacOS: use MSwindows version and wine)
71
+ - gschem (MSWindows: install gschem and its netlister on the system drive, Linux and MacOS: use lepton-eda)
72
+ - lepton-eda (Linux and MacOS, MSWindows: use gSchem for windows)
73
+ - Inkscape is used to:
74
+ - convert the page size of SVG images of schematic files generates with Kicad, lepton-eda, or gSchem to the image size
75
+ - convert the above svg images to pdf (for use in LaTeX).
76
+
77
+ Preferred for all platforms is to install or upgrade to the latest version of Kicad, and install Inkscape.
78
+
79
+ ## First Run
80
+
81
+ To verify correct installation of SLiCAP run the example "myFirstRCnetwork.py" in the project folder. This project folder is found in the example folder in the SLiCAP home directory.
82
+
83
+ On the first run:
84
+
85
+ - SLiCAP searches for installed applications:
86
+ - Kicad,
87
+ - LTspice
88
+ - NGspice
89
+ - gSchem (MSWindows only)
90
+ - lepton-eda (Linux and MacOS)
91
+ - Inkscape
92
+ - SLiCAP creates a SLiCAP.ini file in the SLiCAP home directory. This file contains initial setting and commands to start the above applications. It can be edited manually, and when deleted it will be recreated on the next run. Searching for applications on MSWindows may take a while!
93
+
94
+ On the first run of a project, SLiCAP creates a SLiCAP.ini file in the project folder, each time you run the project this file is updated. If you delete it it will be recreated on the next run.
95
+
96
+ ## Project file locations
97
+ Do not place your project files in the **SLiCAP home directory**: /home/<yourUserName\>/SLiCAP/ (LINUX) or \users\<yourUserName\>\SLiCAP\ (MSWindows).
98
+
99
+ This directory contains the libraries, the examples, and the documentation.
100
+
101
+ **This directory will be deleted and recreated each time you install SLiCAP.**
102
+
103
+ ## Documentation
104
+ By default, the documentation is placed in /home/<yourUserName\>/SLiCAP/docs/ (LINUX) or \users\<yourUserName\>\SLiCAP\docs\ (MSWindows).
105
+
106
+ Execution of the SLiCAP command:
107
+
108
+ >>> Help()
109
+
110
+ shows the HTML documentation in your default browser.
111
+
112
+ ## Contributing
113
+ If you want to contribute to the development of SLiCAP, please [Email Us](mailto:anton@montagne.nl).
114
+
115
+ ### Bugs
116
+ In case bugs are found, please report them to the 'Issues' page.
slicap-3.3/README.md ADDED
@@ -0,0 +1,97 @@
1
+ # SLiCAP: more than SYMBOLIC SPICE
2
+
3
+ ## What it is
4
+ - SLiCAP is an acronym for: **S** ymbolic **Li** near **C** ircuit **A** nalysis **P** rogram
5
+ - SliCAP is a tool for **algorithm-based analog design automation**
6
+ - SLiCAP is intended for setting up and solving **design equations** of electronic circuits
7
+ - SLiCAP is a an **open source** application written in Python
8
+ - SLiCAP is part of the tool set for teaching [Structured Electronics Design](https://analog-electronics.tudelft.nl) at the Delft University of Technology
9
+
10
+ ## Why you should use it
11
+ - SLiCAP facilitates analog design automation and stepwise, hierachically-structured, analog design
12
+ - SLiCAP lets you relate circuit component and device geometry requirements to system performance requirements
13
+ - SLiCAP makes complex symbolic circuit analysis doable
14
+ - SLiCAP speeds up the circuit design process
15
+ - SLiCAP integrates documentation and design ("one-click" update of HTML or PDF design reports)
16
+ - SLiCAP facilitates design education and knowledge building
17
+
18
+ ## Features
19
+ - Accepts SPICE-like netlists as input and provides netlist generation from, amongst others, Kicad and LTspice schematic files.
20
+ - Facilitates concurrent design and documentation
21
+ - Supports and facilitates structured analog design
22
+
23
+ ## Capabilities
24
+ - Conversion of hierarchically structured SPICE netlist into a mixed symbolic/numeric matrix equation
25
+ - Symbolic and numeric noise analysis
26
+ - Symbolic and numeric noise integration over frequency
27
+ - Symbolic and numeric determination of transfer functions and polynomial coefficients of transfer functions
28
+ - Symbolic and numeric inverse Laplace Transform
29
+ - Symbolic and numeric determination of network solutions
30
+ - Symbolic and numeric pole-zero analysis (symbolic pole-zero analysis for low-order systems only)
31
+ - Symbolic and numeric Routh array
32
+ - Order estimation of feedback circuits (numeric only)
33
+ - Root-locus analysis with an arbitrarily selected circuit parameter as root locus variable
34
+ - Symbolic and numeric DC and DC variance analysis for determination of budgets for resistor tolerances, offset, temperature effects, matching and tracking
35
+ - Symbolic and numeric derivation and solution of design equations for bandwidh, frequency response, noise, dc variance, and temperature stability
36
+
37
+ ## Setting up SLiCAP
38
+ 1. Intall Python 3.12+ with the packages listed in requirements.txt (for MSwindows Anaconda installation is preferred)
39
+ 2. Download or clone the SLiCAP archive from github
40
+ 3. Extract it in some directory
41
+ 4. Open a terminal (or an Anaconda terminal if you run python from Anaconda) in the directory with setup.py
42
+ 5. Enter:
43
+
44
+ python -m pip install .
45
+
46
+ Don't forget the dot!
47
+
48
+ ## Addidional software
49
+ - SLiCAP can generate netlists from schematic files from:
50
+ - Kicad (all platforms, preferred!)
51
+ - LTspice (MSWindows: install LTspice on the system drive, Linux and MacOS: use MSwindows version and wine)
52
+ - gschem (MSWindows: install gschem and its netlister on the system drive, Linux and MacOS: use lepton-eda)
53
+ - lepton-eda (Linux and MacOS, MSWindows: use gSchem for windows)
54
+ - Inkscape is used to:
55
+ - convert the page size of SVG images of schematic files generates with Kicad, lepton-eda, or gSchem to the image size
56
+ - convert the above svg images to pdf (for use in LaTeX).
57
+
58
+ Preferred for all platforms is to install or upgrade to the latest version of Kicad, and install Inkscape.
59
+
60
+ ## First Run
61
+
62
+ To verify correct installation of SLiCAP run the example "myFirstRCnetwork.py" in the project folder. This project folder is found in the example folder in the SLiCAP home directory.
63
+
64
+ On the first run:
65
+
66
+ - SLiCAP searches for installed applications:
67
+ - Kicad,
68
+ - LTspice
69
+ - NGspice
70
+ - gSchem (MSWindows only)
71
+ - lepton-eda (Linux and MacOS)
72
+ - Inkscape
73
+ - SLiCAP creates a SLiCAP.ini file in the SLiCAP home directory. This file contains initial setting and commands to start the above applications. It can be edited manually, and when deleted it will be recreated on the next run. Searching for applications on MSWindows may take a while!
74
+
75
+ On the first run of a project, SLiCAP creates a SLiCAP.ini file in the project folder, each time you run the project this file is updated. If you delete it it will be recreated on the next run.
76
+
77
+ ## Project file locations
78
+ Do not place your project files in the **SLiCAP home directory**: /home/<yourUserName\>/SLiCAP/ (LINUX) or \users\<yourUserName\>\SLiCAP\ (MSWindows).
79
+
80
+ This directory contains the libraries, the examples, and the documentation.
81
+
82
+ **This directory will be deleted and recreated each time you install SLiCAP.**
83
+
84
+ ## Documentation
85
+ By default, the documentation is placed in /home/<yourUserName\>/SLiCAP/docs/ (LINUX) or \users\<yourUserName\>\SLiCAP\docs\ (MSWindows).
86
+
87
+ Execution of the SLiCAP command:
88
+
89
+ >>> Help()
90
+
91
+ shows the HTML documentation in your default browser.
92
+
93
+ ## Contributing
94
+ If you want to contribute to the development of SLiCAP, please [Email Us](mailto:anton@montagne.nl).
95
+
96
+ ### Bugs
97
+ In case bugs are found, please report them to the 'Issues' page.
@@ -0,0 +1,175 @@
1
+ #!/usr/bin/env python3
2
+ # -*- coding: utf-8 -*-
3
+ """
4
+ Main module for running SLiCAP from a console or from within a Python IDE.
5
+
6
+ When working with Jupyter notebooks the main imort module is SLiCAPnotebook.py.
7
+ It will import SLiCAP.py and some extra modules for displaying LaTeX, SVG and
8
+ RST in the Jupyter notebooks.
9
+ """
10
+ import os
11
+ import webbrowser
12
+ import numpy as np
13
+ import SLiCAP.SLiCAPconfigure as ini
14
+ from datetime import datetime
15
+ from shutil import copy2
16
+ from SLiCAP.SLiCAPyacc import _initializeParser
17
+ from scipy.optimize import newton, fsolve
18
+ from scipy.integrate import quad
19
+ from SLiCAP.SLiCAPdesignData import *
20
+ from SLiCAP.SLiCAPinstruction import instruction
21
+ from SLiCAP.SLiCAPmath import *
22
+ from SLiCAP.SLiCAPplots import *
23
+ from SLiCAP.SLiCAPlatex import *
24
+ from SLiCAP.SLiCAPrst import *
25
+ from SLiCAP.SLiCAPngspice import MOS, ngspice2traces
26
+ from SLiCAP.SLiCAPltspice import runLTspice
27
+ from SLiCAP.SLiCAPshell import *
28
+ from SLiCAP.SLiCAPhtml import *
29
+ from SLiCAP.SLiCAPhtml import _startHTML
30
+
31
+ # Increase width for display of numpy arrays:
32
+ np.set_printoptions(edgeitems=30, linewidth=1000,
33
+ formatter=dict(float=lambda x: "%11.4e" % x))
34
+
35
+ def Help():
36
+ """
37
+ Opens the SLiCAP HTML documentation in the default browser.
38
+
39
+ :example:
40
+
41
+ >>> import SLiCAP as sl
42
+ >>> # Display the SLiCAP HTML help in your default browser:
43
+ >>> sl.Help()
44
+ """
45
+ webbrowser.open_new(ini.doc_path + 'index.html')
46
+ return
47
+
48
+ def _copyNotOverwrite(src, dest):
49
+ """
50
+ Copies the file 'src' to 'dest' if the latter one does not exist.
51
+
52
+ :param src: Name of the source file.
53
+ :type src: str
54
+
55
+ :param dest: Name of the desitination file.
56
+ :type dest: str
57
+ """
58
+ if not os.path.exists(dest):
59
+ copy2(src, dest)
60
+ return
61
+
62
+ def _makeDir(dirName):
63
+ """
64
+ Creates the directory 'dirName' if it does not yet exist.
65
+
66
+ :param dirName: Name of the ditectory.
67
+ :type dirName: str
68
+ """
69
+
70
+ if not os.path.exists(dirName):
71
+ os.makedirs(dirName)
72
+ return
73
+
74
+ def initProject(name, notebook=False):
75
+ """
76
+ Initializes a SLiCAP project.
77
+
78
+ - Copies the directory structure from the templates subdirectory to the
79
+ project directory in cases it has not yet been created.
80
+ - Creates index.html in the html directory with the project name in the
81
+ title bar
82
+ - Compiles the system libraries
83
+ - Creates or updates 'SLiCAPconfigure.py' in the project directory
84
+
85
+ :param name: Name of the project: appears on the main html index page.
86
+ :type name: str
87
+
88
+ :return: None
89
+ :rtype: NoneType
90
+
91
+ :Example:
92
+
93
+ >>> import SLiCAP as sl
94
+ >>> # At the first run it will create a 'SLiCAP.ini' file in the SLiCAP
95
+ >>> # home folder: '~/SLiCAP/'.
96
+ >>> # To this end it searches for installed applications.
97
+ >>> # Under MSwindows this may take a while.
98
+ >>> sl.initProject('my first SLiCAP project')
99
+ >>> # At the first run this will create a 'SLiCAP.ini' file in the SLiCAP
100
+ >>> # project folder: './'. Once created it will only reset some values.
101
+ >>> # This function also resets the netlist parser and (re)creates the
102
+ >>> # system library objects.
103
+ >>> sl.ini.dump()
104
+ >>> # Prints the SLiCAP global settings obtained from both ini files.
105
+
106
+ """
107
+ # Read the project data from the project configuration file
108
+ project_config = ini._read_project_config()
109
+
110
+ # Adjust image sizes for notebooks (image font size equals notebook font size)
111
+ ini.notebook = notebook
112
+ if notebook:
113
+ # These values will not be stored
114
+ ini.axis_width = 4
115
+ ini.axis_height = 3
116
+ ini.plot_fontsize = 9
117
+ ini.line_width = 1
118
+ # Define the project title and reset the html pages
119
+ ini.project_title = name
120
+ ini.html_page = 'index.html'
121
+ project_config['html']['current_page'] = ini.html_page
122
+ ini.html_index = 'index.html'
123
+ project_config['html']['current_index'] = ini.html_index
124
+ ini.html_pages = []
125
+ project_config['html']['pages'] = (',').join(ini.html_pages)
126
+ ini.html_labels = {}
127
+ project_config['labels'] = ini.html_labels
128
+ ini.html_prefix = ''
129
+ project_config['html']['prefix'] = ini.html_prefix
130
+ ini.project_title = name
131
+ project_config['project']['title'] = ini.project_title
132
+ ini.last_updated = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
133
+ project_config['project']['last_updated'] = ini.last_updated
134
+
135
+ # Update configuration files
136
+ ini.main_config, ini.project_config = ini._update_ini_files()
137
+ # Create the project directory structure, at the first run of initProject()
138
+ _makeDir(ini.html_path)
139
+ _makeDir(ini.txt_path)
140
+ _makeDir(ini.csv_path)
141
+ _makeDir(ini.img_path)
142
+ _makeDir(ini.sphinx_path)
143
+ _makeDir(ini.mathml_path)
144
+ _makeDir(ini.cir_path)
145
+ _makeDir(ini.user_lib_path)
146
+ _makeDir(ini.tex_path)
147
+ _makeDir(ini.html_path + 'img/')
148
+ _makeDir(ini.html_path + 'css/')
149
+ _copyNotOverwrite(ini.install_path + 'SLiCAP/files/html/css/slicap.css', ini.html_path + 'css/slicap.css')
150
+ _copyNotOverwrite(ini.install_path + 'SLiCAP/files/html/img/Grid.png', ini.html_path + 'css/Grid.png')
151
+ _copyNotOverwrite(ini.install_path + 'SLiCAP/files/sphinx/make.bat', ini.sphinx_path + 'make.bat')
152
+ _copyNotOverwrite(ini.install_path + 'SLiCAP/files/sphinx/Makefile', ini.sphinx_path + 'Makefile')
153
+ _makeDir(ini.sphinx_path + 'SLiCAPdata/')
154
+ _makeDir(ini.sphinx_path + 'source/')
155
+ _copyNotOverwrite(ini.install_path + 'SLiCAP/files/sphinx/conf.py', ini.sphinx_path + 'source/conf.py')
156
+ _copyNotOverwrite(ini.install_path + 'SLiCAP/files/sphinx/index.rst', ini.sphinx_path + 'source/index.rst')
157
+ _makeDir(ini.sphinx_path + 'source/img/')
158
+ _copyNotOverwrite(ini.install_path + 'SLiCAP/files/sphinx/img' + '/colorCode.svg', ini.sphinx_path + 'source/img/colorCode.svg')
159
+ _copyNotOverwrite(ini.install_path + 'SLiCAP/files/sphinx/img' + '/SLiCAP.svg', ini.sphinx_path + 'source/img/SLiCAP.svg')
160
+ _copyNotOverwrite(ini.install_path + 'SLiCAP/files/sphinx/img' + '/SLiCAP-h1.svg', ini.sphinx_path + 'source/img/SLiCAP-h1.svg')
161
+ _makeDir(ini.sphinx_path + 'source/_static/')
162
+ _copyNotOverwrite(ini.install_path + 'SLiCAP/files/sphinx/_static/html_logo.png', ini.sphinx_path + 'source/_static/html_logo.png')
163
+ _copyNotOverwrite(ini.install_path + 'SLiCAP/files/sphinx/_static/custom.css', ini.sphinx_path + 'source/_static/custom.css')
164
+ _copyNotOverwrite(ini.install_path + 'SLiCAP/files/sphinx/_static/handsontable.full.min.css', ini.sphinx_path + 'source/_static/handsontable.full.min.css')
165
+ _copyNotOverwrite(ini.install_path + 'SLiCAP/files/sphinx/_static/handsontable.full.min.js', ini.sphinx_path + 'source/_static/handsontable.full.min.js')
166
+ _makeDir(ini.sphinx_path + 'source/_templates/')
167
+ _copyNotOverwrite(ini.install_path + 'SLiCAP/files/sphinx/_templates/layout.html', ini.sphinx_path + 'source/_templates/layout.html')
168
+ _makeDir(ini.tex_path + 'SLiCAPdata/')
169
+ _copyNotOverwrite(ini.install_path + 'SLiCAP/files/tex/preambuleSLiCAP.tex', ini.tex_path + 'preambuleSLiCAP.tex')
170
+ #
171
+ if not ini.notebook:
172
+ # Create the HTML project index file
173
+ _startHTML(name)
174
+ # Initialize the parser, this will create the libraries and delete all previously defined circuits
175
+ _initializeParser()