Debian Codegraph @

texmf-dist/doc/latex/register-transfer-level/examples/DSP_Architecture/Distributed_Pipeline.tex

raw
1 \documentclass[border=10pt]{standalone}
2 \usepackage[european]{circuitikz}
3 \usepackage{../../register-transfer-level}
4 \usetikzlibrary{shapes.geometric, arrows.meta, positioning, calc, shadows, decorations.markings}
5
6 \begin{document}
7
8 \begin{circuitikz}[>=Stealth, thick, line width=1.25]
9
10 \draw[<-] (-2, 0.75) -- (-2, 2) node[left, rotate=90, xshift=0.7cm] {\sffamily\LARGE ...} node[left, above, rotate=90, xshift=0cm] {\sffamily\LARGE START};
11 \draw[] (2, 0.75) -- (2, 2) node[left, rotate=90, xshift=0.7cm] {\sffamily\LARGE ...} node[left, below, rotate=90, xshift=0cm] {\sffamily\LARGE BUSY};
12
13 \node[rtl_module, rtl_width=15cm, rtl_height=1.5cm] at (0,0) (macroController) {\sffamily\LARGE Distributed Pipeline Controller};
14
15 \node[rtl_module={\sffamily\LARGE Clarke \\\sffamily\LARGE Transform}, rtl_width=3cm, rtl_height=10cm] at (-4, -8) () {};
16 \node[rtl_reg] at (-5, -6) () {\sffamily\LARGE Reg};
17 \node[rtl_reg] at (-3, -6) () {\sffamily\LARGE Reg};
18 \node[rtl_reg] at (-5, -11) () {\sffamily\LARGE Reg};
19 \node[rtl_reg] at (-3, -11) () {\sffamily\LARGE Reg};
20 \node[rtl_reg] at (-5, -8.5) () {\sffamily\LARGE Reg};
21
22 \node[rtl_module={\sffamily\LARGE Atan2}, rtl_width=3cm, rtl_height=10cm] at (4, -8) () {};
23 \node[rtl_reg] at (3, -6) () {\sffamily\LARGE Reg};
24 \node[rtl_reg] at (5, -8.5) () {\sffamily\LARGE Reg};
25 \node[rtl_reg] at (3, -11) () {\sffamily\LARGE Reg};
26
27 \draw[->,rtl_bus, line width=3] (-2.25,-6) -- (2.25,-6)node[above, midway, yshift=0.15cm]{\sffamily\LARGE $\mathsf{D_\alpha}$};
28 \draw[->,rtl_bus, line width=3] (-2.25,-11) -- (2.25,-11) node[above, midway, yshift=0.15cm]{\sffamily\LARGE $\mathsf{D_\beta}$};
29
30 \draw[->,rtl_bus, line width=3] (-8,-6) -- (-5.75,-6) node[above, midway, yshift=0.15cm]{\sffamily\LARGE $\mathsf{D_u}$};
31 \draw[->,rtl_bus, line width=3] (-8,-8.5) -- (-5.75,-8.5) node[above, midway, yshift=0.15cm]{\sffamily\LARGE $\mathsf{D_v}$};
32 \draw[->,rtl_bus, line width=3] (-8,-11) -- (-5.75,-11) node[above, midway, yshift=0.15cm]{\sffamily\LARGE $\mathsf{D_w}$};
33
34 \draw[->,rtl_bus, line width=3] (5.75,-8.5) -- (8,-8.5) node[above, midway, yshift=0.15cm]{\sffamily\LARGE $\mathsf{\phi}$};
35
36 \draw[->] (-4.6, -0.75)node[left, above, rotate=90, xshift=-1.15cm] {\sffamily\LARGE START} -- (-4.6, -3);
37 \draw[->] (-3.4, -3) -- (-3.4, -0.75)node[left, below, rotate=90, xshift=-1.15cm] {\sffamily\LARGE BUSY};
38
39 \draw[->] (3.4, -0.75) node[left, above, rotate=90, xshift=-1.15cm] {\sffamily\LARGE START} -- (3.4, -3);
40 \draw[->] (4.6, -3) -- (4.6, -0.75) node[left, below, rotate=90, xshift=-1.15cm] {\sffamily\LARGE BUSY};
41
42 \end{circuitikz}
43 \end{document}