mirror of https://github.com/YosysHQ/yosys.git
Fixed creation of command reference in manual
This commit is contained in:
parent
e0ff4d1152
commit
a779a09771
|
@ -282,6 +282,14 @@ Update the CHANGELOG file:
|
||||||
vi CHANGELOG
|
vi CHANGELOG
|
||||||
|
|
||||||
|
|
||||||
|
Update command reference in manual:
|
||||||
|
|
||||||
|
cd ~yosys
|
||||||
|
make
|
||||||
|
cd manual
|
||||||
|
../yosys -p 'help -write-tex-command-reference-manual'
|
||||||
|
|
||||||
|
|
||||||
Run all tests with "make config-{clang,gcc,gcc-4.6}":
|
Run all tests with "make config-{clang,gcc,gcc-4.6}":
|
||||||
|
|
||||||
cd ~yosys
|
cd ~yosys
|
||||||
|
|
|
@ -545,11 +545,10 @@ struct HelpPass : public Pass {
|
||||||
}
|
}
|
||||||
void escape_tex(std::string &tex)
|
void escape_tex(std::string &tex)
|
||||||
{
|
{
|
||||||
size_t pos = 0;
|
for (size_t pos = 0; (pos = tex.find('_', pos)) != std::string::npos; pos += 2)
|
||||||
while ((pos = tex.find('_', pos)) != std::string::npos) {
|
|
||||||
tex.replace(pos, 1, "\\_");
|
tex.replace(pos, 1, "\\_");
|
||||||
pos += 2;
|
for (size_t pos = 0; (pos = tex.find('$', pos)) != std::string::npos; pos += 2)
|
||||||
}
|
tex.replace(pos, 1, "\\$");
|
||||||
}
|
}
|
||||||
void write_tex(FILE *f, std::string cmd, std::string title, std::string text)
|
void write_tex(FILE *f, std::string cmd, std::string title, std::string text)
|
||||||
{
|
{
|
||||||
|
|
|
@ -346,7 +346,7 @@ evaluated in the other design.
|
||||||
Copy modules from the current design into the soecified one.
|
Copy modules from the current design into the soecified one.
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
\section{dff2dffe -- transform $dff cells to $dffe cells}
|
\section{dff2dffe -- transform \$dff cells to \$dffe cells}
|
||||||
\label{cmd:dff2dffe}
|
\label{cmd:dff2dffe}
|
||||||
\begin{lstlisting}[numbers=left,frame=single]
|
\begin{lstlisting}[numbers=left,frame=single]
|
||||||
dff2dffe [selection]
|
dff2dffe [selection]
|
||||||
|
@ -420,7 +420,7 @@ Print all commands to log before executing them.
|
||||||
Do not print all commands to log before executing them. (default)
|
Do not print all commands to log before executing them. (default)
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
\section{equiv\_add -- add a $equiv cell}
|
\section{equiv\_add -- add a \$equiv cell}
|
||||||
\label{cmd:equiv_add}
|
\label{cmd:equiv_add}
|
||||||
\begin{lstlisting}[numbers=left,frame=single]
|
\begin{lstlisting}[numbers=left,frame=single]
|
||||||
equiv_add gold_sig gate_sig
|
equiv_add gold_sig gate_sig
|
||||||
|
@ -428,7 +428,7 @@ Do not print all commands to log before executing them. (default)
|
||||||
This command adds an $equiv cell for the specified signals.
|
This command adds an $equiv cell for the specified signals.
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
\section{equiv\_induct -- proving $equiv cells using temporal induction}
|
\section{equiv\_induct -- proving \$equiv cells using temporal induction}
|
||||||
\label{cmd:equiv_induct}
|
\label{cmd:equiv_induct}
|
||||||
\begin{lstlisting}[numbers=left,frame=single]
|
\begin{lstlisting}[numbers=left,frame=single]
|
||||||
equiv_induct [options] [selection]
|
equiv_induct [options] [selection]
|
||||||
|
@ -501,7 +501,7 @@ This creates a miter module for further analysis of the selected $equiv cells.
|
||||||
Create compare logic that handles undefs correctly
|
Create compare logic that handles undefs correctly
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
\section{equiv\_remove -- remove $equiv cells}
|
\section{equiv\_remove -- remove \$equiv cells}
|
||||||
\label{cmd:equiv_remove}
|
\label{cmd:equiv_remove}
|
||||||
\begin{lstlisting}[numbers=left,frame=single]
|
\begin{lstlisting}[numbers=left,frame=single]
|
||||||
equiv_remove [options] [selection]
|
equiv_remove [options] [selection]
|
||||||
|
@ -516,7 +516,7 @@ used then only proven cells are removed.
|
||||||
keep gate circuit
|
keep gate circuit
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
\section{equiv\_simple -- try proving simple $equiv instances}
|
\section{equiv\_simple -- try proving simple \$equiv instances}
|
||||||
\label{cmd:equiv_simple}
|
\label{cmd:equiv_simple}
|
||||||
\begin{lstlisting}[numbers=left,frame=single]
|
\begin{lstlisting}[numbers=left,frame=single]
|
||||||
equiv_simple [options] [selection]
|
equiv_simple [options] [selection]
|
||||||
|
|
Loading…
Reference in New Issue