From c37690f3087fb38f0cd8959dcc65dbad6c75f74c Mon Sep 17 00:00:00 2001 From: Albert Magyar Date: Mon, 2 Mar 2020 13:55:19 -0800 Subject: Update single-line when/else example in spec to match implementation (#1414) * Closes #890--- spec/spec.pdf | Bin 275480 -> 275420 bytes spec/spec.tex | 3 +-- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/spec.pdf b/spec/spec.pdf index b60c3cb7..5b967bbe 100644 Binary files a/spec/spec.pdf and b/spec/spec.pdf differ diff --git a/spec/spec.tex b/spec/spec.tex index 9aa1e6b4..70b073c3 100644 --- a/spec/spec.tex +++ b/spec/spec.tex @@ -1743,12 +1743,11 @@ The following statement: when c : a <= b else : - c <= d e <= f \end{lstlisting} can be equivalently expressed on a single line as follows. \begin{lstlisting} -when c : (a <= b) else : (c <= d, e <= f) +when c : a <= b else : e <= f \end{lstlisting} All circuits, modules, ports and statements can optionally be followed with the info token \verb|@[fileinfo]| where fileinfo is a string containing the source file information from where it was generated. -- cgit v1.2.3