Schaltungen in TeX
This commit is contained in:
11
TeX/And.tex
11
TeX/And.tex
@@ -64,10 +64,10 @@
|
||||
|
||||
\tikzstyle{branch}=[fill,shape=circle,minimum size=3pt,inner sep=0pt]
|
||||
|
||||
\draw (-1,-1) to[grid with coordinates] (10,10);
|
||||
%\draw (-1,-1) to[grid with coordinates] (10,10);
|
||||
|
||||
% Koordinaten für Kreuzpunkte
|
||||
\coordinate (A) at (2.15,0.5);
|
||||
\coordinate (A) at (3.15,0.5);
|
||||
\fill (A) circle (1pt);
|
||||
|
||||
% Eingangsvariablen
|
||||
@@ -75,11 +75,11 @@
|
||||
\node (x1) at (0,0.67) {a};
|
||||
|
||||
% Ausgangsvariable
|
||||
\node (y) at (4,0.5) {out};
|
||||
\node (y) at (5,0.5) {out};
|
||||
|
||||
% Gatter
|
||||
\node[nand gate] at (1.3,0.5) (n1) {};
|
||||
\node[nand gate] at (2.75,0.5) (n2) {};
|
||||
\node[nand gate] at (3.75,0.5) (n2) {};
|
||||
|
||||
|
||||
% Verbindungen
|
||||
@@ -90,7 +90,8 @@
|
||||
\draw(A) |- (n2.input 2);
|
||||
\draw(A) |- (n2.input 1);
|
||||
\draw(n2.output) -- (y);
|
||||
|
||||
\draw(n1.output) to [short,l=\footnotesize{nandout}, -] (A);
|
||||
|
||||
\end{tikzpicture}
|
||||
%!tikz source end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user