This commit is contained in:
Sven Riwoldt
2024-04-06 18:15:41 +02:00
commit ea9a31b1f8
38 changed files with 930 additions and 0 deletions

29
Grafiken/AndANSI.tex Normal file
View File

@@ -0,0 +1,29 @@
\begin{tikzpicture}[scale=1,transform shape]
\ctikzset{
logic ports=ieee,
logic ports/scale=1,
% logic ports/fill=lightgray
% Koordinaten für Kreuzpunkte
}
\coordinate (A) at (2.75,0.5);
\fill (A) circle (1.5pt);
% Eingangsvariablen
\node (x2) at (0.15,0.225) {b};
\node (x1) at (0.15,0.775) {a};
% Ausgangsvariable
\node (y) at (6,0.5) {out};
% Gatter
\node[nand port] at (1.5,0.5) (n1) {};
\node[nand port] at (4,0.5) (n2) {};
\draw(x1) -- (n1.in 1);
\draw(x2) -- (n1.in 2);
\draw(n1.out) -- (A);
\draw(A) |- (n2.in 2);
\draw(A) |- (n2.in 1);
\draw(n2.out) -- (y);
\end{tikzpicture}

View File

@@ -0,0 +1,48 @@
%!tikz editor 1.0
\documentclass{article}
\usepackage{tikz}
\usepackage[graphics, active, tightpage]{preview}
\usepackage{circuitikz}
\PreviewEnvironment{tikzpicture}
%!tikz preamble begin
%\usetikzlibrary{circuits.logic.US, positioning}
\usepackage{circuitikz}
\usepackage[utf8]{inputenc}
%!tikz preamble end
\begin{document}
%!tikz source begin
\begin{tikzpicture}[scale=6,transform shape]
\ctikzset{
logic ports=ieee,
logic ports/scale=1,
% logic ports/fill=lightgray
% Koordinaten für Kreuzpunkte
}
\coordinate (A) at (2.75,0.5);
\fill (A) circle (1.5pt);
% Eingangsvariablen
\node (x2) at (0.15,0.225) {b};
\node (x1) at (0.15,0.775) {a};
% Ausgangsvariable
\node (y) at (6,0.5) {out};
% Gatter
\node[nand port] at (1.5,0.5) (n1) {};
\node[nand port] at (4,0.5) (n2) {};
\draw(x1) -- (n1.in 1);
\draw(x2) -- (n1.in 2);
\draw(n1.out) -- (A);
\draw(A) |- (n2.in 2);
\draw(A) |- (n2.in 1);
\draw(n2.out) -- (y);
\end{tikzpicture}
%!tikz source end
\end{document}

28
Grafiken/NotANSI.tex Normal file
View File

@@ -0,0 +1,28 @@
\begin{tikzpicture}
\node (in) at (0.5,1) {in};
\node (inp) at (0.65,1) {};
\node (out) at (4,1) {out};
\node (outp) at (3.8,1) {};
\ctikzset{
logic ports=ieee,
logic ports/scale=1,
}
\node[nand port] (Nand) at (2.5,1){};%\small{Nand}};
\draw (Nand.in 1) |- (in) ;
\draw (Nand.in 2) |- (in);
\draw[name path = pin1] (Nand.in 1) |- (in) ;
\draw[name path = pin2] (Nand.in 2) |- (in);
\draw [fill=white]( [xshift=3pt] inp) circle (2pt);
\draw [fill=white]( [xshift=-5pt] outp) circle (2pt);
\path[name intersections={of=pin1 and pin2, by=e}];
\fill[] (e) circle[radius=0.075];
\end{tikzpicture}

View File

@@ -0,0 +1 @@
Not Found

31
Grafiken/OrANSI.tex Normal file
View File

@@ -0,0 +1,31 @@
\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}

View File

@@ -0,0 +1,38 @@
\begin{tikzpicture}[scale=1,transform shape]
\ctikzset{
logic ports=ieee,
logic ports/scale=1,
}
\node[nand port] at (1.75,0.56)(nota){};
\node[nand port] at (1.75,4*0.56)(notb){};
\node[nand port] at (4.,2.5*0.56)(n2){};
\draw (nota.out) |- (n2.in 2);
\draw (notb.out) |- (n2.in 1);
\node (a) at (0,0.56) {$a$};
\node (b) at (0,2.2384) {$b$};
\node (y) at (5.5,2.5*0.56) {$out$};
\coordinate (A) at (0.45,0.841-0.2814);
\fill (A) circle (1.5pt);
\draw[name path = a1] (A) |- (nota.in 1);
\draw[name path = a2] (A) |- (nota.in 2);
\draw (A) --++ (-.25,0);
\coordinate (B) at (0.45,2.2384);
\fill (B) circle (1.5pt);
\draw (B) |- (notb.in 1);
\draw (B) |- (notb.in 2);
\draw (B) --++ (-.25,0);
\draw (nota.out) |- node[below, yshift=-15pt, xshift=5pt]{\small$nota$}(n2.in 2);
\draw (notb.out) |- node[above, yshift=15pt, xshift=5pt]{\small$notb$}(n2.in 1);
\end{tikzpicture}

View File

@@ -0,0 +1,96 @@
%!tikz editor 1.0
\documentclass{article}
\usepackage{tikz}
\usepackage[graphics, active, tightpage]{preview}
\usepackage{circuitikz}
\PreviewEnvironment{tikzpicture}
%!tikz preamble begin
\usepackage{circuitikz}
\usetikzlibrary{angles, arrows.meta, quotes, calc, babel, fadings,quotes}
\usetikzlibrary{backgrounds}
\usetikzlibrary{intersections}
\usetikzlibrary{through,calc,decorations.markings,positioning,angles}
\usepackage{fp}
\usepgflibrary{fixedpointarithmetic}
%!tikz preamble end
\begin{document}
%!tikz source begin
\begin{tikzpicture}[scale=4,transform shape]
\ctikzset{
logic ports=ieee,
logic ports/scale=1,
% logic ports/fill=lightgray
% Koordinaten für Kreuzpunkte
}
% \node (x2) at (0.15,0.2814) {b};
% \node (x1) at (0.15,0.841) {a};
% Ausgangsvariable
% \node (y) at (5.75,0.841-0.2814) {out};
% Gatter
% \node[nand port] at (1.5,0.56) (n1) {};
% \node[nand port] at (4,0.56) (n2) {};
%\draw (0,0) to[grid with coordinates] (7,4);
\node[nand port] at (1.75,0.56)(nota){};
\node[nand port] at (1.75,4*0.56)(notb){};
\node[nand port] at (4.,2.5*0.56)(n2){};
\draw (nota.out) |- (n2.in 2);
\draw (notb.out) |- (n2.in 1);
\node (a) at (0,0.56) {$a$};
\node (b) at (0,2.2384) {$b$};
%\node (out1) at (2.,2) {};
\node (y) at (5.5,2.5*0.56) {$out$};
\coordinate (A) at (0.45,0.841-0.2814);
\fill (A) circle (1.5pt);
\draw[name path = a1] (A) |- (nota.in 1);
\draw[name path = a2] (A) |- (nota.in 2);
\draw (A) --++ (-.25,0);
\coordinate (B) at (0.45,2.2384);
\fill (B) circle (1.5pt);
\draw (B) |- (notb.in 1);
\draw (B) |- (notb.in 2);
\draw (B) --++ (-.25,0);
\draw (nota.out) |- node[below, yshift=-15pt, xshift=5pt]{\small$nota$}(n2.in 2);
\draw (notb.out) |- node[above, yshift=15pt, xshift=5pt]{\small$notb$}(n2.in 1);
%\draw[name path = a1](nota.in 1) --++ (-0.25,0)|- (a);
%\draw[name path = a2](nota.in 2) --++ (-0.25,0)|- (a);
%\path[name intersections={of=a1 and a2,by=e}];
%\fill (e) circle[radius=1pt];
%\draw[name path = b1](notb.input 1) --++ (-0.25,0)|- (b);
%\draw[name path = b2](notb.input 2) --++ (-0.25,0)|- (b);
%\path[name intersections={of=b1 and b2,by=e}];
%\fill (e) circle[radius=1pt];
%\draw(nota.output) --++ (0.5,0) --++ (0,0.9)-| ($(n2.input 2)$);
%\draw(notb.output) --++ (0.5,0) --++ (0,-0.9)-| ($(n2.input 1)$);
%\draw(n2.output) -- (y);
\end{tikzpicture}
%!tikz source end
\end{document}

View File

@@ -0,0 +1,50 @@
%!tikz editor 1.0
\documentclass{article}
\usepackage{tikz}
\usepackage[graphics, active, tightpage]{preview}
\usepackage{circuitikz}
\PreviewEnvironment{tikzpicture}
%!tikz preamble begin
%\usetikzlibrary{circuits.logic.US, positioning}
\usepackage{circuitikz}
\usepackage[utf8]{inputenc}
%!tikz preamble end
\begin{document}
%!tikz source begin
\begin{tikzpicture}[scale=6, 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}
%!tikz source end
\end{document}

50
Grafiken/XORANSI.tex Normal file
View File

@@ -0,0 +1,50 @@
\begin{tikzpicture}[scale=1,transform shape]
\ctikzset{
logic ports=ieee,
logic ports/scale=1
}
\node[nand port] at (1.75,0.56)(not1){N2};
\node[nand port] at (1.75,4*0.56)(not2){N1};
\node[nand port] at (4.5,0.56)(nanda){N4};
\node[nand port] at (4.5,4*0.56)(nandb){N3};
\node[nand port] at (6.75,2.5*0.56)(n2){N5};
\draw (nanda.out) |- (n2.in 2);
\draw (nandb.out) |- (n2.in 1);
\node (a) at (0,0.56) {$b$};
\node (b) at (0,2.2384) {$a$};
%\node (out1) at (2.,2) {};
\node (y) at (8.25,2.5*0.56) {$out$};
\coordinate (A) at (0.65,0.841-0.2814);
\fill (A) circle (1.5pt);
\draw[name path = a1] (A) |- (not1.in 1);
\draw[name path = a2] (A) |- (not1.in 2);
\draw (A) --++ (-.45,0);
\coordinate (B) at (0.65,2.2384);
\fill (B) circle (1.5pt);
\draw (B) |- (not2.in 1);
\draw (B) |- (not2.in 2);
\draw (B) --++ (-.45,0);
\draw (not1.out) |- (nanda.in 2);
\draw (not2.out) |- (nandb.in 1);
\draw[name path = b1](B) --++ (-7pt,0) --++ (0,-20pt) --++ (75pt,0)|- (nanda.in 1);
\draw[name path = a1](A) --++ (-7pt,0) --++ (0,20pt) --++ (70pt,0)|- (nandb.in 2);
\path[name intersections={of=a1 and b1, by=e}];
\fill[color=white] (e) circle[radius=0.16\crossing];% erase plain crossing
\draw (e) node[jump crossing]{};
%\draw(n2.output) -- (y);
\end{tikzpicture}