Files
n2t/Grafiken/OrANSI.tex
Sven Riwoldt ea9a31b1f8 Init
2024-04-06 18:15:41 +02:00

31 lines
731 B
TeX

\begin{tikzpicture}[scale=1, transform shape]
\tikzstyle{branch}=[fill,shape=circle,minimum size=1pt,inner sep=pt]
\ctikzset{
logic ports=ieee,
logic ports/scale=1,
% logic ports/fill=lightgray
% Koordinaten für Kreuzpunkte
}
\node[not port] at (1.25,1)(nota){};
\node[not port] at (1.25,3)(notb){};
\node[nand port] at (4,2)(n2){};
\node (a) at (0,1) {$a$};
\node (b) at (0,3) {$b$};
\node (out1) at (2.5,2) {};
\node (y) at (6,2) {$out$};
\draw(nota.in) -- (a);
\draw(notb.in) -- (b);
\draw(nota.out) --++ (0.5,0) --++ (0,0.72)-| ($(n2.in 2)$);
\draw(notb.out) --++ (0.5,0) --++ (0,-0.72)-| ($(n2.in 1)$);
%\draw(n2.input 2) -| ($(out1)$);
\draw(n2.out) -- (y);
\end{tikzpicture}