104 lines
4.6 KiB
TeX
104 lines
4.6 KiB
TeX
\begin{tikzpicture}
|
|
\pgfplotstableread[col sep=comma]{data/hynix.csv}\hynix
|
|
\pgfplotstableread[col sep=comma]{data/micron.csv}\micron
|
|
\pgfplotstableread[col sep=comma]{data/samsung.csv}\samsung
|
|
|
|
|
|
\begin{groupplot}[
|
|
group style={
|
|
group size=3 by 1,
|
|
horizontal sep=10pt,
|
|
% vertical sep=30pt,
|
|
xticklabels at=edge bottom,
|
|
yticklabels at=edge left,
|
|
xlabels at=edge bottom,
|
|
ylabels at=edge left,
|
|
},
|
|
scale only axis,
|
|
width=\linewidth/4, height=4cm,
|
|
xlabel={Time},
|
|
ylabel={Power [mW]},
|
|
xmin=0, xmax=0.006,
|
|
ymin=0, ymax=800,
|
|
xtick=\empty,
|
|
axis x line=middle,
|
|
axis y line=middle,
|
|
ylabel near ticks,
|
|
xlabel near ticks,
|
|
]
|
|
\nextgroupplot[
|
|
title=Vendor A,
|
|
]
|
|
|
|
\addplot[dashed,black!50] coordinates {(0.001,0) (0.001,1100)};
|
|
\addplot[dashed,black!50] coordinates {(0.002,0) (0.002,1100)};
|
|
\addplot[dashed,black!50] coordinates {(0.003,0) (0.003,1100)};
|
|
\addplot[dashed,black!50] coordinates {(0.004,0) (0.004,1100)};
|
|
\addplot[dashed,black!50] coordinates {(0.005,0) (0.005,1100)};
|
|
|
|
\node[circle,draw,inner sep=1pt] at (axis cs:0.0005, 750) {\tiny 1};
|
|
\node[circle,draw,inner sep=1pt] at (axis cs:0.0015, 750) {\tiny 2};
|
|
\node[circle,draw,inner sep=1pt] at (axis cs:0.0025, 750) {\tiny 3};
|
|
\node[circle,draw,inner sep=1pt] at (axis cs:0.0035, 750) {\tiny 4};
|
|
\node[circle,draw,inner sep=1pt] at (axis cs:0.0045, 750) {\tiny 5};
|
|
\node[circle,draw,inner sep=1pt] at (axis cs:0.0055, 750) {\tiny 6};
|
|
|
|
\addplot[color=green!50!black] table [x={time}, y={datasheet}]{\micron};
|
|
\addplot[color=blue!50] table [x={time}, y={measured}]{\micron};
|
|
\addplot[color=red!50] table [x={time}, y={optimized}]{\micron};
|
|
|
|
\nextgroupplot[
|
|
title=Vendor B,
|
|
]
|
|
|
|
\addplot[dashed,black!50] coordinates {(0.001,0) (0.001,1100)};
|
|
\addplot[dashed,black!50] coordinates {(0.002,0) (0.002,1100)};
|
|
\addplot[dashed,black!50] coordinates {(0.003,0) (0.003,1100)};
|
|
\addplot[dashed,black!50] coordinates {(0.004,0) (0.004,1100)};
|
|
\addplot[dashed,black!50] coordinates {(0.005,0) (0.005,1100)};
|
|
|
|
\node[circle,draw,inner sep=1pt] at (axis cs:0.0005, 750) {\tiny 1};
|
|
\node[circle,draw,inner sep=1pt] at (axis cs:0.0015, 750) {\tiny 2};
|
|
\node[circle,draw,inner sep=1pt] at (axis cs:0.0025, 750) {\tiny 3};
|
|
\node[circle,draw,inner sep=1pt] at (axis cs:0.0035, 750) {\tiny 4};
|
|
\node[circle,draw,inner sep=1pt] at (axis cs:0.0045, 750) {\tiny 5};
|
|
\node[circle,draw,inner sep=1pt] at (axis cs:0.0055, 750) {\tiny 6};
|
|
|
|
\addplot[color=green!50!black] table [x={time}, y={datasheet}]{\samsung};
|
|
\addplot[color=blue!50] table [x={time}, y={measured}]{\samsung};
|
|
\addplot[color=red!50] table [x={time}, y={optimized}]{\samsung};
|
|
|
|
\nextgroupplot[
|
|
title=Vendor C,
|
|
]
|
|
|
|
\addplot[dashed,black!50] coordinates {(0.001,0) (0.001,1100)};
|
|
\addplot[dashed,black!50] coordinates {(0.002,0) (0.002,1100)};
|
|
\addplot[dashed,black!50] coordinates {(0.003,0) (0.003,1100)};
|
|
\addplot[dashed,black!50] coordinates {(0.004,0) (0.004,1100)};
|
|
\addplot[dashed,black!50] coordinates {(0.005,0) (0.005,1100)};
|
|
|
|
\node[circle,draw,inner sep=1pt] at (axis cs:0.0005, 750) {\tiny 1};
|
|
\node[circle,draw,inner sep=1pt] at (axis cs:0.0015, 750) {\tiny 2};
|
|
\node[circle,draw,inner sep=1pt] at (axis cs:0.0025, 750) {\tiny 3};
|
|
\node[circle,draw,inner sep=1pt] at (axis cs:0.0035, 750) {\tiny 4};
|
|
\node[circle,draw,inner sep=1pt] at (axis cs:0.0045, 750) {\tiny 5};
|
|
\node[circle,draw,inner sep=1pt] at (axis cs:0.0055, 750) {\tiny 6};
|
|
|
|
\addplot[color=green!50!black] table [x={time}, y={datasheet}]{\hynix};
|
|
\addplot[color=blue!50] table [x={time}, y={measured}]{\hynix};
|
|
\addplot[color=red!50] table [x={time}, y={optimized}]{\hynix};
|
|
\end{groupplot}
|
|
|
|
% Legend
|
|
\begin{scope}
|
|
\draw[green!50!black,line width=0.9pt] (-0.15, -1) -- (0.15, -1);
|
|
\node[anchor=west] at (0.2,-1) {Sim. Datasheet $I_{DD}$};
|
|
|
|
\draw[red!50,line width=0.9pt] (3.4-0.15, -1) -- (3.4+0.15, -1);
|
|
\node[anchor=west] at (3.6,-1) {Sim. Measured $I_{DD}$};
|
|
|
|
\draw[blue!50,line width=0.9pt] (-0.15, -1.5) -- (0.15, -1.5);
|
|
\node[anchor=west] at (0.2,-1.5) {Real Measurement};
|
|
\end{scope}
|
|
\end{tikzpicture}% |