This example shows how to make a timing diagram with the tikz-timing package. This timing diagram was used by the package author in a recent work and shows several clock and pulse signals. The relationship between the clock and signal edges is shown using horizontal lines.
Timing diagrams like this can be done using the tikztimingtable environment which has the same syntax as a tabular environment with two columns. The first column holds the signal name, the second one the timing characters. See the package manual for detailed information about them.

Edit and compile if you like:
% Timing Diagram using the 'tikz-timing' package (v0.5 - 2009/05/15).%% (c) Copyright 2009 - Martin Scharrer%% This code is open source under the GPLv3 and/or the LPPL v1.3 (or later).% Please feel free to use, change and copy it for your own benefit.%\documentclass{article}\usepackage{tikz-timing}[2009/05/15]\usepackage[active,tightpage]{preview}\PreviewEnvironment{tikzpicture}\setlength\PreviewBorder{5pt}%\pagestyle{empty}\def\degr{${}^\circ$}\newif\ifcomment% Activate the following line to compile document with comments:%\commenttrue\begin{document}\ifcomment\newcommand{\qv}[1]{`\texttt{#1}'}\title{TikZ-Timing Example}\author{Martin Scharrer\\martin@scharrer-online.de}\maketitle\section{Step-By-Step Guide}\subsection{Intro}This example shows how to make a timing diagram with the \texttt{tikz-timing}package. This timing diagram was used by the package author in a recent work andshows several clock and pulse signals. The relationship between the clock andsignal edges is shown using horizontal lines.Timing diagrams like this can be done using the \texttt{tikztimingtable}
Click to download: tikz-timing.tex • tikz-timing.pdf
Open in Overleaf: tikz-timing.tex