Update on Overleaf.
This commit is contained in:
83
img/bankwise_current.tex
Normal file
83
img/bankwise_current.tex
Normal file
@@ -0,0 +1,83 @@
|
||||
\begin{tikzpicture}
|
||||
%\scriptsize
|
||||
%\newcommand*\circled[1]{
|
||||
% \tikz[baseline=(char.base)]{
|
||||
% \node[shape=circle,draw,inner sep=0.5pt,fill=white] (char) {\scriptsize#1};
|
||||
% }
|
||||
%}
|
||||
|
||||
|
||||
% Variables:
|
||||
\def\IDDTWO{30} %mA
|
||||
\def\IDDTHREE{100} %mA
|
||||
\def\BONE{65} %mA
|
||||
|
||||
\def\ENDWIDTH{0.5}
|
||||
\def\SEVEN{6.7}
|
||||
|
||||
|
||||
\draw[thick] (0,-\ENDWIDTH) node[anchor=north] {$0$} -- (0,0.1) node[anchor=south] {};
|
||||
\draw[thick] (2,-\ENDWIDTH) node[anchor=north] {$I_{DD2N}$} -- (2,0.1) node[anchor=south] {};
|
||||
\draw[thick] (4,-\ENDWIDTH) node[anchor=north] {$I_{\rho}$} -- (4,0.1) node[anchor=south] {};
|
||||
|
||||
\draw[thick] (\SEVEN,-\ENDWIDTH) node[anchor=north] {$I_{DD3N}$} -- (\SEVEN,0.1) node[anchor=south] {\circled{B}};
|
||||
|
||||
\draw[thick] (-0.5,0) -- (0.7,0) node[anchor=west] {};
|
||||
|
||||
%\draw[thick] (0.7,0.2) to [bend right=20] (0.7,0);
|
||||
%\draw[thick] (0.7,-0.2) to [bend right=20] (0.7,0);
|
||||
%
|
||||
%\draw[dotted, thick] (0.7,0) -- (1.1,0);
|
||||
\draw[thick] (0.7,0) -- (1.1,0);
|
||||
%
|
||||
%\draw[thick] (1.1,0.2) to [bend right=20] (1.1,0);
|
||||
%\draw[thick] (1.1,-0.2) to [bend right=20] (1.1,0);
|
||||
|
||||
|
||||
\draw[thick] (1.1,0) -- (6.0,0);
|
||||
%\draw[thick,-{Latex[scale=2.5, length=2, width=3]}] (1.2,0) -- (\SEVEN+0.6,0) node[anchor=west] {[mA]};
|
||||
\draw[thick,-{Latex}] (6.4,0) -- (\SEVEN+0.6,0) node[anchor=west] {};
|
||||
|
||||
|
||||
%% Draw Bank 0:
|
||||
%\draw[thick] (\PPOS,-0.2) node[anchor=north] {\scriptsize\PVALUEROUND} --
|
||||
%(\PPOS,0.2) node[anchor=south] {$I_{\rho}$};
|
||||
|
||||
%% Draw Other Banks:
|
||||
|
||||
\draw[thick] (4.3375,-0.1) -- (4.3375,0.1) node[anchor=south]
|
||||
{\circled{1}};
|
||||
\draw[thick] (4.6750,-0.1) -- (4.6750,0.1) node[anchor=south]
|
||||
{\circled{2}};
|
||||
\draw[thick] (5.0125,-0.1) -- (5.0125,0.1) node[anchor=south]
|
||||
{\circled{3}};
|
||||
\draw[thick] (5.3500,-0.1) -- (5.3500,0.1) node[anchor=south]
|
||||
{\circled{4}};
|
||||
\draw[thick] (5.6875,-0.1) -- (5.6875,0.1) node[anchor=south]
|
||||
{\circled{5}};
|
||||
%\draw[thick] (6.0250,-0.1) -- (6.0250,0.1) node[anchor=south]
|
||||
%{\circled{6}};
|
||||
%\draw[thick] (6.3625,-0.1) -- (6.3625,0.1) node[anchor=south]
|
||||
%{\circled{7}};
|
||||
|
||||
\draw[thick] (6.0,0.2) to [bend right=20] (6.0,0);
|
||||
\draw[thick] (6.0,-0.2) to [bend right=20] (6.0,0);
|
||||
|
||||
\draw[dotted, thick] (6.0,0) -- (6.4,0);% node[anchor=west] {};
|
||||
|
||||
\draw[thick] (6.4,0.2) to [bend right=20] (6.4,0);
|
||||
\draw[thick] (6.4,-0.2) to [bend right=20] (6.4,0);
|
||||
|
||||
%% DRAW P
|
||||
|
||||
\draw [thick,
|
||||
black,decorate,decoration={brace,amplitude=10pt,mirror},xshift=0.0pt,yshift=-0.0pt](2,0)
|
||||
-- (4,0) node[black,midway,yshift=-0.6cm] {\footnotesize
|
||||
$\rho$};
|
||||
|
||||
\draw [thick,
|
||||
black,decorate,decoration={brace,amplitude=10pt,mirror},xshift=0.0pt,yshift=-0.0pt](4,0)
|
||||
-- (\SEVEN,0) node[black,midway,yshift=-0.6cm] {\footnotesize
|
||||
$1-\rho$};
|
||||
|
||||
\end{tikzpicture}
|
||||
13
img/currents_table.tex
Normal file
13
img/currents_table.tex
Normal file
@@ -0,0 +1,13 @@
|
||||
\begin{tabular}{cl}
|
||||
\toprule
|
||||
\textbf{Symbol} & \textbf{Description}\\
|
||||
\midrule
|
||||
IDD0 & Operating One Bank Active-Precharge Current\\
|
||||
IDD2N & Precharge Standby Current\\
|
||||
IDD3N & Active Standby Current\\
|
||||
IDD4R & Operating Burst Read Current\\
|
||||
IDD4W & Operating Burst Write Current\\
|
||||
IDD5B & Burst Refresh Current\\
|
||||
IDD6N & Self Refresh Current\\
|
||||
\bottomrule
|
||||
\end{tabular}%
|
||||
43
img/implicit_commands.tex
Normal file
43
img/implicit_commands.tex
Normal file
@@ -0,0 +1,43 @@
|
||||
\begin{tikztimingtable} [timing/d/background/.style={fill=white},
|
||||
timing/lslope=0.2, xscale=1.80, yscale=1.0,]
|
||||
{\small \rmfamily CK\_t} &
|
||||
L
|
||||
N(P1)
|
||||
8{T}
|
||||
N(P2)
|
||||
2{T}
|
||||
N(P7)
|
||||
2{T}
|
||||
N(P3)
|
||||
2{T}
|
||||
N(P4)
|
||||
2{T}
|
||||
N(P6)
|
||||
2{T}
|
||||
N(P5)
|
||||
2.0{T}\\
|
||||
{\small \rmfamily CMD} &
|
||||
0.5U O 1U A 1U O 1U O 1U R 1U O 1U O 1U O 1U O 1U O 1.5U\\
|
||||
%ADR
|
||||
{\small \rmfamily STATE} &
|
||||
3D{\small \texttt{PRECHARGED}}
|
||||
14D{\small \texttt{ACTIVE}}
|
||||
4D{\small \texttt{PRECHARGED}}\\
|
||||
\extracode
|
||||
\begin{pgfonlayer}{background}
|
||||
|
||||
%\timemeasuup{P1}{P5}{-4.0}{\small $t_{RC} = t_{RAS} + t_{RP}$}
|
||||
%\timemeasuup{P3}{P6}{-2.0}{\small $t_{BURST}$}
|
||||
\timemeasure{P2}{P6}{ 5.0}{\tiny $t_{RTP}$}
|
||||
%\timemeasure{P2}{P3}{ 7.0}{\small $t_{CL}$}
|
||||
%\timemeasure{P1}{P4}{ 9.0}{\small $t_{RAS}$}
|
||||
%\timemeasure{P4}{P5}{ 9.0}{\small $t_{RP}$}
|
||||
%\timemeasure{P7}{P4}{11.0}{\small $t_{RTP}$}
|
||||
%\timemeasuup{P2}{P7}{-2.0}{\small $t_{CCD}$}
|
||||
|
||||
% Add vertical lines
|
||||
\begin{scope}[semitransparent,semithick]
|
||||
\vertlines[gray]{1.1,3.1,...,19.1}
|
||||
\end{scope}
|
||||
\end{pgfonlayer}
|
||||
\end{tikztimingtable}%
|
||||
99
img/refresh_currents.tex
Normal file
99
img/refresh_currents.tex
Normal file
@@ -0,0 +1,99 @@
|
||||
\begin{tikzpicture}
|
||||
|
||||
% Define colors
|
||||
\definecolor{idlecolor}{RGB}{255, 204, 153} % Light orange
|
||||
\definecolor{refcolor}{RGB}{153, 204, 255} % Light blue
|
||||
\definecolor{backgroundcolor}{RGB}{255, 255, 153} % Light yellow
|
||||
|
||||
\newcommand{\ya}{1}
|
||||
\newcommand{\yb}{2.6}
|
||||
\newcommand{\yc}{6}
|
||||
|
||||
\pgfdeclarelayer{background}
|
||||
\pgfsetlayers{background, main}
|
||||
% Define the axis
|
||||
\begin{axis}[
|
||||
%width=15cm, height=8cm,
|
||||
xlabel={Time},
|
||||
ylabel={Current},
|
||||
xmin=0, xmax=6,
|
||||
ymin=0, ymax=7,
|
||||
xtick=\empty,
|
||||
ytick=\empty,
|
||||
extra y ticks={\ya, \yb, \yc},
|
||||
extra y tick labels={$I_{DD2N}$, $I_{DD5A}$, $I_{DD5B}$},
|
||||
axis x line=middle,
|
||||
axis y line=middle,
|
||||
y axis line style={-Latex},
|
||||
x axis line style={-Latex},
|
||||
axis line style=thick,
|
||||
ylabel near ticks,
|
||||
xlabel near ticks,
|
||||
]
|
||||
% Shaded areas
|
||||
%% IDLE energy (orange stripes)
|
||||
%\addplot[domain=0:3.3, fill=idlecolor, pattern=north east lines, draw=none] {1.5} \closedcycle;
|
||||
\begin{pgfonlayer}{background}
|
||||
\draw[pattern=north east lines, pattern color=red!50, draw=none] (axis cs:1,\ya) rectangle (axis cs:2,\yc);
|
||||
\draw[pattern=north east lines, pattern color=red!50, draw=none] (axis cs:4,\ya) rectangle (axis cs:5,\yc);
|
||||
\draw[pattern=north east lines, pattern color=green!50, draw=none] (axis cs:0,0) rectangle (axis cs:6,1);
|
||||
\draw[pattern=north west lines, pattern color=blue!50, draw=none] (axis cs:0,\ya) rectangle (axis cs:6,\yb);
|
||||
\end{pgfonlayer}
|
||||
%\addplot[domain=3.7:7, fill=idlecolor, pattern=north east lines, draw=none] {1.5} \closedcycle;
|
||||
%\addplot[domain=7.4:10, fill=idlecolor, pattern=north east lines, draw=none] {1.5} \closedcycle;
|
||||
%% IDD5PB_B Background energy (yellow stripes)
|
||||
%\addplot[domain=0:3.3, fill=backgroundcolor, pattern=north west lines, draw=none] {2.5} \closedcycle;
|
||||
%\addplot[domain=3.7:7, fill=backgroundcolor, pattern=north west lines, draw=none] {2.5} \closedcycle;
|
||||
%\addplot[domain=7.4:10, fill=backgroundcolor, pattern=north west lines, draw=none] {2.5} \closedcycle;
|
||||
%% REFpb Foreground energy (blue stripes)
|
||||
%\addplot[domain=1:2.3, fill=refcolor, pattern=north east lines, draw=none] {4.5} \closedcycle;
|
||||
%\addplot[domain=4.7:6, fill=refcolor, pattern=north east lines, draw=none] {4.5} \closedcycle;
|
||||
%\addplot[domain=7.7:9, fill=refcolor, pattern=north east lines, draw=none] {4.5} \closedcycle;
|
||||
% Plot the current curve (in blue)
|
||||
%\addplot[domain=0:10, samples=100, thick, blue]
|
||||
% ({x}, {x < 1 || (x > 3 && x < 4.7) || x > 7.4 ? 2.5 :
|
||||
% (x >= 1 && x <= 2.3) || (x >= 4.7 && x <= 6) || (x >= 7.7 && x <= 9) ?
|
||||
% 4.5 : 1.5}) ;
|
||||
\addplot[thick] coordinates {(0,\ya) (1,\ya)};
|
||||
\addplot[thick] coordinates {(1,\ya) (1,\yc)};
|
||||
\addplot[thick] coordinates {(1,\yc) (2,\yc)};
|
||||
\addplot[thick] coordinates {(2,\yc) (2,\ya)};
|
||||
\addplot[thick] coordinates {(2,\ya) (4,\ya)};
|
||||
\addplot[thick] coordinates {(4,\ya) (4,\yc)};
|
||||
\addplot[thick] coordinates {(4,\yc) (5,\yc)};
|
||||
\addplot[thick] coordinates {(5,\yc) (5,\ya)};
|
||||
\addplot[thick] coordinates {(5,\ya) (6,\ya)};
|
||||
% Mark important points (IDD5PB, IDD5PB_B, I0, IDD2N levels)
|
||||
\addplot[dashed] coordinates {(0,\ya) (6,\ya)}; % IDD2N
|
||||
\addplot[dashed] coordinates {(0,\yb) (6,\yb)}; % IDD5PB
|
||||
\addplot[dashed] coordinates {(0,\yc) (6,\yc)}; % IDD5PB_B
|
||||
% Text Annotations
|
||||
%\node[align=left] at (axis cs:9.8,5.8) {\textbf{IDD5B}};
|
||||
%\node[align=left] at (axis cs:9.8,4.3) {\textbf{IDD5A}};
|
||||
%%\node[align=left] at (axis cs:9.8,2.3) {\textbf{I\_0}};
|
||||
%\node[align=left] at (axis cs:9.8,1.3) {\textbf{IDD2N}};
|
||||
% Labels for periods tRFCpb and tREFI8
|
||||
\draw[thick, {Latex}-{Latex}] (axis cs:1,5) -- (axis cs:2,5) node[midway,below] {$t_{RFC}$};
|
||||
%\draw[thick, {Latex}-{Latex}] (axis cs:4,5) -- (axis cs:5,5) node[midway,below] {$tRFC$};
|
||||
\draw[thick, {Latex}-{Latex}] (axis cs:1,4) -- (axis cs:4,4) node[midway,below] {$t_{REFI}$};
|
||||
%\draw[thick, <->] (axis cs:1,0.5) -- (axis cs:2.3,0.5) node[midway,below] {$tRFC_{pb}$};
|
||||
%\draw[thick, <->] (axis cs:0,0.5) -- (axis cs:3.3,0.5) node[midway,below] {$tREFI8$};
|
||||
%\draw[thick, <->] (axis cs:4.7,0.5) -- (axis cs:6,0.5) node[midway,below] {$tRFC_{pb}$};
|
||||
%\draw[thick, <->] (axis cs:3.7,0.5) -- (axis cs:7,0.5) node[midway,below] {$tREFI8$};
|
||||
%\draw[thick, <->] (axis cs:7.7,0.5) -- (axis cs:9,0.5) node[midway,below] {$tRFC_{pb}$};
|
||||
%\draw[thick, <->] (axis cs:7.4,0.5) -- (axis cs:10,0.5) node[midway,below] {$tREFI8$};
|
||||
\end{axis}
|
||||
% Legend
|
||||
\begin{scope}
|
||||
\node[draw, pattern=north east lines, pattern color=green!50] at (0.0,-1) {~};
|
||||
\node[anchor=west] at (0.2,-1) {Background Energy};
|
||||
\node[draw,pattern=north east lines, pattern color=red!50] at (3.8,-1) {~};
|
||||
\node[anchor=west] at (4.0,-1) {Burst Refresh Energy};
|
||||
\node[draw,pattern=north west lines, pattern color=blue!50] at (0.0,-1.5) {~};
|
||||
\node[anchor=west] at (0.2,-1.5) {Average Refresh Energy};
|
||||
\end{scope}
|
||||
%\draw[pattern=north east lines, pattern color=red!50, draw=none] (axis cs:1,1) rectangle (axis cs:2,6);
|
||||
%\draw[pattern=north east lines, pattern color=red!50, draw=none] (axis cs:4,1) rectangle (axis cs:5,6);
|
||||
%\draw[pattern=north east lines, pattern color=green!50, draw=none] (axis cs:0,0) rectangle (axis cs:6,1);
|
||||
%
|
||||
\end{tikzpicture}%
|
||||
26
img/switching_signals.tex
Normal file
26
img/switching_signals.tex
Normal file
@@ -0,0 +1,26 @@
|
||||
\begin{tikztimingtable} [timing/d/background/.style={fill=white},
|
||||
timing/lslope=0.2, xscale=1.80, yscale=1.0,]
|
||||
{\small \rmfamily CK\_t} &
|
||||
L H L H L H L H L H L H L H L H L\\
|
||||
{\small \rmfamily S1} &
|
||||
0.5L H H L L H H L L H H L L H H L L 0.5H\\
|
||||
{\small \rmfamily S2} &
|
||||
0.5L H L H L H L H H H H H L L L L L 0.5H\\
|
||||
\extracode
|
||||
\begin{pgfonlayer}{background}
|
||||
|
||||
%\timemeasuup{P1}{P5}{-4.0}{\small $t_{RC} = t_{RAS} + t_{RP}$}
|
||||
%\timemeasuup{P3}{P6}{-2.0}{\small $t_{BURST}$}
|
||||
%\timemeasure{P2}{P6}{ 5.0}{\tiny $t_{RTP}$}
|
||||
%\timemeasure{P2}{P3}{ 7.0}{\small $t_{CL}$}
|
||||
%\timemeasure{P1}{P4}{ 9.0}{\small $t_{RAS}$}
|
||||
%\timemeasure{P4}{P5}{ 9.0}{\small $t_{RP}$}
|
||||
%\timemeasure{P7}{P4}{11.0}{\small $t_{RTP}$}
|
||||
%\timemeasuup{P2}{P7}{-2.0}{\small $t_{CCD}$}
|
||||
|
||||
% Add vertical lines
|
||||
\begin{scope}[semitransparent,semithick]
|
||||
\vertlines[gray]{1.1,2.1,...,16.1}
|
||||
\end{scope}
|
||||
\end{pgfonlayer}
|
||||
\end{tikztimingtable}%
|
||||
Reference in New Issue
Block a user