\begin{circuitikz}
\node [and port] (and00) at (0,0) {};
\node [and port] (and01) at (0,2) {};
\node [and port] (and02) at (0,4) {};
\node [and port] (and03) at (0,6) {};
\node [and port] (and04) at (0,8) {};
\node [and port] (and05) at (0,10) {};
\node [and port] (and06) at (0,12) {};
\node [and port] (and07) at (0,14) {};
\end{circuitikz}
\section{exersize}
\begin{itemize}
\item Make a lot of and from top to bottom, make a DNF
\end{itemize}
\begin{circuitikz}
\draw (0,0) to[short, o-o] (0,4);
\node [and port] (and00) at (2,0) {};
\node [and port] (and01) at (2,2) {};
\node [or port] (or00) at (4,1) {};
\draw (and00.out) -- (or00.in 2);
\draw (and01.out) -- (or00.in 1);
\end{circuitikz}
das sieht als code so aus:
\begin{circuitikz}
% Configure global block options for a rectangular look
\ctikzset{blocks/scale=1.5, blocks/fill=gray!10}
% Draw the main multiplexer body as a rectangular block
\node [draw, minimum width=2cm, minimum height=4cm, thick] (mux) at (0,0) {};
% IEEE 91-1984 Center functional label
\node [anchor=center, font=\sffamily\bfseries] at (mux.center) {MUX};
% Inputs (Left Side) with IEEE dependency tagging (G for control, numbers for channels)
\draw (mux.west) ++(0, 1.5) coordinate (in0) -- ++(-0.5,0) node[left] {$I_0$};
\draw (mux.west) ++(0, 0.5) coordinate (in1) -- ++(-0.5,0) node[left] {$I_1$};
\draw (mux.west) ++(0, -0.5) coordinate (in2) -- ++(-0.5,0) node[left] {$I_2$};
\draw (mux.west) ++(0, -1.5) coordinate (in3) -- ++(-0.5,0) node[left] {$I_3$};
% Interior labels for internal dependency paths
\node [anchor=west, font=\scriptsize\ttfamily] at (mux.west) [yshift=1.5cm, xshift=2pt] {0};
\node [anchor=west, font=\scriptsize\ttfamily] at (mux.west) [yshift=0.5cm, xshift=2pt] {1};
\node [anchor=west, font=\scriptsize\ttfamily] at (mux.west) [yshift=-0.5cm, xshift=2pt] {2};
\node [anchor=west, font=\scriptsize\ttfamily] at (mux.west) [yshift=-1.5cm, xshift=2pt] {3};
% Control Select Lines (Bottom Side) acting as G-dependency inputs
\draw (mux.south) ++(-0.4, 0) coordinate (s1) -- ++(0,-0.5) node[below] {$S_1$};
\draw (mux.south) ++(0.4, 0) coordinate (s0) -- ++(0,-0.5) node[below] {$S_0$};
% Internal control mapping text (G stands for AND-dependency under IEEE-91)
\node [anchor=south, font=\scriptsize\ttfamily] at (mux.south) [xshift=-0.4cm, yshift=2pt] {G\textsubscript{1}};
\node [anchor=south, font=\scriptsize\ttfamily] at (mux.south) [xshift=0.4cm, yshift=2pt] {G\textsubscript{0}};
% Output (Right Side)
\draw (mux.east) -- ++(0.5,0) node[right] {$Y$};
\end{circuitikz}
und jetzt vieles üben wird durch das ständige hinschreiben von AND PORT usw. getan. und diese beispiele hier sind übrigens, mit google AI/KI
entstanden. das heisst, es sind klassische beispiele für TikZ, aber CircuiTikZ. und: sie sind mit google ki entstanden, ich übe dann ein paar mal das aufschreiben von
Port And und so weiter, dann kommt der automat, dann mealy wie hier, dann moore, dann als schaltplan. und dann: