53 lines
1.4 KiB
Plaintext
53 lines
1.4 KiB
Plaintext
\usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
|
|
decorations.pathreplacing,decorations.pathmorphing,shapes,%
|
|
matrix,shapes.symbols,plotmarks,decorations.markings,shadows,backgrounds}
|
|
|
|
|
|
\pgfdeclarelayer{background}
|
|
\pgfdeclarelayer{foreground}
|
|
\pgfdeclarelayer{L0}
|
|
\pgfdeclarelayer{L1}
|
|
\pgfdeclarelayer{L2}
|
|
\pgfdeclarelayer{L3}
|
|
\pgfsetlayers{background,L0,L1,L2,L3,main,foreground}
|
|
|
|
\newcommand{\scale}{1}
|
|
|
|
\begin{tikzpicture}[yscale=0.5, scale=\scale,every node/.style={scale=\scale},on grid ]
|
|
|
|
\definecolor{LCUFill}{rgb}{0,0.5,1}
|
|
\definecolor{DrawColor}{rgb}{0,0,0.5}
|
|
\definecolor{LCUFill}{rgb}{1,1,1}
|
|
\definecolor{DrawColor}{rgb}{0,0,0}
|
|
|
|
\tikzstyle{TextStyle}=[scale=.5, text centered]
|
|
\tikzstyle{Square}=[draw=DrawColor,thick]
|
|
\tikzstyle{Connection}=[Square,dashed]
|
|
\tikzstyle{Byte}=[draw=DrawColor,thick, dashed]
|
|
|
|
\begin{scope}[xshift=0, yshift=-5cm]
|
|
|
|
\begin{scope}[xshift=0, yshift=0cm]
|
|
\node[TextStyle] at (1,.5) {Slice header};
|
|
\draw[Square] (0,0) rectangle ++(2,1cm);
|
|
\draw[Square] (2,0) rectangle ++(7,1cm);
|
|
|
|
\node[TextStyle] at (2+.25,0.5) {...};
|
|
\foreach \x in {0,...,2}
|
|
{
|
|
\draw[Square,thin] (2.5+2*\x,0) rectangle ++(2,1cm);
|
|
\node[TextStyle] at (2.5+2*\x+1,.5) {CTU$_{n+\x}$};
|
|
}
|
|
\node[TextStyle] at (2.5+2*3+.25,.1+0.8/2) {...};
|
|
|
|
\coordinate (EdgeL) at (2+.5,0);
|
|
\coordinate (EdgeR) at (2+.5+2,0);
|
|
\end{scope}
|
|
|
|
|
|
\end{scope}
|
|
|
|
|
|
|
|
\end{tikzpicture}
|