mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
added d-latch-try
This commit is contained in:
parent
9134d13eac
commit
1e096fcac6
3 changed files with 73 additions and 0 deletions
25
circuits/d-latch-with-nand/d-latch-with-nand.tex
Normal file
25
circuits/d-latch-with-nand/d-latch-with-nand.tex
Normal file
|
@ -0,0 +1,25 @@
|
|||
\documentclass{article}
|
||||
\usepackage[pdftex,active,tightpage]{preview}
|
||||
\setlength\PreviewBorder{0mm}
|
||||
|
||||
\usepackage{circuitikz}
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{positioning}
|
||||
|
||||
\begin{document}
|
||||
\begin{preview}
|
||||
\begin{circuitikz}
|
||||
\draw (0,2) node[european nand port] (mynand1){};
|
||||
\draw (0,0) node[european nand port] (mynand2){};
|
||||
\draw (2.5,1.73) node[european nand port] (mynand3){};
|
||||
\draw (2.5,0.28) node[european nand port] (mynand4){};
|
||||
|
||||
\draw (mynand1.in 1) node[ocirc,label=left:$D$]{};
|
||||
\draw (mynand2.in 2) node[circ] (lowerConnection) {};
|
||||
\draw (-2.3,-0.27) node[ocirc,label=left:$E$] (E) {};
|
||||
\draw (E) -- (lowerConnection);
|
||||
\draw (mynand1.out) -- (mynand3.in 1);
|
||||
\draw (mynand2.out) -- (mynand4.in 2);
|
||||
\end{circuitikz}
|
||||
\end{preview}
|
||||
\end{document}
|
Loading…
Add table
Add a link
Reference in a new issue