9.3. Netlist examples

9.3. Netlist examples

You can see below a schematic design using the PSPICE library:

eeschema_netlist_schematic_png

Example of a PCBNEW netlist file:

  1. # Eeschema Netlist Version 1.0 generee le 21/1/1997-16:51:15
  2. (
  3. (32E35B76 $noname C2 1NF {Lib=C}
  4. (1 0)
  5. (2 VOUT_1)
  6. )
  7. (32CFC454 $noname V2 AC_0.1 {Lib=VSOURCE}
  8. (1 N-000003)
  9. (2 0)
  10. )
  11. (32CFC413 $noname C1 1UF {Lib=C}
  12. (1 INPUT_1)
  13. (2 N-000003)
  14. )
  15. (32CFC337 $noname V1 DC_12V {Lib=VSOURCE}
  16. (1 +12V)
  17. (2 0)
  18. )
  19. (32CFC293 $noname R2 10K {Lib=R}
  20. (1 INPUT_1)
  21. (2 0)
  22. )
  23. (32CFC288 $noname R6 22K {Lib=R}
  24. (1 +12V)
  25. (2 INPUT_1)
  26. )
  27. (32CFC27F $noname R5 22K {Lib=R}
  28. (1 +12V)
  29. (2 N-000008)
  30. )
  31. (32CFC277 $noname R1 10K {Lib=R}
  32. (1 N-000008)
  33. (2 0)
  34. )
  35. (32CFC25A $noname R7 470 {Lib=R}
  36. (1 EMET_1)
  37. (2 0)
  38. )
  39. (32CFC254 $noname R4 1K {Lib=R}
  40. (1 +12V)
  41. (2 VOUT_1)
  42. )
  43. (32CFC24C $noname R3 1K {Lib=R}
  44. (1 +12V)
  45. (2 N-000006)
  46. )
  47. (32CFC230 $noname Q2 Q2N2222 {Lib=NPN}
  48. (1 VOUT_1)
  49. (2 N-000008)
  50. (3 EMET_1)
  51. )
  52. (32CFC227 $noname Q1 Q2N2222 {Lib=NPN}
  53. (1 N-000006)
  54. (2 INPUT_1)
  55. (3 EMET_1)
  56. )
  57. )
  58. # End

In PSPICE format, the netlist is as follows:

  1. * Eeschema Netlist Version 1.1 (Spice format) creation date: 18/6/2008-08:38:03
  2. .model Q2N2222 npn (bf=200)
  3. .AC 10 1Meg \*1.2
  4. .DC V1 10 12 0.5
  5. R12 /VOUT N-000003 22K
  6. R11 +12V N-000003 100
  7. L1 N-000003 /VOUT 100mH
  8. R10 N-000005 N-000004 220
  9. C3 N-000005 0 10uF
  10. C2 N-000009 0 1nF
  11. R8 N-000004 0 2.2K
  12. Q3 /VOUT N-000009 N-000004 N-000004 Q2N2222
  13. V2 N-000008 0 AC 0.1
  14. C1 /VIN N-000008 1UF
  15. V1 +12V 0 DC 12V
  16. R2 /VIN 0 10K
  17. R6 +12V /VIN 22K
  18. R5 +12V N-000012 22K
  19. R1 N-000012 0 10K
  20. R7 N-000007 0 470
  21. R4 +12V N-000009 1K
  22. R3 +12V N-000010 1K
  23. Q2 N-000009 N-000012 N-000007 N-000007 Q2N2222
  24. Q1 N-000010 /VIN N-000007 N-000007 Q2N2222
  25. .print ac v(vout)
  26. .plot ac v(nodes) (-1,5)
  27. .end