mirror of https://github.com/YosysHQ/yosys.git
Fixed some missing "verilog_" in documentation
This commit is contained in:
parent
9ab1feeaf1
commit
e9dc2759c4
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* Ad-hoc implementation of a Verilog preprocessor. The directives `define,
|
* Ad-hoc implementation of a Verilog preprocessor. The directives `define,
|
||||||
* `include, `ifdef, `ifndef, `else and `endif are handled here. All other
|
* `include, `ifdef, `ifndef, `else and `endif are handled here. All other
|
||||||
* directives are handled by the lexer (see lexer.l).
|
* directives are handled by the lexer (see verilog_lexer.l).
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* A simple lexer for Verilog code. Non-preprocessor compiler directives are
|
* A simple lexer for Verilog code. Non-preprocessor compiler directives are
|
||||||
* handled here. The preprocessor stuff is handled in preproc.cc. Everything
|
* handled here. The preprocessor stuff is handled in preproc.cc. Everything
|
||||||
* else is left to the bison parser (see parser.y).
|
* else is left to the bison parser (see verilog_parser.y).
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ frontends/verilog/preproc.cc} in the Yosys source tree.
|
||||||
|
|
||||||
\begin{sloppypar}
|
\begin{sloppypar}
|
||||||
The Verilog Lexer is written using the lexer generator {\it flex} \citeweblink{flex}. Its source code
|
The Verilog Lexer is written using the lexer generator {\it flex} \citeweblink{flex}. Its source code
|
||||||
can be found in {\tt frontends/verilog/lexer.l} in the Yosys source tree.
|
can be found in {\tt frontends/verilog/verilog\_lexer.l} in the Yosys source tree.
|
||||||
The lexer does little more than identifying all keywords and literals
|
The lexer does little more than identifying all keywords and literals
|
||||||
recognised by the Yosys Verilog frontend.
|
recognised by the Yosys Verilog frontend.
|
||||||
\end{sloppypar}
|
\end{sloppypar}
|
||||||
|
@ -115,7 +115,7 @@ whenever possible.)
|
||||||
\subsection{The Verilog Parser}
|
\subsection{The Verilog Parser}
|
||||||
|
|
||||||
The Verilog Parser is written using the parser generator {\it bison} \citeweblink{bison}. Its source code
|
The Verilog Parser is written using the parser generator {\it bison} \citeweblink{bison}. Its source code
|
||||||
can be found in {\tt frontends/verilog/parser.y} in the Yosys source tree.
|
can be found in {\tt frontends/verilog/verilog\_parser.y} in the Yosys source tree.
|
||||||
|
|
||||||
It generates an AST using the \lstinline[language=C++]{AST::AstNode} data structure
|
It generates an AST using the \lstinline[language=C++]{AST::AstNode} data structure
|
||||||
defined in {\tt frontends/ast/ast.h}. An \lstinline[language=C++]{AST::AstNode} object has
|
defined in {\tt frontends/ast/ast.h}. An \lstinline[language=C++]{AST::AstNode} object has
|
||||||
|
|
Loading…
Reference in New Issue