I'm trying to recreate the timing diagrams for AHB-lite and APB, but I'm having some issues recreating the "Transient" and "HIGH/LOW to HIGH" timing characters.
Goal
Current Solution
Code
\documentclass{scrartcl}
\usepackage{tikz}
\usepackage{tikz-timing}
\usetikztiminglibrary{either}
\newcommand{\timingaxis}[1][]{%
\begin{scope}[#1]
\draw [timing/table/axis] (0,+1) -- (\twidth+1,+1);
\foreach \n in {0,1,...,\twidth} {
\draw [timing/table/axis ticks]
(\n,+1) -- +(0,-.2)
node [below,inner sep=2pt] {\scalebox{.75}{\tiny\n}};
}
\draw [timing/table/axis] (0,-\rowdist\nrows+1.5\rowdist) -- (\twidth+1,-\rowdist\nrows+1.5\rowdist);
\foreach \n in {0,1,...,\twidth} {
\draw [timing/table/axis ticks]
(\n,-\rowdist\nrows+1.5\rowdist) -- +(0,-.2)
node [below,inner sep=2pt] {\scalebox{.75}{\tiny\n}};
}
\end{scope}
}
\tikzset{%
timing/table/axis/.style={->,>=latex},
timing/table/axis ticks/.style={},
}
\begin{document}
% Defining foreground (fg) and background (bg) colors
\definecolor{bgblue}{rgb}{0.41961,0.80784,0.80784}%
\definecolor{bgred}{rgb}{1,0.61569,0.61569}%
\definecolor{fgblue}{rgb}{0,0,0.6}%
\definecolor{fgred}{rgb}{0.6,0,0}%
\begin{figure}
\centering
\begin{tikztimingtable}[
timing/coldist=4pt, % column distance
xscale=2.05,yscale=1.1, % scale diagrams
semithick % set line width
]
\
HCLK & 4H 3{4C} [[timing/slope=0]] H\
\
HADDR[31:0] & 0.2D 0.4U {7.6D{A}} 0.4U {7.6D{B}} 0.4U 0.4D \
HWRITE & 0.4H 0.4e 7.7L 0.2E0H 7.7E 0.4U 0.4D \
HDATA[31:0] & 0.2D 0.4U 7.6D 5U {3D{Data (A)}} 0.4U 0.4D \
HREADY & 0.4H [| timing/e/background/ ={ fill=gray } |]0.2e 7.8H 0.2e 8H 0.2E0H 0.4E \
\
\begin{extracode}
\begin{pgfonlayer}{background}
\begin{scope}[semitransparent,semithick, loosely dotted]
\vertlines[red]{0,2,4,...,16}
\vertlines[blue]{1,3,5,...,16}
\end{scope}
\end{pgfonlayer}
\timingaxis\relax
\tablerules
% \begin{pgfonlayer}{background}
% \foreach \n in {1,...,8}
% \draw [help lines] (A\n) -- (B\n);
% \end{pgfonlayer}
\end{extracode}
\end{tikztimingtable}
\caption{AHB-Lite Read transfer}
\label{fig:ahbl1}
\end{figure}
\end{document}






But don't worry, since 