Commentary

This commit is contained in:
Wilson Snyder 2025-05-11 22:36:16 -04:00
parent aee5051526
commit 8100bc64a0
3 changed files with 35 additions and 31 deletions

View File

@ -390,8 +390,8 @@ detailed descriptions of these arguments.
--no-json-edit-nums Don't dump editNum in .tree.json files --no-json-edit-nums Don't dump editNum in .tree.json files
--no-json-ids Don't use short identifiers instead of adresses/paths in .tree.json --no-json-ids Don't use short identifiers instead of adresses/paths in .tree.json
--json-only Create JSON parser output (.tree.json and .meta.json) --json-only Create JSON parser output (.tree.json and .meta.json)
--json-only-meta-output .tree.meta.json output filename --json-only-meta-output <filename> Set .tree.meta.json output filename
--json-only-output .tree.json output filename --json-only-output <filename> Set .tree.json output filename
--l2-name <value> Verilog scope name of the top module --l2-name <value> Verilog scope name of the top module
--language <lang> Default language standard to parse --language <lang> Default language standard to parse
-LDFLAGS <flags> Linker pre-object arguments for makefile -LDFLAGS <flags> Linker pre-object arguments for makefile
@ -448,7 +448,7 @@ detailed descriptions of these arguments.
--quiet-exit Don't print the command on failure --quiet-exit Don't print the command on failure
--quiet-stats Don't print statistics --quiet-stats Don't print statistics
--relative-includes Resolve includes relative to current file --relative-includes Resolve includes relative to current file
--reloop-limit Minimum iterations for forming loops --reloop-limit <value> Minimum iterations for forming loops
--report-unoptflat Extra diagnostics for UNOPTFLAT --report-unoptflat Extra diagnostics for UNOPTFLAT
--rr Run Verilator and record with rr --rr Run Verilator and record with rr
--runtime-debug Enable model runtime debugging --runtime-debug Enable model runtime debugging

View File

@ -446,9 +446,9 @@ Summary:
.. option:: --dump-tree-dot .. option:: --dump-tree-dot
Rarely needed. Enable dumping Ast .tree.dot debug files in Graphviz Rarely needed - for developer use. Enable dumping Ast .tree.dot debug
Dot format. This option implies :vlopt:`--dump-tree`, unless files in Graphviz Dot format. This option implies :vlopt:`--dump-tree`,
:vlopt:`--dumpi-tree` was passed explicitly. unless :vlopt:`--dumpi-tree` was passed explicitly.
.. option:: --dump-tree-json .. option:: --dump-tree-json
@ -568,9 +568,9 @@ Summary:
.. option:: -fno-const-before-dfg .. option:: -fno-const-before-dfg
Do not apply any global expression folding prior to the DFG pass. This Rarely needed. Do not apply any global expression folding prior to the
option is solely for the purpose of DFG testing and should not be used DFG pass. This option is solely for the purpose of DFG testing and
otherwise. should not be used otherwise.
.. option:: -fno-const-bit-op-tree .. option:: -fno-const-bit-op-tree
@ -578,24 +578,25 @@ Summary:
.. option:: -fno-dfg .. option:: -fno-dfg
Disable all use of the DFG-based combinational logic optimizer. Rarely needed. Disable all use of the DFG-based combinational logic
Alias for :vlopt:`-fno-dfg-pre-inline` and :vlopt:`-fno-dfg-post-inline`. optimizer. Alias for :vlopt:`-fno-dfg-pre-inline` and
:vlopt:`-fno-dfg-post-inline`.
.. option:: -fno-dfg-peephole .. option:: -fno-dfg-peephole
Disable the DFG peephole optimizer. Rarely needed. Disable the DFG peephole optimizer.
.. option:: -fno-dfg-peephole-<pattern> .. option:: -fno-dfg-peephole-<pattern>
Disable individual DFG peephole optimizer pattern. Rarely needed. Disable individual DFG peephole optimizer pattern.
.. option:: -fno-dfg-post-inline .. option:: -fno-dfg-post-inline
Do not apply the DFG optimizer after inlining. Rarely needed. Do not apply the DFG optimizer after inlining.
.. option:: -fno-dfg-pre-inline .. option:: -fno-dfg-pre-inline
Do not apply the DFG optimizer before inlining. Rarely needed. Do not apply the DFG optimizer before inlining.
.. option:: -fno-expand .. option:: -fno-expand
@ -647,8 +648,9 @@ Summary:
.. option:: -fno-var-split .. option:: -fno-var-split
Do not attempt to split variables automatically. Variables explicitly Rarely needed. Do not attempt to split variables
annotated with :option:`/*verilator&32;split_var*/` are still split. automatically. Variables explicitly annotated with
:option:`/*verilator&32;split_var*/` are still split.
.. option:: -future0 <option> .. option:: -future0 <option>
@ -754,10 +756,10 @@ Summary:
.. option:: --hierarchical-params-file <filename> .. option:: --hierarchical-params-file <filename>
Internal flag inserted used during :vlopt:`--hierarchical`; specifies Rarely needed - internal use. Internal flag inserted used during
name of hierarchical parameters file for deparametrized modules with :vlopt:`--hierarchical`; specifies name of hierarchical parameters file
:option:`/*verilator&32;hier_block*/` metacomment. See for deparametrized modules with :option:`/*verilator&32;hier_block*/`
:ref:`Hierarchical Verilation`. metacomment. See :ref:`Hierarchical Verilation`.
.. option:: -I<dir> .. option:: -I<dir>
@ -828,13 +830,15 @@ Summary:
.. option:: --json-only-meta-output <filename> .. option:: --json-only-meta-output <filename>
Specifies the filename for the metadata output file (`.tree.meta.json`) of --json-only. Specifies the filename for the metadata output file (`.tree.meta.json`)
Using this option automatically sets :vlopt:`--json-only`. of :vlopt:`--json-only`. Using this option automatically sets
:vlopt:`--json-only`.
.. option:: --json-only-output <filename> .. option:: --json-only-output <filename>
Specifies the filename for the main output file (`.tree.json`) of --json-only. Specifies the filename for the main output file (`.tree.json`) of
Using this option automatically sets :vlopt:`--json-only`. :vlopt:`--json-only`. Using this option automatically sets
:vlopt:`--json-only`.
.. option:: --l2-name <value> .. option:: --l2-name <value>
@ -960,7 +964,7 @@ Summary:
.. option:: --max-num-width <value> .. option:: --max-num-width <value>
Set the maximum number literal width (e.g., in 1024'd22 this Set the maximum number literal width (e.g., in 1024'd22 the
1024). Defaults to 64K. 1024). Defaults to 64K.
.. option:: --Mdir <directory> .. option:: --Mdir <directory>
@ -1188,8 +1192,8 @@ Summary:
.. option:: --private .. option:: --private
Opposite of :vlopt:`--public`. This is the default; this option exists for Rarely needed. Opposite of :vlopt:`--public`. This is the default; this
backwards compatibility. option exists for backwards compatibility.
.. option:: --prof-c .. option:: --prof-c
@ -1344,7 +1348,7 @@ Summary:
the path of the referencing file, instead of relative to the current the path of the referencing file, instead of relative to the current
directory. directory.
.. option:: --reloop-limit .. option:: --reloop-limit <value>
Rarely needed. Verilator attempts to turn some common sequences of Rarely needed. Verilator attempts to turn some common sequences of
statements into loops in the output. This argument specifies the minimum statements into loops in the output. This argument specifies the minimum

View File

@ -112,12 +112,12 @@ In specific debug and other modes, it also creates:
.. list-table:: .. list-table::
* - *{prefix}*\ .xml
- XML tree information (from --xml)
* - *{prefix}*\ .tree.json * - *{prefix}*\ .tree.json
- JSON tree information (from --json-only) - JSON tree information (from --json-only)
* - *{prefix}*\ .tree.meta.json * - *{prefix}*\ .tree.meta.json
- JSON tree metadata (from --json-only) - JSON tree metadata (from --json-only)
* - *{prefix}*\ .xml
- XML tree information (from --xml)
* - *{prefix}*\ __cdc.txt * - *{prefix}*\ __cdc.txt
- Clock Domain Crossing checks (from --cdc) - Clock Domain Crossing checks (from --cdc)
* - *{prefix}*\ __stats.txt * - *{prefix}*\ __stats.txt