cmos-nor.tex 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. \documentclass{article}
  2. \usepackage[pdftex,active,tightpage]{preview}
  3. \setlength\PreviewBorder{2mm}
  4. \usepackage{tikz}
  5. \usetikzlibrary{arrows, calc, positioning,decorations.pathreplacing,shapes}
  6. \begin{document}
  7. \begin{preview}
  8. \begin{tikzpicture}[scale=0.5]
  9. % verbindungen
  10. \draw (0,5) -- (2,5); % von a weg
  11. \draw (0,8) -- (6,8); % von b weg
  12. \draw (7,9) --(6,9) -- (6,3) -- (7,3);
  13. \draw (3,3) -- (2,3) -- (2,6) -- (7,6);
  14. \draw (3.25,3.75) -- (3.5,3.75) -- (3.5,4.25) -- (10,4.25);
  15. % Transistor left down
  16. \draw (3,2) -- (3,4);
  17. \draw[dashed] (3.25,2) -- (3.25,4);
  18. \draw (3.25,2.25) -- (3.5,2.25) -- (3.5,1) -- (7.5,1) -- (7.5,2.25) -- (7.25,2.25);
  19. \draw[latex-] (3.25,3) -- (4, 3); % Gate
  20. % Transistor right down
  21. \draw (7,2) -- (7,4);
  22. \draw[dashed] (7.25,2) -- (7.25,4);
  23. \draw[latex-] (7.25,3) -- (8, 3); % Gate
  24. \draw (7.25,3.75) -- (7.5,3.75) -- (7.5,5.25) -- (7.25,5.25);
  25. % Transistor right middle
  26. \draw (7,5) -- (7,7);
  27. \draw[dashed] (7.25,5) -- (7.25,7);
  28. \draw[-latex] (7.25,6) -- (8, 6); % Gate
  29. \draw (7.25,6.75) -- (7.5,6.75) -- (7.5,8.25) -- (7.25,8.25);
  30. % Transistor right top
  31. \draw (7,8) -- (7,10);
  32. \draw[dashed] (7.25,8) -- (7.25,10);
  33. \draw (7.25,9.75) -- (7.5,9.75) -- (7.5,11);
  34. \draw[-latex] (7.25,9) -- (8,9); % Gate
  35. % GND
  36. \node (GND-label) at (8,0){GND};
  37. \draw (6,0) -- (6,1);
  38. \draw (5,0) -- (7,0);
  39. \draw (5.2,-0.2) -- (6.8,-0.2);
  40. \draw (5.4,-0.4) -- (6.6,-0.4);
  41. \node (U-label) at (8.25,11){$U_{dd}$};
  42. \node (U-label) at (9.5,4.6){$a \overline{\lor} b$};
  43. \node (U-label) at (-0.5,8){$a$};
  44. \node (U-label) at (-0.5,5){$b$};
  45. \draw[fill=black] (6,8) circle (0.1);
  46. \draw[fill=black] (7.5,4.25) circle (0.1);
  47. \draw[fill=white] (0,5) circle (0.1);
  48. \draw[fill=white] (0,8) circle (0.1);
  49. \end{tikzpicture}
  50. \end{preview}
  51. \end{document}