-
Notifications
You must be signed in to change notification settings - Fork 0
/
74193_chip.tex
31 lines (25 loc) · 924 Bytes
/
74193_chip.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
\documentclass[border=0.2cm]{standalone}
\usepackage{tikz}
\usepackage{circuitikz}
\usepackage{amsmath}
\renewcommand\familydefault\sfdefault
\newcommand{\PinNumber}{16}
\begin{document}
\begin{circuitikz}[
logic ports=ieee,
multipoles/thickness=4,
multipoles/external pins thickness=2
]
\draw (0,0) node[dipchip,num pins=\PinNumber, external pins width=0.1, external pad fraction=4 ] (C) {'193};
\foreach [count=\i] \pinLabel in {
B, $\text{Q}_{\text{B}}$, $\text{Q}_{\text{A}}$, DOWN, UP, $\text{Q}_{\text{C}}$, $\text{Q}_{\text{D}}$, GND,
D, C, $\overline{\text{LOAD}}$, $\overline{\text{CO}}$, $\overline{\text{BO}}$, CLR, A, $\text{V}_{\text{CC}}$
} {
\ifnum\i<\numexpr\PinNumber/2+1\relax
\draw (C.pin \i) node[left] {\pinLabel};
\else
\draw (C.pin \i) node[right] {\pinLabel};
\fi
}
\end{circuitikz}
\end{document}