Skip to content

Commit

Permalink
Clarify previous parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Jul 1, 2022
1 parent 2e520c5 commit 3cc5f79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/synchronous.tex
Expand Up @@ -534,14 +534,14 @@ \section{Clocked State Variables}\label{clocked-state-variables}
\end{tabular}
\end{center}

A variable to which \lstinline!previous! has been applied is called a \firstuse[clocked!state variable]{clocked state variable}\index{state variable!clocked}.
A variable (i.e. not parameter) to which \lstinline!previous! has been applied is called a \firstuse[clocked!state variable]{clocked state variable}\index{state variable!clocked}.

\begin{operatordefinition}[previous]
\begin{synopsis}\begin{lstlisting}
previous($u$)
\end{lstlisting}\end{synopsis}
\begin{semantics}
The input argument $u$ is a component expression (\cref{def:component-expression}) or a parameter expression.
The input argument $u$ is a component expression (\cref{def:component-expression}), that variable is then a clocked state variable, or a parameter expression.
The return argument has the same type as the input argument.
Input and return arguments are on the same clock.
At the first tick of the clock of $u$ or after a reset transition (see \cref{reset-handling}), the start value of $u$ is returned, see \cref{initialization-of-clocked-partitions}.
Expand Down

0 comments on commit 3cc5f79

Please sign in to comment.