Init
This commit is contained in:
1
IEC/AndIEC.pdf
Normal file
1
IEC/AndIEC.pdf
Normal file
@@ -0,0 +1 @@
|
||||
Not Found
|
||||
1
IEC/AndIEC.png
Normal file
1
IEC/AndIEC.png
Normal file
@@ -0,0 +1 @@
|
||||
Not Found
|
||||
40
IEC/AndIEC.tex
Normal file
40
IEC/AndIEC.tex
Normal file
@@ -0,0 +1,40 @@
|
||||
%!tikz editor 1.0
|
||||
\documentclass{article}
|
||||
\usepackage{tikz}
|
||||
\usepackage[graphics, active, tightpage]{preview}
|
||||
\usepackage{circuitikz}
|
||||
\PreviewEnvironment{tikzpicture}
|
||||
|
||||
%!tikz preamble begin
|
||||
\usetikzlibrary{circuits.logic.IEC, positioning}
|
||||
\usepackage[utf8]{inputenc}
|
||||
%!tikz preamble end
|
||||
|
||||
|
||||
\begin{document}
|
||||
%!tikz source begin
|
||||
\begin{tikzpicture}[scale=6, transform shape,circuit logic IEC]
|
||||
\tikzstyle{branch}=[fill,shape=circle,minimum size=1pt,inner sep=pt]
|
||||
|
||||
\node[nand gate] at (1,1)(n1){};
|
||||
\node[nand gate] at (3,1)(n2){};
|
||||
|
||||
\node (a) at (0,1.165) {$a$};
|
||||
\node (b) at (0,0.825) {$b$};
|
||||
\node (out1) at (2.25,1) {};
|
||||
\node (y) at (4.25,1) {$out$};
|
||||
|
||||
|
||||
\draw(n1.input 1) -- (a);
|
||||
\draw(n1.input 2) -- (b);
|
||||
\draw(n2.input 1) -| ($(out1)$);
|
||||
\draw(n2.input 2) -| ($(out1)$);
|
||||
|
||||
\fill (out1) circle (1pt);
|
||||
\draw(n1.output) --($(out1)$);
|
||||
\draw(n2.output) -- (y);
|
||||
|
||||
\end{tikzpicture}
|
||||
%!tikz source end
|
||||
|
||||
\end{document}
|
||||
1
IEC/NotIEC.pdf
Normal file
1
IEC/NotIEC.pdf
Normal file
@@ -0,0 +1 @@
|
||||
Not Found
|
||||
1
IEC/NotIEC.png
Normal file
1
IEC/NotIEC.png
Normal file
@@ -0,0 +1 @@
|
||||
Not Found
|
||||
32
IEC/NotIEC.tex
Normal file
32
IEC/NotIEC.tex
Normal file
@@ -0,0 +1,32 @@
|
||||
%!tikz editor 1.0
|
||||
\documentclass{article}
|
||||
\usepackage{tikz}
|
||||
\usepackage[graphics, active, tightpage]{preview}
|
||||
\usepackage{circuitikz}
|
||||
\PreviewEnvironment{tikzpicture}
|
||||
|
||||
%!tikz preamble begin
|
||||
\usetikzlibrary{circuits.logic.IEC, positioning}
|
||||
\usepackage[utf8]{inputenc}
|
||||
%!tikz preamble end
|
||||
|
||||
|
||||
\begin{document}
|
||||
%!tikz source begin
|
||||
\begin{tikzpicture}[scale=1, transform shape,circuit logic IEC]
|
||||
\tikzstyle{branch}=[fill,shape=circle,minimum size=3pt,inner sep=0pt]
|
||||
\node[nand gate] at (1,1)(n1){};
|
||||
|
||||
\node (a) at (0,1.165) {$a$};
|
||||
\node (b) at (0,0.825) {$b$};
|
||||
\node (y) at (2.25,1) {$out$};
|
||||
|
||||
|
||||
\draw(n1.input 1) -- (a);
|
||||
\draw(n1.input 2) -- (b);
|
||||
\draw(n1.output) -- (y);
|
||||
|
||||
\end{tikzpicture}
|
||||
%!tikz source end
|
||||
|
||||
\end{document}
|
||||
1
IEC/OrIEC.pdf
Normal file
1
IEC/OrIEC.pdf
Normal file
@@ -0,0 +1 @@
|
||||
Not Found
|
||||
1
IEC/OrIEC.png
Normal file
1
IEC/OrIEC.png
Normal file
@@ -0,0 +1 @@
|
||||
Not Found
|
||||
22
IEC/OrIEC.tex
Normal file
22
IEC/OrIEC.tex
Normal file
@@ -0,0 +1,22 @@
|
||||
\begin{tikzpicture}[scale=1, transform shape,circuit logic IEC]
|
||||
\tikzstyle{branch}=[fill,shape=circle,minimum size=1pt,inner sep=pt]
|
||||
|
||||
\node[not gate] at (1,1)(nota){};
|
||||
\node[not gate] at (1,3)(notb){};
|
||||
\node[nand gate] at (3,2)(n2){};
|
||||
|
||||
\node (a) at (0,1) {$a$};
|
||||
\node (b) at (0,3) {$b$};
|
||||
\node (out1) at (2.,2) {};
|
||||
\node (y) at (4.25,2) {$out$};
|
||||
|
||||
|
||||
\draw(nota.input) -- (a);
|
||||
\draw(notb.input) -- (b);
|
||||
\draw(nota.output) --++ (0.5,0) --++ (0,0.825)-| ($(n2.input 2)$);
|
||||
\draw(notb.output) --++ (0.5,0) --++ (0,-0.825)-| ($(n2.input 1)$);
|
||||
%\draw(n2.input 2) -| ($(out1)$);
|
||||
|
||||
\draw(n2.output) -- (y);
|
||||
|
||||
\end{tikzpicture}
|
||||
40
IEC/OrIECStandAlone.tex
Normal file
40
IEC/OrIECStandAlone.tex
Normal file
@@ -0,0 +1,40 @@
|
||||
%!tikz editor 1.0
|
||||
\documentclass{article}
|
||||
\usepackage{tikz}
|
||||
\usepackage[graphics, active, tightpage]{preview}
|
||||
\usepackage{circuitikz}
|
||||
\PreviewEnvironment{tikzpicture}
|
||||
|
||||
%!tikz preamble begin
|
||||
\usetikzlibrary{circuits.logic.IEC, positioning}
|
||||
\usepackage[utf8]{inputenc}
|
||||
%!tikz preamble end
|
||||
|
||||
|
||||
\begin{document}
|
||||
%!tikz source begin
|
||||
\begin{tikzpicture}[scale=1, transform shape,circuit logic IEC]
|
||||
\tikzstyle{branch}=[fill,shape=circle,minimum size=1pt,inner sep=pt]
|
||||
|
||||
\node[not gate] at (1,1)(nota){};
|
||||
\node[not gate] at (1,3)(notb){};
|
||||
\node[nand gate] at (3,2)(n2){};
|
||||
|
||||
\node (a) at (0,1) {$a$};
|
||||
\node (b) at (0,3) {$b$};
|
||||
\node (out1) at (2.,2) {};
|
||||
\node (y) at (4.25,2) {$out$};
|
||||
|
||||
|
||||
\draw(nota.input) -- (a);
|
||||
\draw(notb.input) -- (b);
|
||||
\draw(nota.output) --++ (0.5,0) --++ (0,0.825)-| ($(n2.input 2)$);
|
||||
\draw(notb.output) --++ (0.5,0) --++ (0,-0.825)-| ($(n2.input 1)$);
|
||||
%\draw(n2.input 2) -| ($(out1)$);
|
||||
|
||||
\draw(n2.output) -- (y);
|
||||
|
||||
\end{tikzpicture}
|
||||
%!tikz source end
|
||||
|
||||
\end{document}
|
||||
Reference in New Issue
Block a user