Schaltungen in TeX

This commit is contained in:
2023-05-07 20:10:00 +02:00
parent ca870281ab
commit 007f69982e
3 changed files with 122 additions and 5 deletions

View File

@@ -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