| 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 |
\node[rtl_module, rtl_width=30cm, rtl_height=1.5cm] at (0,0) (macroController) {\sffamily\LARGE Macro Pipeline Controller}; |
| 11 |
|
| 12 |
\draw[->] (-16, -10) -- (-13.75, -10); |
| 13 |
\draw[->] (-16, -10.2)node[left]{\sffamily\LARGE PWM} -- (-13.95, -10.2); |
| 14 |
\draw[->] (-16, -10.4) -- (-14.15, -10.4); |
| 15 |
|
| 16 |
\node[rtl_module, rtl_width=3cm, rtl_height=8cm] at (-12, -10) () {}; |
| 17 |
\node[rtl_reg] at (-11.0, -10.0) () {\sffamily\LARGE Reg}; |
| 18 |
|
| 19 |
\node[rtl_module, rtl_width=3cm, rtl_height=8cm] at (-12.2, -10.2) () {}; |
| 20 |
\node[rtl_reg] at (-11.2, -10.2) () {\sffamily\LARGE Reg}; |
| 21 |
|
| 22 |
|
| 23 |
\node[rtl_module={\sffamily\LARGE Phase \\\sffamily\LARGE Sampler}, rtl_width=3cm, rtl_height=8cm] at (-12.4, -10.4) () {}; |
| 24 |
\node[rtl_reg] at (-13.4, -10.4) () {\sffamily\LARGE Reg}; |
| 25 |
\node[rtl_reg] at (-11.4, -10.4) () {\sffamily\LARGE Reg}; |
| 26 |
|
| 27 |
|
| 28 |
\node[rtl_module={\sffamily\LARGE Magnitude \\\sffamily\LARGE Calculation}, rtl_width=3cm, rtl_height=6cm] at (-4, -6) () {}; |
| 29 |
\node[rtl_reg] at (-3, -6) () {\sffamily\LARGE Reg}; |
| 30 |
\node[rtl_reg] at (-5, -6) () {\sffamily\LARGE Reg}; |
| 31 |
|
| 32 |
\node[rtl_module={\sffamily\LARGE Phase \\\sffamily\LARGE Calculation}, rtl_width=3cm, rtl_height=6cm] at (-4, -14) () {}; |
| 33 |
\node[rtl_reg] at (-3, -14) () {\sffamily\LARGE Reg}; |
| 34 |
\node[rtl_reg] at (-5, -14) () {\sffamily\LARGE Reg}; |
| 35 |
|
| 36 |
\node[rtl_module={\sffamily\LARGE Magnitude \\\sffamily\LARGE Equalizer}, rtl_width=3cm, rtl_height=8cm] at (4, -8) () {}; |
| 37 |
\node[rtl_reg] at (5, -8) () {\sffamily\LARGE Reg}; |
| 38 |
\node[rtl_reg] at (3, -8) () {\sffamily\LARGE Reg}; |
| 39 |
\node[rtl_reg] at (3, -10.5) () {\sffamily\LARGE Reg}; |
| 40 |
|
| 41 |
\node[rtl_module={\sffamily\LARGE Output \\\sffamily\LARGE Module}, rtl_width=3cm, rtl_height=12cm] at (12, -10) () {}; |
| 42 |
\node[rtl_reg] at (11, -8) () {\sffamily\LARGE Reg}; |
| 43 |
\node[rtl_reg] at (13, -8) () {\sffamily\LARGE Reg}; |
| 44 |
\node[rtl_reg] at (11, -14) () {\sffamily\LARGE Reg}; |
| 45 |
\node[rtl_reg] at (13, -14) () {\sffamily\LARGE Reg}; |
| 46 |
|
| 47 |
\draw[->] (-12.6, -0.75) -- (-12.6, -6) ; |
| 48 |
\draw[->] (-12.8, -0.75) -- (-12.8, -6.2); |
| 49 |
\draw[->] (-13, -0.75) node[left, above, rotate=90, xshift=-1.15cm] {\sffamily\LARGE START} -- (-13, -6.4); %edge-0.4cm -> center +0.6cm |
| 50 |
|
| 51 |
\draw[->] (-11.4, -6) -- (-11.4, -0.75) node[left, below, rotate=90, xshift=-1.15cm] {\sffamily\LARGE BUSY}; |
| 52 |
\draw[->] (-11.6, -6.2) -- (-11.6, -0.75); |
| 53 |
\draw[->] (-11.8, -6.4) -- (-11.8, -0.75); |
| 54 |
|
| 55 |
\draw[->] (-4.6, -0.75) node[left, above, rotate=90, xshift=-1.15cm] {\sffamily\LARGE START} -- (-4.6, -3); |
| 56 |
\draw[->] (-3.4, -3) -- (-3.4, -0.75)node[left, below, rotate=90, xshift=-1.15cm] {\sffamily\LARGE BUSY}; |
| 57 |
|
| 58 |
\draw[->] (-0.6, -0.75) node[left, above, rotate=90, xshift=-1.15cm] {\sffamily\LARGE START} -- (-0.6, -9.7) -- (-4.6, -9.7) -- (-4.6, -11); |
| 59 |
\draw[->] (-3.4, -11) -- (-3.4,-10.3) -- (0.6, -10.3) -- (0.6, -0.75)node[left, below, rotate=90, xshift=-1.15cm] {\sffamily\LARGE BUSY}; |
| 60 |
|
| 61 |
\draw[->] (3.4, -0.75) node[left, above, rotate=90, xshift=-1.15cm] {\sffamily\LARGE START} -- (3.4, -4); |
| 62 |
\draw[->] (4.6, -4) -- (4.6, -0.75) node[left, below, rotate=90, xshift=-1.15cm] {\sffamily\LARGE BUSY}; |
| 63 |
|
| 64 |
\draw[->] (11.4, -0.75) node[left, above, rotate=90, xshift=-1.15cm] {\sffamily\LARGE START} -- (11.4, -4); |
| 65 |
\draw[->] (12.6, -4) -- (12.6, -0.75) node[left, below, rotate=90, xshift=-1.15cm] {\sffamily\LARGE BUSY}; |
| 66 |
|
| 67 |
\draw[-, rtl_bus, line width=3] (-10.25, -10.0) -- (-8.9, -10.0); |
| 68 |
\node[circ] at (-8.9, -10) (pwmWNode) {}; |
| 69 |
\draw[->, line width=3] (pwmWNode) -- (-8.9, -6.4) -- (-5.75, -6.4); |
| 70 |
\draw[->, line width=3] (pwmWNode) -- (-8.9, -13.6) -- (-5.75, -13.6); |
| 71 |
|
| 72 |
\draw[-,rtl_bus, line width=3] (-10.45, -10.2) -- (-9.3, -10.2) node[midway, xshift=2cm]{\sffamily\LARGE $\mathsf{D_{u,v,w}}$}; |
| 73 |
\node[circ] at (-9.3, -10.2) (pwmVNode) {}; |
| 74 |
\draw[->, line width=3] (pwmVNode) -- (-9.3, -6) -- (-5.75, -6); |
| 75 |
\draw[->, line width=3] (pwmVNode) -- (-9.3, -14) -- (-5.75, -14); |
| 76 |
|
| 77 |
\draw[-, rtl_bus, line width=3] (-10.65, -10.4) -- (-9.7, -10.4); |
| 78 |
\node[circ] at (-9.7, -10.4) (pwmUNode) {}; |
| 79 |
\draw[->, line width=3] (pwmUNode) -- (-9.7, -5.6) -- (-5.75, -5.6); |
| 80 |
\draw[->, line width=3] (pwmUNode) -- (-9.7, -14.4) -- (-5.75, -14.4) ; |
| 81 |
|
| 82 |
\draw[->, rtl_bus, line width=3] (-2.25, -6) -- (0, -6) node[above, midway, yshift=0.15cm, xshift=-0.15cm]{\sffamily\LARGE $\mathsf{||\vec{v}||_{2}}$} -- (0, -8) -- (2.25, -8) ; |
| 83 |
|
| 84 |
\draw[->, rtl_bus, line width=3] (5.75, -8) -- (10.25, -8) node[above, midway, yshift=0.15cm]{\sffamily\LARGE $\mathsf{\hat{v}}$}; |
| 85 |
\draw[->, rtl_bus, line width=3] (-2.25, -14) -- (10.25, -14)node[above, midway, yshift=0.15cm]{\sffamily\LARGE $\mathsf{\phi}$}; |
| 86 |
\node[circ, fill=black, scale=2] at (1, -14) (phaseNode) {}; |
| 87 |
\draw[->, line width=3] (phaseNode) -- +(0, 3.5) -- +(1.25, 3.5); |
| 88 |
|
| 89 |
|
| 90 |
\draw[->, rtl_bus, line width=3] (13.75, -8) -- (16, -8) node[right] {\Huge $\mathsf{\hat{v}}$}; |
| 91 |
\draw[->, rtl_bus, line width=3] (13.75, -14) -- (16, -14) node[right] {\Huge $\mathsf{\phi}$}; |
| 92 |
|
| 93 |
\node[]at (3, -26.5) (core2) { |
| 94 |
\includegraphics[width=18cm, height=16cm]{Distributed_Pipeline.pdf} |
| 95 |
}; |
| 96 |
|
| 97 |
\draw[dashed, line width=2.5] (-4, -14) circle (4) ; |
| 98 |
\draw[->, dashed, line width = 2.5] (-4,-18) -- (-3, -20); |
| 99 |
|
| 100 |
\node[]at (40, -20) (core2) { |
| 101 |
\includegraphics[width=45cm, height=28cm]{CORDIC_Pipeline.pdf} |
| 102 |
}; |
| 103 |
|
| 104 |
\draw[dashed, line width=2.5] (7.4, -29.45) circle (6) ; |
| 105 |
\draw[->, dashed, line width = 2.5] (13.4,-29.45) -- (19, -22); |
| 106 |
\end{circuitikz} |
| 107 |
\end{document} |